This procedure relies on the following assumptions:
Your cluster nodes have the operating system and Sun Cluster software installed.
You have the HTTP administrator login and password for the Network Appliance NAS device.
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 (role-based access control) authorization.
Set up the Network Appliance NAS device.
You can set up the device at any point in your cluster installation. Follow the instructions in your device's documentation. See Related Third-Party Web Site References for a list of related device documentation.
When setting up your Network Appliance NAS device, follow the standards that are described in Requirements, Recommendations, and Restrictions for Network Appliance NAS Devices.
Install the NAS-support software package NTAPclnas on each node in the cluster.
Perform this step after you have installed the Solaris OS and the Sun Cluster software.
If this is the first Network Appliance NAS device in your cluster, or if you need to upgrade the NAS-support software package, perform this step. See Related Third-Party Web Site References for instructions about downloading and installing this software.
On each cluster node, add the Network Appliance NAS device name to the /etc/inet/hosts file.
Add a hostname-to-address mapping for the device in the /etc/inet/hosts file on all cluster nodes. For example:
netapp-123 192.168.11.123 |
On each cluster node, add the device netmasks to the /etc/inet/netmasks file.
Add an entry to the /etc/inet/netmasks file for the subnet the filer is on. For example:
192.168.11.0 255.255.255.0 |
Verify that the hosts and netmasks entries in /etc/nsswitch.conf file on all cluster nodes have files appearing before nis and dns. If they are not, edit the corresponding line in /etc/nsswitch.conf by moving files before nis and dns.
Configure Sun Cluster fencing support for the Network Appliance NAS device. If you skip this step, Sun Cluster will not provide fencing support for the Network Appliance NAS device.
From any cluster node, add the device.
If you are using Sun Cluster 3.2, use the following command:
# clnasdevice add -t netapp -p userid=root myfiler Please enter password |
Enter netapp as the type of device you are adding.
Enter the HTTP administrator login for the NAS device.
Enter the name of the NAS device you are adding.
If you are using Sun Cluster 3.1, use the following command:
# scnas -a -h myfiler -t netapp -o userid=root Please enter password |
Add the device to cluster configuration.
Enter the name of the NAS device you are adding.
Enter the HTTP administrator login for the NAS device.
At the prompt, type the HTTP administrator password.
Confirm that the device has been added to the cluster.
If you are using Sun Cluster 3.2, use the following command:
# clnasdevice list |
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:
# scnas -p |
Add the Network Appliance NAS directories to the cluster when the NAS device has been configured to support fencing.
Follow the directions in How to Add Network Appliance NAS Directories to a Cluster.
(Optional) Configure a LUN on the NAS device as a quorum device.
See How to Add a Network Appliance Network-Attached Storage (NAS) Quorum Device in Sun Cluster System Administration Guide for Solaris OS for instructions for configuring a Network Appliance NAS quorum device.