Sun Cluster 3.0 5/02 Supplement

How to Remove StorEdge T3/T3+ Arrays From a Running Cluster

Use this procedure to permanently remove StorEdge T3/T3+ array partner groups and their submirrors from a StorEdge 3900 or 6900 Series system in a running cluster.

This procedure defines "Node A" as the cluster node you begin working with, and "Node B" as the other node.


Caution - Caution -

During this procedure, you lose access to the data that resides on each StorEdge T3+ array partner-group you are removing.


  1. If necessary, back up all database tables, data services, and volumes associated with each partner-group you are removing.

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

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

  3. Run the appropriate Solstice DiskSuite or VERITAS Volume Manager commands to remove references to each LUN that belongs to the array or partner-group that you are removing.

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

  4. Determine the resource groups and device groups running on all nodes.

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


    # scstat
    

  5. Move all resource groups and device groups off Node A.


    # scswitch -S -h nodename
    

  6. Shut down Node A.


    # shutdown -y -g0 -i0
    

    For the procedure on shutting down a node, see the Sun Cluster 3.0 12/01 System Administration Guide.

  7. Disconnect from both arrays the fiber optic cables connecting to the FC switches, then the Ethernet cable(s).

  8. Is any array you are removing the last array connected to an FC switch on Node A?

    • If not, go to Step 12.

    • If it is the last array, disconnect the fiber optic cable between Node A and the FC switch that was connected to this array.

    For the procedure on removing a fiber optic cable, see the Sun StorEdge T3 and T3+ Array Configuration Guide.

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

    • If not, go to Step 12.

    • If yes, power off Node A.

  10. Remove the host adapters from Node A.

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

  11. Without allowing the node to boot, power on Node A.

    For more information, see the Sun Cluster 3.0 12/01 System Administration Guide.

  12. Boot Node A into cluster mode.


    {0} ok boot
    

  13. Move all resource groups and device groups off Node B.


    # scswitch -S -h nodename
    

  14. Shut down Node B.


    # shutdown -y -g0 -i0
    

  15. Is any array you are removing the last array connected to an FC switch on Node B?

    • If not, go to Step 19.

    • If it is the last array, disconnect the fiber optic cable connecting this FC switch to Node B.

    For the procedure on removing a fiber optic cable, see the Sun StorEdge T3 and T3+ Array Configuration Guide.

  16. Do you want to remove the host adapters from Node B?

    • If not, go to Step 19.

    • If yes, power off Node B.

  17. Remove the host adapters from Node B.

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

  18. Without allowing the node to boot, power on Node B.

    For more information, see the Sun Cluster 3.0 12/01 System Administration Guide.

  19. Boot Node B into cluster mode.


    {0} ok boot
    

    For more information, see the Sun Cluster 3.0 12/01 System Administration Guide.

  20. On all nodes, update the /devices and /dev entries.


    # devfsadm -C 
    # devfsadm
    

  21. On all nodes, update the paths to the DID instances


    # scdidadm -C 
    # scdidadm -r
    
    .

  22. Return the resource groups and device groups you identified in Step 4 to all nodes.


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