This procedure removes all data that is on the storage array or storage system you are removing.
This procedure relies on the following prerequisites and assumptions.
Your cluster is operational.
You no longer need the data that is stored on the storage array or storage system you are removing.
Migrate any Oracle Real Application Clusters tables, data services, or volumes off the storage array or storage system.
Is one of the LUNs in the storage array a quorum device? This storage array is the storage array that you are removing.
Your storage array or storage system might not support LUNs as quorum devices. To determine if this restriction applies to your storage array or storage system, see Restrictions and Requirements.
# scstat -q
Halt all activity to the controller module.
For instructions, see your storage device documentation and your operating system documentation.
Does a volume manager manage any of the LUNs on the controller module you are removing?
If no, proceed to Step 10.
If yes, remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
You must completely remove LUNs that were managed by VERITAS Volume Manager from VERITAS Volume Manager control before you can delete the LUNs.
# vxdisk offline cNtXdY # vxdisk rm cNtXdY
Delete the LUN.
For the procedure about how to delete a LUN, see your storage device's documentation.
Remove the paths to the LUNs you deleted in Step 5.
# rm /dev/rdsk/cNtXdY* # rm /dev/dsk/cNtXdY* # rm /dev/osa/dev/dsk/cNtXdY* # rm /dev/osa/dev/rdsk/cNtXdY*
On all nodes, remove references to the storage array.
# scdidadm -C
(StorEdge A3500 Only) Use the lad command to determine the alternate paths to the LUN you are deleting.
The RAID Manager software creates two paths to the LUN in the /dev/osa/dev/rdsk directory. Substitute the cNtXdY number from the other controller module in the storage array to determine the alternate path.
# lad c0t5d0 1T93600714 LUNS: 0 1 c1t4d0 1T93500595 LUNS: 2
Therefore, the alternate paths are as follows:
(StorEdge A3500 Only) Remove the alternate paths to the LUNs you deleted in Step 5.
# rm /dev/osa/dev/dsk/cNtXdY* # rm /dev/osa/dev/rdsk/cNtXdY*
Disconnect all cables from the storage array and storage system. Remove the hardware from your cluster.
If you plan to remove a host adapter that has an entry in the nvramrc script, delete the references to the host adapters in the nvramrc script.
If no other parallel SCSI devices are connected to the nodes, you can delete the contents of the nvramrc script. At the OpenBoot PROM, set setenv use-nvramrc? to false.
Remove any unused host adapter from nodes that were attached to the storage array or storage system.
Shut down and power off Node A, from which you are removing a host adapter.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation. For a list of Sun Cluster documentation, see Related Documentation.
Remove the host adapter from Node A.
For the procedure about how to remove a host adapter, see the documentation that shipped with your node hardware.
Perform a reconfiguration boot to create the new Solaris device files and links.
Return resource groups to their primary nodes.
# scswitch -Z
Are you removing the last storage array or storage system from your cluster?
If no, you are finished with this procedure.
If yes, proceed to Step 15.
Remove RAID Manager patches, then remove RAID Manager software packages.
If you improperly remove RAID Manager packages, the next reboot of the node fails. Before you remove RAID Manager software packages, see the Sun StorEdge RAID Manager Release Notes.
For the procedure about how to remove software packages, see the documentation that shipped with your storage array or storage system.