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

ProcedureHow to Add Network Appliance NAS Directories to a Cluster

Before You Begin

The procedure relies on the following assumptions:

  1. From any cluster node, add the directories by using the scnasdir command.


    # scnasdir -a -h myfiler -d /vol/DB1 -d /vol/DB2
    
    -a

    Add the directory or directories to cluster configuration.

    -h

    Is the name of the NAS device whose directories you are adding.

    -d

    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.

  2. Confirm that the directories have been added.


    # scnasdir -p
    
  3. If you do not use the automounter, mount the directories by performing the following steps:

    1. On each node in the cluster, create a mount-point directory for each NAS directory that you added.


      # mkdir -p /path-to-mountpoint
      
      path-to-mountpoint

      Name of the directory on which to mount the directory

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