Sun Cluster 3.0-3.1 With Sun StorEdge 3510 or 3511 FC RAID Array Manual

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


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


    # 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
    
See Also

To prepare the storage array for later use, unmap and delete all LUNs and logical drives. See How to Unmap and Remove 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.