Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Add a Network Appliance Network-Attached Storage (NAS) Quorum Device

When you use a Network Appliance (NetApp) network-attached storage (NAS) device as a quorum device, the following are required:

See the following Network Appliance NAS documentation for information about creating and setting up a Network Appliance NAS device and LUN. You can access the following documents at http://now.netapp.com.

See the following Sun Cluster documentation for information on installing a NetApp NAS storage device in a Sun Cluster environment: Sun Cluster 3.1 With Network-Attached Storage Devices Manual for Solaris OS.

Steps
  1. Make sure that all Sun Cluster nodes are online and can communicate with the NetApp clustered filer.

  2. Become superuser on any node of the cluster.

  3. Start the scsetup utility.


    # scsetup
    

    The scsetup Main Menu is displayed.

  4. Type the number that corresponds to the option for Quorum.

    The Quorum Menu is displayed.

  5. Type the number that corresponds to the option for adding a quorum device, then type yes when the scsetup utility asks you to confirm that you want to add a quorum device.

    The scsetup utility asks what type of quorum device you want to add.

  6. Type the number that corresponds to the option for a netapp_nas quorum device, then type yes when the scsetup utility asks you to confirm that you want to add a netapp_nas quorum device.

    The scsetup utility asks you provide the name of the new quorum device.

  7. Type the name of the quorum device you are adding.

    The quorum device name can be any name you choose. The name is only used to process future administrative commands.

    The scsetup utility asks you to provide the name of the filer for the new quorum device.

  8. Type the name of the filer of the new quorum device.

    This name is the network accessible name or address of the filer.

    The scsetup utility asks you to provide the LUN ID for the filer.

  9. Type the ID of the quorum device LUN on the filer.

    The scsetup utility asks you to confirm that the new quorum device should be added on the filer.

  10. Type yes to continue adding the new quorum device.

    If the new quorum device is added successfully, the scsetup utility displays a message to that affect.

  11. Verify that the quorum device has been added.


    # scstat -q
    
  12. Repeat Step 4 through Step 11 for each group of nodes that shares a storage enclosure.


Example 5–2 Adding a NetApp NAS Quorum Device

The following example shows the scconf command generated by scsetup when it adds a NetApp NAS quorum device and a verification step.


Make sure that all Sun Cluster nodes are online and can communicate with the NetApp clustered filer.

Become superuser on any cluster node.
[Execute the scsetup utility:]
# scsetup
Select Quorum>Add a quorum device.
Select Netapp_nas quorum device.
Type the name of the quorum device you are adding.

qd1
Type the name of the filer of the new quorum device.

nas1.sun.com
Type the ID of the quorum device LUN on the filer.
0
Type yes to continue adding the new quorum device.

yes
[Verify that the scconf command completed successfully:]
 
scconf -a -q name=qd1,type-=netapp_nas,filer=nas1.sun.com,lun_id=0
 
    Command completed successfully.
Quit the scsetup Quorum Menu and Main Menu.
[Verify the quorum device is added:]
# scstat -q
 
-- Quorum Summary --
 
  Quorum votes possible: 5
  Quorum votes needed:   3
  Quorum votes present:  5
 
-- Quorum Votes by Node --
 
                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       phys-schost-1       1        1       Online
  Node votes:       phys-schost-2       1        1       Online
 
-- Quorum Votes by Device --
 
                   Device Name         Present Possible Status
                   -----------         ------- -------- ------
 Device votes:     qd1                  1        1       Online
 Device votes:     /dev/did/rdsk/d3s2   1        1       Online
 Device votes:     /dev/did/rdsk/d4s2   1        1       Online