How to Remove a Single-Controller Configuration
Use this procedure to permanently remove a storage array from a running cluster. This storage array resides in a single-controller configuration. This procedure provides the flexibility to remove the host adapters from the nodes for the storage array that you are removing.
This procedure defines Node A as the node with which you begin working. Node B is the remaining node.
Caution - During this procedure, you lose access
to the data that resides on the storage array that you are removing.
Back up all database tables, data services, and volumes that are associated with the storage array that you are removing.
Detach the submirrors from the storage array that you are removing. Detach the submirrors to stop all I/O activity to the storage array.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
Remove the references to the LUN(s) from any diskset or disk group.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
Determine the resource groups and device groups that are running on Node A.
# scstat
Shut down Node A.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Is the storage array that you are removing the last storage array that is connected to Node A?
If yes, disconnect the fiber-optic cable between Node A and the FC switch that is connected to this storage array. Afterward, disconnect the fiber-optic cable between the FC switch and this storage array.
If no, proceed to Step 7.
For the procedure about how to remove a fiber-optic cable, see the Sun StorEdge 6020 and 6120 Array System Manual.
Do you want to remove the host adapter from Node A?
If yes, power off Node A.
If no, skip to Step 10.
Remove the host adapter from Node A.
For the procedure about how to remove host adapters, see the documentation that shipped with your nodes.
Without enabling the node to boot, power on Node A.
For more information, see your Sun Cluster system administration documentation.
Boot Node A into cluster mode.
For the procedure about how to boot nodes, see your Sun Cluster system administration documentation.
Shut down Node B.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Is the storage array that you are removing the last storage array that is connected to the FC switch?
If yes, disconnect the fiber-optic cable that connects this FC switch and Node B.
If no, proceed to Step 13.
For the procedure about how to remove a fiber-optic cable, see the Sun StorEdge 6020 and 6120 Array System Manual.
Do you want to remove the host adapter from Node B?
If yes, power off Node B.
If no, skip to Step 16.
Remove the host adapter from Node B.
For the procedure about how to remove host adapters, see the documentation that shipped with your nodes.
Without enabling the node to boot, power on Node B.
For more information, see your Sun Cluster system administration documentation.
Boot Node B into cluster mode.
For the procedure about how to boot nodes, see your Sun Cluster system administration documentation.
On all nodes, update the /devices and /dev entries.
# devfsadm -C # scdidadm -C
Return the resource groups and device groups that you identified in Step 4 to Node A and Node B.
# scswitch -z -g resource-group -h nodename # scswitch -z -D device-group-name -h nodename
How to Remove a Dual-Controller Configuration
Use this procedure to remove a dual-controller configuration from a running cluster. This procedure defines Node A as the node with which you begin working. Node B is the remaining node.
Caution - During this procedure, you lose access
to the data that resides on each partner group that you are removing.
If necessary, back up all database tables, data services, and volumes that are associated with each partner group that you are removing.
If necessary, detach the submirrors from each storage array or partner group that you are removing. Detach the submirrors to stop all I/O activity to the storage array or partner group.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
Remove references to each LUN. This LUN belongs to the storage array or partner group that you are removing.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
Determine the resource groups and device groups that are running on all nodes.
Record this information because you use this information in Step 19 of this procedure to return resource groups and device groups to these nodes.
# scstat
Shut down Node A.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Disconnect from both storage arrays the fiber-optic cables that connect to the FC switches. Then disconnect the Ethernet cables.
Is any storage array that you are removing the last storage array that is connected to an FC switch that is on Node A?
If no, skip to Step 11.
If yes, disconnect the fiber-optic cable between Node A and the FC switch that was connected to this storage array.
For the procedure about how to remove a fiber-optic cable, see the Sun StorEdge 6020 and 6120 Array System Manual.
Do you want to remove the host adapters from Node A?
If no, skip to Step 11.
If yes, power off Node A.
Remove the host adapters from Node A.
For the procedure about how to remove host adapters, see the documentation that shipped with your host adapter and nodes.
Without enabling the node to boot, power on Node A.
For more information, see your Sun Cluster system administration documentation.
Boot Node A into cluster mode.
For more information about how to boot nodes, see your Sun Cluster system administration documentation.
Shut down Node B.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Is any storage array that you are removing the last storage array that is connected to an FC switch that is on Node B?
If no, proceed to Step 14.
If yes, disconnect the fiber-optic cable that connects this FC switch to Node B.
For the procedure about how to remove a fiber-optic cable, see the Sun StorEdge 6020 and 6120 Array System Manual.
Do you want to remove the host adapters from Node B?
If no, skip to Step 17.
If yes, power off Node B.
Remove the host adapters from Node B.
For the procedure about how to remove host adapters, see the documentation that shipped with your nodes.
Without enabling the node to boot, power on Node B.
For more information, see your Sun Cluster system administration documentation.
Boot Node B into cluster mode.
For more information about how to boot nodes, see your Sun Cluster system administration documentation.
On all nodes, update the /devices and /dev entries.
# devfsadm -C # scdidadm -C
Return the resource groups and device groups that you identified in Step 4 to all nodes.
# scswitch -z -g resource-group -h nodename # scswitch -z -D device-group-name -h nodename



