Sun Cluster 3.1 - 3.2 With SCSI JBOD Storage Device Manual for Solaris OS

ProcedureHow to Replace the Chassis

You might need to replace a chassis if the chassis fails. With this procedure, you are able to replace the chassis and retain the storage array's disk drives and the references to those disk drives. By retaining the storage array's disk drives, you save time because you no longer need to resynchronize your mirrors or restore your data.

If you need to replace the entire storage array, see How to Remove a Storage Array.

Before You Begin

This procedure relies on the following assumptions.

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.read and solaris.cluster.modify RBAC authorization.

  1. If the chassis you are replacing contains a drive that is configured as quorum device, add a new quorum device that will not be affected by this procedure. Then remove the old quorum device.

    To determine whether a quorum device will be affected by this procedure, use one of the following commands.

    • If you are using Sun Cluster 3.2, use the following command:


      # clquorum show
      
    • If you are using Sun Cluster 3.1, use the following command:


      # scstat -q
      

    For procedures about how to add and remove quorum devices, see the Sun Cluster system administration documentation.

  2. If possible, back up the metadevices or volumes that reside in the storage array.

    For more information, see your Solaris Volume Manager or Veritas Volume Manager documentation.

  3. On each node that is connected to the storage array, perform volume management administration to remove the storage array from the configuration.


    Note –

    Disk drives that were managed by Veritas Volume Manager must be completely removed from Veritas Volume Manager control before you can remove the disk drives from the Sun Cluster environment. After you delete the disk drives from any disk group, use the following commands on both nodes to remove the disk drives from Veritas Volume Manager control.


    If a volume manager manages the disk drives, run the appropriate volume manager commands to remove the disk drives from any diskset or disk group. For more information, see your Solaris Volume Manager or Veritas Volume Manager documentation.


    # vxdisk offline cNtXdY# vxdisk rm cNtXdY
    
  4. Disconnect the SCSI cables from the storage array.

    You can disconnect the cables in any order.

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

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

  6. Connect the new storage array to the power sources.

  7. Connect the SCSI cables to the new storage array.

    You can connect the cables in any order.

    Ensure the cable does not exceed bus-length limitations. For more information on bus-length limitations, see your hardware documentation.

  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.

    Move your other components to the new chassis as well. For the procedures about how to replace your storage array's components, see your storage documentation. For a list of storage documentation, see Related Documentation.

  9. Power on the storage array.

    For the procedure about how to shut down and power off the storage array, see the documentation that came with your array.

  10. On each node that is attached to the storage array, run the devfsadm(1M) command.


    # devfsadm
    
  11. From one node, attach the new storage array to the global device namespace.

    • If you are using Sun Cluster 3.2, use the following command:


      # cldevice populate
      
    • If you are using Sun Cluster 3.1, use the following command:


      # scgdevs
      
  12. One at a time, shut down and reboot the nodes that are connected to the storage array.

    For the procedure about how to shut down and power off a node, see Chapter 3, Shutting Down and Booting a Cluster, in Sun Cluster System Administration Guide for Solaris OS.

  13. Perform volume management administration to add the storage array back into the configuration.

    For more information, see your Solaris Volume Manager or Veritas Volume Manager documentation.