Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
1.  Installing and Maintaining a Sun StorEdge D2 Array Maintaining Storage Arrays How to Add a Storage Array  Previous   Contents   Next 
   
 

ProcedureHow to Remove a Storage Array

Use this procedure to remove a storage array from a cluster. This procedure assumes that you are removing the references to the disk drives in the enclosure.

  1. Determine if the storage array you want to remove contains any quorum devices.

    # scstat -q
    • If the storage array does not contain any quorum devices, go to Step 3.

    • If the storage array you want to remove contains a quorum device and you need a quorum device to have quorum, choose another disk drive to configure as the quorum device. Then remove the old quorum device.

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

  2. If necessary, back up the metadevice or volume.

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

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

  4. Disconnect the SCSI cables from the storage array.

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

    For the procedure about how to power off a storage array, see the Sun StorEdge D2 Installation, Operation, and Service Manual.

  6. Identify the disk drives you need to remove.

    # cfgadm -al
  7. Remove the storage array.

    For the procedure about how to remove a storage array, see the Sun StorEdge D2 Installation, Operation, and Service Manual.

  8. On all nodes, remove references to the disk drives in the storage array that you removed.

    # cfgadm -c unconfigure cN::dsk/cNtXdY
    # devfsadm -C
    # scdidadm -C
  9. If necessary, remove any unused host adapters from the nodes.

    For the procedure about how to remove a host adapter, see How to Replace a Host Adapter and the documentation that shipped with your host adapter and node.

  10. From any node, verify that the configuration is correct.

    # scdidadm -L

ProcedureHow to Replace the Chassis

Use this procedure to replace the chassis of a storage array in a running cluster. This procedure assumes that you want to retain the disk drives in the storage array you are replacing. This procedure also assumes that you want to retain the references to these disk drives.

  1. Determine if the chassis you want to replace contains a quorum device.

    # scstat -q
    • If the chassis doesn't contain a quorum device, go to Step 2.

    • If the chassis you want to replace contains a quorum device and you need the quorum device to maintain quorum, choose another disk drive on another storage array to configure as the quorum device. Then remove the old quorum device.

      For procedures about how to add and remove quorum devices, see your 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 Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.

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

  4. Disconnect the SCSI cables from the storage array.

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

    For the procedure about how to power off a storage array, see the Sun StorEdge D2 Array Installation, Operation, and Service Manual.

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

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

  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 procedure about how to replace your storage array's components, see the Sun StorEdge D2 Array Installation, Operation, and Service Manual.

  9. Power on the storage array.

    To power on the storage arrays, press the power switches on the power supplies to the On position.

  10. On all nodes that are 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.

    # 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 your Sun Cluster system administration documentation.

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

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

ProcedureHow to Add a Disk Drive

Use this procedure to add a disk drive to a running cluster. Perform the steps in this procedure in conjunction with the procedures in the Sun Cluster system administration documentation and your server hardware manual.

For conceptual information on quorum, quorum devices, global devices, and device IDs, see your Sun Cluster concepts documentation document.

  1. Record target number of the empty disk slot to which you are adding the disk drive.

    Identify the disk slot in the storage array for the disk drive that you are adding and note the target number. Refer to the documentation that shipped with your storage array.

  2. Install the disk drive.

    For the procedure about how to install a disk drive, see the Sun StorEdge D2 Array Installation, Operation, and Service Manual.

  3. On all nodes attached to the storage array, configure the disk drive into the cluster.

    # cfgadm -c configure cN
    # devfsadm
  4. If necessary, use the format(1M) command or the fmthard(1M) command to partition and label the disk drive.

  5. From any node, update the global device namespace.

    # scgdevs

    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.

  6. On one node, verify that a device ID (DID) has been assigned to the disk drive.

    # scdidadm -L
  7. Perform volume management administration to add the new disk drive to the configuration.

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

  8. If you want this new disk drive to be a quorum device, add the quorum device.

    For the procedure about how to add a quorum device, see your Sun Cluster system administration documentation.

 
 
 
  Previous   Contents   Next