To complete this procedure, identify a disk drive by its device ID (DID), which is shared by the nodes. Use the cldevice show command to see the list of DID names. Refer to the cldevice(1CL) man page for additional information.
Sun Cluster supports a Sun NAS quorum device only on a two-node cluster configuration.
The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.
This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.
Use the Sun NAS GUI to set up an iSCSI device on the Sun NAS filer.
Create a file volume that is approximately 50 Mbytes in size.
File Volume Operations -> Create File Volume
For each node, create an iSCSI access list.
iSCSI Configuration -> Configure Access List
Configure the iSCSI LUN
iSCSI Configuration -> Configure iSCSI LUN
You can use the name of the backing file volume as the name of the LUN. Add the access list for each node to the LUN.
On each of the cluster nodes, discover the iSCSI LUN and set the iSCSI access list to static configuration.
# iscsiadm modify discovery -s enable # iscsiadm list discovery Discovery: Static: enabled Send Targets: disabled iSNS: disabled # iscsiadm add static-config iqn.LUNName,IPAddress_of_NASDevice # devfsadm -i iscsi # cldevice refresh
From one cluster node, configure the DIDs for the iSCSI LUN.
Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node of the cluster.
Start the clsetup utility.
The clsetup 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 clsetup utility asks you to confirm the quorum device that you are adding.
The clsetup utility asks what type of quorum device you want to add.
Type the number that corresponds to the option for a shared-disk quorum device.
The clsetup utility asks which global device you want to use.
Type the global device you are using.
The clsetup utility asks you to confirm that the new quorum device should be added to the global device you specified.
Type yes to continue adding the new quorum device.
If the new quorum device is added successfully, the clsetup utility displays a message to that effect.
Verify that the quorum device has been added.
# clquorum list -v
The following example shows the clquorum command generated by clsetup when it adds a Sun NAS quorum device and a verification step.
Add an iSCSI device on the Sun NAS filer. Use the Sun NAS GUI to create a file volume that is approximately 50mb in size. File Volume Operations -> Create File Volume For each node, create an iSCSI access list. iSCSI Configuration -> Configure Access List Add the initiator node name of each cluster node to the access list. *** Need GUI or command syntax for this step. *** Configure the iSCSI LUN iSCSI Configuration -> Configure iSCSI LUN On each of the cluster nodes, discover the iSCSI LUN and set the iSCSI access list to static configuration. iscsiadm modify discovery -s enable iscsiadm list discovery Discovery: Static: disable Send Targets: enables iSNS: disabled iscsiadm add status-config iqn.1986-03.com.sun0-1:000e0c66efe8.4604DE16.thinquorum,10.11.160.20 devsadm -i iscsi From one cluster node, configure the DID devices for the iSCSI LUN. /usr/cluster/bin/scgdevs /usr/cluster/bin/scgdevs Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any cluster node. [Start the clsetup utility:] # clsetup [Select Quorum>Add a quorum device] [Answer the questions when prompted.] [You will need the following information.] [Information: Example:] [Directly attached shared disk device shared_disk] [Global device d20 [Verify that the clquorum command was completed successfully:] clquorum add d20 Command completed successfully. [Quit the clsetup Quorum Menu and Main Menu.] [Verify that the quorum device is added:] # clquorum list -v Quorum Type ------- ---- d20 shared_disk scphyshost-1 node scphyshost-2 node