The dafs setup command configures DAFS settings and starts the DAFS service. You can reconfigure DAFS settings at any time by running the dafs setup command.
The dafs setup command prompts you to configure the following settings:
If the DAFS service is already running and you want to change existing settings with the dafs setup command, the following commands are helpful in displaying the current DAFS service settings and states:
To configure DAFS on your filer, complete the following steps.
| 1 | Enter the following command to check if the DAFS service is running. dafs status -n ResultThe filer console displays the status of the DAFS service and a list of VI NICs and their current states. |
|
| 2 | ||
On the filer console, enter the following command: dafs stop ResultThe DAFS service stops. Proceed to Step 3. |
||
|
Proceed to Step 3. |
||
| 3 | On the filer command line, enter the following command: dafs setup Note |
|
| 4 | Respond to the dafs setup command prompts using the information for your configuration. ExampleThe following lines show example dafs setup command prompts: filer> dafs setup Configure DAFS access to the filer. Configure network devices to use with DAFS. Enter a network device for DAFS, or 'q' when done: [q] e4 Adding e4... Enter a network device for DAFS, or 'q' when done: [q] q Configured DAFS attached devices. Configure cluster partner network devices to use with DAFS. Partner network devices are used during cluster failover to maintain DAFS service. They may be the same as the primary DAFS device(s) or a dedicated subset of available devices. Enter a partner network device for DAFS, or 'q' when done: [q] q Configured DAFS attached partner devices. Configure DAFS exports. Do you want to export all filer volumes through DAFS: [n] n Enter a filer volume/path to export, or 'q' when done: [q] /vol/vol1 Enter a filer volume/path to export, or 'q' when done: [q] q Do you want privileged clients to require authentication: [y] y Enter idle timeout for sessions, or 0 to disable timeout: [7200] 7200 Enabling DAFS services... Fri Nov 1 14:46:39 GMT [filer: dafs.server.startOk:info]: DAFS service started Fri Nov 1 14:46:39 GMT [filer: dafs.server.attachNic:info]: DAFS service attaching e4 You are changing option dafs.auth_none.enable which applies to both members of the cluster in takeover mode. This value must be the same in both cluster members prior to any takeover or giveback, or that next takeover/giveback may not work correctly Fri Nov 1 14:46:39 GMT [filer: reg.options.cf.change:warning]: Option dafs.au filer> ResultThe dafs setup command enables and starts the DAFS service and attaches VI NICs to the service. The value of options dafs.enable is set to on. No reboot is required. |
|
| 5 | After you complete dafs setup and the DAFS service is enabled, verify that DAFS service is running and all known VI NICs are attached by entering the following command on the filer console: dafs status -n ResultThe display shows the state of the DAFS service and a list of all VI NICs that use the DAFS service and their current states. Examplefiler> dafs status -n DAFS service is started NIC: e4 Device: e4 State: ATTACHED NIC: p_e4 Device: e4 State: INACTIVE PARTNER NIC: e5 Device: e5 State: ATTACHED In these examples, the dafs setup command created the partner network interface p_e4 for cluster failover. The partner devices are attached, but remain in the inactive partner state until a takeover occurs. |
|
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00323
File: dafs4.htm
Last updated: 01/15/03 15:46:01