When the dafs setup command starts the DAFS service, it attaches the DAFS service to configured VI NICs. You can also add newly configured VI NICs or remove VI NICs while the DAFS service is running.
To attach and detach VI NICs for the DAFS services, you use the dafs attach and dafs detach commands. The command syntax and functions are as follows:
Attaching a device needs to be done only once. The DAFS service remembers which NICs are attached and automatically attaches itself to the same set of NICs on the next system reboot or dafs start command. An attached NIC can be in an inactive state. This typically applies to CFO partner devices that are attached but remain inactive until a CFO takeover occurs.
You can also add newly configured VI NICs or remove VI NICs while the DAFS service is running with the dafs attach or dafs detach commands.
For more information, see the man page na_dafs(1).
To attach the DAFS service to a specific VI NIC, complete the following step.
| 1 | At the filer command line, enter the following command: dafs attach vinic [-d physical_device] vinic specifies the logical interface name of the VI NIC to be attached to the DAFS service. -d physical_device specifies the physical device name of the VI NIC. This name depends upon the specific hardware installed in your filer. The logical vinic interface name and the physical device name can be the same. If the physical device name is not specified, then by default the physical device name is the same as the logical vinic interface name. -l listen_address is the VI net address and discriminator where the DAFS server listens for requests. This is an advanced option and NetApp suggests that you use the defaults for this option. See Default options for the dafs attach command. -p indicates that the VI NIC is attached as a partner interface for cluster failover (CFO). ResultThe DAFS service is attached to the specified VI NIC. Example:filer> dafs attach e4 filer> In this example, the local interface e4 is attached to the DAFS service. The logical name e4 is the same as the physical device name and it is unnecessary to specify the -d option. Example for failover VI NIC as a partner interfacefiler> dafs attach pe4 -d e4 -p filer> In this example, the CFO partner interface pe4 is attached to the DAFS service. The logical name of the CFO partner VI NIC is pe4, and the physical device is e4. The -p option causes pe4 to be attached as a CFO partner interface. |
|
The following defaults are applied if you do not specify options for the dafs attach command:
To detach the DAFS service from a specific VI NIC, complete the following step.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00323
File: dafs6.htm
Last updated: 01/15/03 15:46:01