How to Replace a Storage Array
Use this procedure to replace a failed storage array in a running cluster. Example--Replacing a Storage Array shows you how to apply this procedure. This procedure assumes that you are retaining the disk drives.
If you are replacing your disk drives, see How to Replace a Disk Drive.
If possible, back up the metadevices or volumes that reside in the storage array.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
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
Disconnect the fiber optic cables from the storage array.
Power off and disconnect the storage array from the AC power source.
For more information, see the Sun StorEdge A5000 Installation and Service Manual and the Sun StorEdge A5000 Configuration Guide.
Connect the fiber optic cables to the new storage array.
Connect the new storage array to an AC power source.
One disk drive at a time, remove the disk drives from the old storage array. Insert the disk drives into the same slots in the new storage array.
Power on the storage array.
Use the luxadm insert_device command to find the new storage array.
Repeat this step for each node that is connected to the storage array.
# luxadm insert_device
On all nodes that are connected to the new storage array, upload the new information to the DID driver.
If a volume management daemon such as vold is running on your node, and you have a CD-ROM drive that is connected to the node, a device busy error might be returned even if no disk is in the drive. This error is an expected behavior.
# scgdevs
Perform volume management administration to add the new storage array to the configuration.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
Example--Replacing a Storage Array
The following example shows how to replace a storage array. The storage array to be replaced is venus1.
# luxadm remove_device -F venus1
WARNING!!! Please ensure that no filesystems 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: Box name: 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>
# luxadm insert_device
Please hit <RETURN> when you have finished adding Fibre Channel
Enclosure(s)/Device(s): <Return>
# scgdevs
|
How to Remove a Storage Array
Use this procedure to remove a storage array from a cluster. Example--Removing a Storage Array shows you how to apply this procedure. Use the procedures in your server hardware manual to identify the storage array.
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 the Sun StorEdge A5000 Installation and Service Manual.
Note - 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.x Hardware Administration Manual for more information.
On all nodes, remove references to the storage array.
# devfsadm -C # scdidadm -C
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.
Example--Removing a Storage Array
The following example shows how to remove a storage array. 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
# scdidadm -C
|



