This section provides procedures to add a quorum device. For information on determining the number of quorum vote counts necessary for your cluster, recommended quorum configurations, and failure fencing, see Quorum and Quorum Devices in Sun Cluster Concepts Guide for Solaris OS.
Sun Cluster supports two types of quorum devices: SCSI and Network Appliance (NetApp) NAS. Procedures for adding these devices are provided in the following sections:
You can also accomplish these procedures by using the SunPlex Manager GUI. See the SunPlex Manager online help for more information.
See the scsetup(1M) and scconf(1M) man pages for information on the commands used in the following procedures.
To complete this procedure, identify a disk drive by its device ID (DID), which is shared by the nodes. Use the scdidadm command to see the list of DID names. Refer to the scdidadm(1M) man page for additional information.
Become superuser on any node of the cluster.
Start the scsetup utility.
# scsetup |
The scsetup Main Menu is displayed.
Type the number that corresponds to the option for Quorum.
The Quorum Menu is displayed.
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.
Type the number that corresponds to the option for a SCSI quorum device.
The scsetup utility asks which global device you want to use .
Type the global device you are using.
The scsetup utility asks you to confirm that the new quorum device should be added the global device you specified.
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.
Verify that the quorum device has been added.
# scstat -q |
Repeat Step 3 through Step 8 for each group of nodes that shares a storage enclosure.
The following example shows the scconf command generated by scsetup when it adds a SCSI quorum device and a verification step.
Become superuser on any cluster node. [Execute the scsetup utility:] # scsetup Select Quorum>Add a quorum device. Select SCSI device. Type the global device your are using. d20 Type yes to continue adding the new quorum device. yes [Verify that the scconf command completed successfully:] scconf -a -q globaldev=d20 Command completed successfully. Quit the scsetup Quorum Menu and Main Menu. [Verify the quorum device is added:] # scstat -q -- Quorum Summary -- Quorum votes possible: 4 Quorum votes needed: 3 Quorum votes present: 4 -- 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: /dev/did/rdsk/d20s1 1 1 Online Device votes: /dev/did/rdsk/d20s2 1 1 Online |
When you use a Network Appliance (NetApp) network-attached storage (NAS) device as a quorum device, the following are required:
You must install the iSCSI license from NetApp.
You must configure an iSCSI LUN on the clustered filer for use as the quorum device.
You must configure the NetApp NAS unit to use NTP for synchronizing time.
At least one of the NTP servers selected for the clustered filer must be an NTP server for the Sun Cluster nodes.
When booting the cluster, always boot the NAS device before you boot the cluster nodes.
If you boot devices in the wrong order, your nodes cannot find the quorum device. If a node should fail in this situation, your cluster might be unable to remain in service. If this happens, you must either reboot the entire cluster or remove the NetApp NAS quorum device and add it again.
A cluster can use a NAS device for only a single quorum device.
You can configure other shared storage if you need additional quorum devices. Additional clusters using the same NAS device can use separate LUNs on that device as their quorum devices.
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.
Setting up a NAS device
System Administration File Access Management Guide
Setting up a LUN
Host Cluster Tool for Unix Installation Guide
Installing ONTAP software
Software Setup Guide, Upgrade Guide
Exporting volumes for the cluster
Data ONTAP Storage Management Guide
Installing NAS support software packages on cluster nodes
Log in to http://now.netapp.com. From the Software Download page, download the Host Cluster Tool for Unix Installation Guide.
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.
Make sure that all Sun Cluster nodes are online and can communicate with the NetApp clustered filer.
Become superuser on any node of the cluster.
Start the scsetup utility.
# scsetup |
The scsetup Main Menu is displayed.
Type the number that corresponds to the option for Quorum.
The Quorum Menu is displayed.
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.
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.
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.
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.
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.
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.
Verify that the quorum device has been added.
# scstat -q |
Repeat Step 4 through Step 11 for each group of nodes that shares a storage enclosure.
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 |