Sun Cluster 3.0-3.1 With Fibre Channel JBOD Storage Device Manual

ProcedureHow to Replace a Storage Array

Before You Begin

This procedure relies on the following prerequisites and assumptions.

Example 1–1 shows you how to apply this procedure.

Steps
  1. 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.

  2. 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.

  3. On all nodes that are connected to the storage array, run the luxadm remove_device command.


    # luxadm remove_device -F boxname
    

    See Example 1–1 for an example of this command and its use.

  4. Disconnect the fiber-optic cables from the storage array.

  5. Power off and disconnect the storage array from the AC power source.

    For more information, see your storage documentation. For a list of storage documentation, see Related Documentation.

  6. Connect the fiber optic cables to the new storage array.

  7. Connect the new storage array to an AC power source.

  8. 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.

  9. Power on the storage array.

  10. 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
    

    See Example 1–1 for an example of this command and its use.

  11. 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
    
  12. 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 1–1 Replacing a Sun StorEdge A5x00 Storage Array

The following example shows how to replace a Sun StorEdge A5x00 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