Use this procedure when you add a storage array to a SAN or DAS configuration. In SAN configurations, you connect the node to the FC switches. In DAS configurations, you connect the node directly to the storage array.
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 role-based access control (RBAC) authorization.
Determine the resource groups and device groups that are running on all nodes.
Record this information because you will use it in Step 12 and Step 13 of this procedure to return resource groups and device groups to these nodes.
Move all resource groups and device groups off the node that you plan to connect.
If you need to install host adapters in the node, see the documentation that shipped with your host adapters and install the adapters.
If necessary, install GBICs or SFPs to the FC switches or the storage array.
For the procedure on installing a GBIC or an SFP to an FC switch, see the documentation that shipped with your FC switch hardware.
For the procedure on installing a GBIC or an SFP to a storage array, see the Sun StorEdge 3000 Family Installation, Operation, and Service Manual.
Connect fiber-optic cables between the node and the FC switches or the storage array.
For the procedure on installing a fiber-optic cable, see the Sun StorEdge 3000 Family Installation, Operation, and Service Manual.
If necessary, install the required Solaris patches for storage array support on the node.
See the Sun Cluster release notes documentation for information about accessing Sun's EarlyNotifier web pages. The EarlyNotifier web pages list information about any required patches or firmware levels that are available for download. For the procedure on applying any host adapter's firmware patch, see the firmware patch README file.
On the node, update the /devices and /dev entries.
# devfsadm -C |
On the node, update the paths to the device ID instances.
If necessary, label the LUNs on the new storage array.
# format |
(Optional) On the node, verify that the device IDs are assigned to the new LUNs.
Repeat Step 2 to Step 10 for each remaining node that you plan to connect to the storage array.
(Optional) Restore the device groups to the original node.
Perform the following step for each device group you want to return to the original node.
If you are using Sun Cluster 3.2, use the following command:
# cldevicegroup switch -n nodename devicegroup1[ devicegroup2 …] |
The node to which you are restoring device groups.
The device group or groups that you are restoring to the node.
If you are using Sun Cluster 3.1, use the following command:
# scswitch -z -D devicegroup -h nodename |
(Optional) Restore the resource groups to the original node.
Perform the following step for each resource group you want to return to the original node.
If you are using Sun Cluster 3.2, use the following command:
# clresourcegroup switch -n nodename resourcegroup1[ resourcegroup2 …] |
For failover resource groups, the node to which the groups are returned. For scalable resource groups, the node list to which the groups are returned.
The resource group or groups that you are returning to the node or nodes.
If you are using Sun Cluster 3.1, use the following command:
# scswitch -z -g resourcegroup -h nodename |
Perform volume management administration to incorporate the new logical drives into the cluster.
For more information, see your Solstice DiskSuite or Veritas Volume Manager documentation.
The best way to enable multipathing for a cluster is to install the multipathing software and enable multipathing before installing the Sun Cluster software and establishing the cluster. For this procedure, see How to Install Sun Multipathing Software in Sun Cluster Software Installation Guide for Solaris OS. If you need to add multipathing software to an established cluster, see How to Install Sun Multipathing Software in Sun Cluster Software Installation Guide for Solaris OS and follow the troubleshooting steps to clean up the device IDs.