Use this procedure to remove a RAID storage array from a running cluster.
This procedure removes all data that is on the RAID storage array that you remove.
This procedure assumes that your nodes are not configured with dynamic reconfiguration functionality. If your nodes are configured for dynamic reconfiguration, see your Sun Cluster Hardware Administration Manual for Solaris OS.
Is one of the disks in the RAID storage array a quorum device? This RAID storage array is the storage array that you are removing.
# scstat -q
If no, proceed to Step 2.
If yes, relocate that quorum device to another suitable RAID storage array.
For procedures about how to add and remove quorum devices, see your Sun Cluster system administration documentation.
If necessary, back up the metadevice or volume.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
Perform volume management administration to remove the RAID storage array from the configuration.
If a volume manager does manage the LUN, run the appropriate Solstice DiskSuite/Solaris Volume Manager commands or VERITAS Volume Manager commands to remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation. See the following paragraph for additional VERITAS Volume Manager commands that are required.
LUNs that were managed by VERITAS Volume Manager must be completely removed from VERITAS Volume Manager control before you can delete the LUNs from the Sun Cluster environment. After you delete the LUN from any disk group, use the following commands on both nodes to remove the LUN from VERITAS Volume Manager control.
# vxdisk offline cNtXdY # vxdisk rm cNtXdY
Identify the LUNs that you need to remove.
# cfgadm -al
On all nodes, remove references to the LUNs in the RAID storage array that you removed.
# cfgadm -c unconfigure cN::dsk/cNtXdY
Disconnect the SCSI cables from the RAID storage array.
On both nodes, remove the paths to the LUN that you are deleting.
# devfsadm -C
On both nodes, remove all obsolete device IDs (DIDs).
# scdidadm -C
If no other LUN is assigned to the target and LUN ID, remove the LUN entries from /kernel/drv/sd.conf file.
Perform this step on both nodes to prevent extended boot time caused by unassigned LUN entries.
Do not remove default t0d0 entries.
Power off the RAID storage array. Disconnect the RAID storage array from the AC power source.
For the procedure about how to power off a storage array, see the Sun StorEdge 3000 Family Installation, Operation, and Service Manual.
Remove the RAID storage array.
For the procedure about how to remove a storage array, see the Sun StorEdge 3000 Family Installation, Operation, and Service Manual.
If necessary, remove any unused host adapters from the nodes.
For the procedure about how to remove a host adapter, see your Sun Cluster system administration documentation and the documentation that shipped with your host adapter and node.
From any node, verify that the configuration is correct.
# scdidadm -L