Use this procedure to remove a storage array from a cluster. Example 1–3 shows you how to apply this procedure. Use the procedures in your server hardware manual to identify 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.modify RBAC authorization.
Perform volume management administration to remove the storage array from the configuration.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
On all nodes that are connected to the storage array, run the luxadm remove_device command.
# luxadm remove_device -F boxname |
Remove the storage array and the fiber-optic cables that are connected to the storage array.
For more information, see your storage documentation. For a list of storage documentation, see Related Documentation.
If you are using your storage arrays in a SAN-configured cluster, you must keep two FC switches configured in parallel. This configuration maintains cluster availability. See SAN Solutions in a Sun Cluster Environment in Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS for more information.
On all nodes, remove references to the storage array.
If necessary, remove any unused host adapters from the nodes.
For the procedure about how to remove host adapters, see the documentation that shipped with your nodes.
The following example shows how to remove a Sun StorEdge A5x00 storage array from a cluster running Sun Cluster version 3.2 software. The storage array to be removed is venus1.
# luxadm remove_device -F venus1 WARNING!!! Please ensure that no file systems are mounted on these device(s). All data on these devices should have been backed up. The list of devices that will be removed is: 1: Storage Array: venus1 Node WWN: 123456789abcdeff Device Type: SENA (SES device) SES Paths: /devices/nodes@1/sbus@1f,0/SUNW,socal@1,0/sf@0,0/ \ ses@w123456789abcdf03,0:0 /devices/nodes@1/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ \ ses@w123456789abcdf00,0:0 Please verify the above list of devices and then enter 'c' or <CR> to Continue or 'q' to Quit. [Default: c]: <Return> Hit <Return> after removing the device(s). <Return> # devfsadm -C # cldevice populate |
The following example shows how to remove a Sun StorEdge A5x00 storage array from a cluster running Sun Cluster version 3.1 software. The storage array to be removed is venus1.
# luxadm remove_device -F venus1 WARNING!!! Please ensure that no file systems are mounted on these device(s). All data on these devices should have been backed up. The list of devices that will be removed is: 1: Storage Array: venus1 Node WWN: 123456789abcdeff Device Type: SENA (SES device) SES Paths: /devices/nodes@1/sbus@1f,0/SUNW,socal@1,0/sf@0,0/ \ ses@w123456789abcdf03,0:0 /devices/nodes@1/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ \ ses@w123456789abcdf00,0:0 Please verify the above list of devices and then enter 'c' or <CR> to Continue or 'q' to Quit. [Default: c]: <Return> Hit <Return> after removing the device(s). <Return> # devfsadm -C # scgdevs |