The procedure relies on the following assumptions:
Your cluster is operational.
The NAS device is properly configured and the directories the cluster will use have been exported.
See Requirements, Recommendations, and Restrictions for Network Appliance NAS Devices for the details about required device configuration.
You have added the device to the cluster by performing the steps in How to Install a Network Appliance NAS Device in a Cluster.
From any cluster node, add the directories by using the scnasdir command.
# scnasdir -a -h myfiler -d /vol/DB1 -d /vol/DB2 |
Add the directory or directories to cluster configuration.
Is the name of the NAS device whose directories you are adding.
Is the directory to add. Use this option once for each directory you are adding. This value must match the name of one of the directories exported by the NAS device.
For more information about the scnasdir command, see the scnasdir(1M) man page.
Confirm that the directories have been added.
# scnasdir -p |
If you do not use the automounter, mount the directories by performing the following steps:
On each node in the cluster, create a mount-point directory for each NAS directory that you added.
# mkdir -p /path-to-mountpoint |
Name of the directory on which to mount the directory
On each node in the cluster, add an entry to the /etc/vfstab file for the mount point.
If you are using your NAS device for Oracle Real Application Clusters database files, set the following mount options:
forcedirectio
noac
proto=tcp
When mounting NAS directories, select the mount options appropriate to your cluster applications. Mount the directories on each node that will access the directories. Sun Cluster places no additional restrictions or requirements on the options that you use.