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

ProcedureHow to Remove a Storage Array From a Running Cluster

Use this procedure to permanently remove storage arrays and their submirrors from a running cluster.

If you need to remove a storage array from more than two nodes, repeat the steps Step 6 to Step 11 for each additional node that connects to the storage array.


Caution! Caution - During this procedure, you lose access to the data that resides on each storage array that you are removing.


  1. Does the storage array you are removing contain any quorum devices?

    # scstat -q
    • If no, proceed to Step 2.

    • If yes, choose another disk drive to configure as the quorum device. Then remove the old quorum device.

      For procedures on adding and removing quorum devices, see the Sun Cluster system administration documentation.

  2. If necessary, back up all database tables, data services, and volumes associated with each storage array that you are removing.

  3. Determine the resource groups and device groups that are running on all nodes.

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

  4. If necessary, run the appropriate Solstice DiskSuite or VERITAS Volume Manager commands to detach the submirrors from each storage array that you are removing to stop all I/O activity to the storage array.

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

  5. Run the appropriate volume manager commands to remove references to each LUN that belongs to the storage array that you are removing.

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

  6. Shut down the node.

    For the full procedure on shutting down and powering off a node, see the Sun Cluster system administration documentation.

  7. If necessary, disconnect the storage arrays from the nodes or the FC switches.

  8. Is the storage array that you are removing the last storage array connected to the node?

    • If no, skip to Step 11.

    • If yes, disconnect the fiber-optic cable between the node and the FC switch that was connected to this storage array.

  9. Do you want to remove the host adapters from the node?

    • If no, skip to Step 11.

    • If yes, power off the node.

  10. Remove the host adapters from the node.

    For the procedure on removing host adapters, see the documentation that shipped with your host adapter and nodes.

  11. Boot the node into cluster mode.

    For more information on booting nodes, see the Sun Cluster system administration documentation.

  12. Repeat steps Step 6 to Step 11 on each additional node that you need to disconnect from the storage array.

  13. On all cluster nodes, remove the paths to the devices that you are deleting.
    # devfsadm -C

  14. On all cluster nodes, remove all obsolete device IDs (DIDs).

    # scdidadm -C
  15. Return the resource groups and device groups that you identified in Step 3 to the original nodes.
    # scswitch -z -g resource-group -h nodename
    # scswitch -z -D device-group-name -h nodename

Where to Go From Here

To prepare the storage array for later use, unmap and delete all LUNs and logical drives. See How to Unmap and Delete a LUN for information about LUN removal. For more information about removing logical drives, see the Sun StorEdge 3000 Family Installation, Operation, and Service Manual.

ProcedureHow to Replace a Failed Disk Drive in a Running Cluster

Use this procedure to replace one failed disk drive in a storage array in a running cluster.

This procedure will be useful for configurations that rely on host-based mirroring.

  1. Did the failed disk drive impact the availability of the storage array's logical drive?

    • If no, proceed to Step 2.

    • If yes, remove the logical volume from volume management control.

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

  2. Is the disk drive you are replacing a quorum device or is in a LUN that is a quorum device?

    # scstat -q
    • If no, proceed to Step 3.

    • If yes, choose and configure another device to be the new quorum device. Then remove the old quorum device.

      For procedures on adding and removing quorum devices, see the Sun Cluster system administration documentation.

  3. Replace the disk drive in the storage array.

    For the procedure on replacing a disk drive, see the Sun StorEdge 3000 Family Installation, Operation, and Service Manual.

  4. If you recreated the logical drive and want the new logical drive to be a quorum device, add the quorum device.

    For the procedure on adding a quorum device, see the Sun Cluster system administration documentation.

  5. Did you remove a LUN from volume management control in Step 1?

    • If not, you are finished with this procedure.

    • If you did remove a LUN from volume management control, return the LUN to volume management control now.

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

 
 
 
  Previous   Contents   Next