Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
  Previous   Contents   Next 
   
 
Appendix C

Recabling and Replacing Disk Devices

This appendix contains the procedures for recabling and replacing disk devices. This appendix provides the following procedures.

Replacing a Failed Boot Disk

This section contains the procedure about how to replace a failed boot disk.

How to Replace a Failed Boot Disk in a Running Cluster

Use this procedure to replace a failed boot disk that is mirrored and that is on a node in a running cluster. Use this procedure for both Solstice DiskSuite/Solaris Volume Manager and VERITAS Volume Manager. This procedure also assumes that one mirror is available. This procedure defines Node N as the node on which you are replacing the failed boot disk.

If you do not have a mirror that is available, see your Sun Cluster system administration documentation to restore data on the boot disk.

  1. Is Node N up and running?

  2. Is your disk drive hot-pluggable?

  3. Determine the resource groups and device groups running on Node N.

    Record this information because you use this information in Step 6 of this procedure to return resource groups and device groups to these nodes.
    # scstat

    For more information, see your Sun Cluster system administration documentation.

  4. Move all resource groups and device groups off Node N.

    # scswitch -S -h from-node

    For more information, see your Sun Cluster system administration documentation.

  5. Replace the failed boot disk by using the procedure that is outlined in your volume manager documentation.

    For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation. For the procedure about how to replace a boot disk, see "Boot Problems" in Solaris Volume Manager Administration Guide.

  6. If you moved all resource groups and device groups off Node N in Step 4, return the resource groups and device groups that you identified in Step 3 to Node N.

    # scswitch -z -g resource-group -h nodename
    # scswitch -z -D device-group-name -h nodename

    For more information, see your Sun Cluster system administration documentation.

Moving a Disk Cable

You can move a disk cable to a different host adapter on the same bus because of a failed host adapter. However, the best solution is to replace the failed host adapter rather than recable the disk cable to a different host adapter. You might want to move a disk cable to a different host adapter on the same bus to improve performance.

This section provides the following two procedures for moving a disk cable.

Use one of these two procedures to prevent interference with normal operation of your cluster when you want to move a disk cable to a different host adapter on the same bus. If you do not follow these procedures correctly, you might see an error the next time you run the scdidadm -r command or the scgdevs command. If you see an error message that says did reconfiguration discovered invalid diskpath, go to How to Update Sun Cluster Software to Reflect Proper Device Configuration.

ProcedureHow to Move a Disk Cable to a New Host Adapter

Use this procedure to move a disk cable to a new host adapter within a node.


Caution! Caution - Failure to follow this cabling procedure might introduce invalid device IDs (DIDs) and render the devices inaccessible.


  1. Stop all I/O to the affected disk(s).

    For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.

  2. Unplug the cable from the old host adapter.

  3. From the local node, unconfigure all drives that are affected by the recabling.

    # cfgadm

    Or reboot the local node.

    # reboot -- -r
  4. From the local node, update the Solaris device link.

    # devfsadm -C
  5. From the local node, update the DID device path.

    # scdidadm -C
  6. Connect the cable to the new host adapter.

  7. From the local node, configure the drives in the new location.

    # cfgadm

    Or reboot the local node.

    # reboot -- -r
  8. Add the new DID device path.

    # scgdevs
 
 
 
  Previous   Contents   Next