The procedure relies on the following assumptions:
Your cluster is operating.
The Network Appliance 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.
This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix A, Sun Cluster Object-Oriented Commands, in Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS.
To perform this procedure, become superuser or assume a role that provides solaris.cluster.read and solaris.cluster.modify RBAC authorization.
From any cluster node, add the directories.
If you are using Sun Cluster 3.2, use the following command:
# clnasdevice add-dir -d /export/dir1,/export/dir2 myfiler |
Enter the directory or directories that you are adding.
Enter the name of the NAS device containing the directories.
For more information about the clnasdevice command, see the clnasdevice(1CL) man page.
If you are using Sun Cluster 3.1, use the following command:
# scnasdir -a -h myfiler -d /vol/DB1 -d /vol/DB2 |
Add the directory or directories to cluster configuration.
Enter the name of the NAS device whose directories you are adding.
Enter 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.
Confirm that the directories have been added.
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 Network Appliance 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 Network Appliance NAS device for Oracle Real Application Clusters database files, set the following mount options:
forcedirectio
noac
proto=tcp
When mounting Network Appliance 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.