Sun Cluster 3.1 - 3.2 With Network-Attached Storage Devices Manual for Solaris OS

Installing a Network Appliance NAS Device in a Sun Cluster Environment

ProcedureHow to Install a Network Appliance NAS Device in a Cluster

Before You Begin

This procedure relies on the following assumptions:

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.

  1. 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.

  2. 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.

  3. 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
  4. 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
  5. 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.

  6. 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.

    1. 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
        -t netapp

        Enter netapp as the type of device you are adding.

        -p userid=root

        Enter the HTTP administrator login for the NAS device.

        myfiler

        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
        -a

        Add the device to cluster configuration.

        -h myfiler

        Enter the name of the NAS device you are adding.

        -o userid=root

        Enter the HTTP administrator login for the NAS device.

    2. At the prompt, type the HTTP administrator password.

    3. 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
        
  7. 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.

  8. (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.