Sun Cluster 3.0-3.1 With Sun StorEdge 3310 or 3320 SCSI RAID Array Manual

ProcedureHow to Remove a RAID Storage Array

Use this procedure to remove a RAID storage array from a running cluster.


Caution – Caution –

This procedure removes all data that is on the RAID storage array that you remove.


Before You Begin

This procedure assumes that your nodes are not configured with dynamic reconfiguration functionality. If your nodes are configured for dynamic reconfiguration, see your Sun Cluster Hardware Administration Manual for Solaris OS.

Steps
  1. Is one of the disks in the RAID storage array a quorum device? This RAID storage array is the storage array that you are removing.


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

    • If yes, relocate that quorum device to another suitable RAID storage array.

      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 RAID storage array from the configuration.

    If a volume manager does manage the LUN, run the appropriate Solstice DiskSuite/Solaris Volume Manager commands or VERITAS Volume Manager commands to remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation. See the following paragraph for additional VERITAS Volume Manager commands that are required.


    Note –

    LUNs that were managed by VERITAS Volume Manager must be completely removed from VERITAS Volume Manager control before you can delete the LUNs from the Sun Cluster environment. After you delete the LUN from any disk group, use the following commands on both nodes to remove the LUN from VERITAS Volume Manager control.



    # vxdisk offline cNtXdY
    # vxdisk rm cNtXdY
    
  4. Identify the LUNs that you need to remove.


    # cfgadm -al
    
  5. On all nodes, remove references to the LUNs in the RAID storage array that you removed.


    # cfgadm -c unconfigure cN::dsk/cNtXdY
    
  6. Disconnect the SCSI cables from the RAID storage array.

  7. On both nodes, remove the paths to the LUN that you are deleting.


    # devfsadm -C
    
  8. On both nodes, remove all obsolete device IDs (DIDs).


    # scdidadm -C
    
  9. If no other LUN is assigned to the target and LUN ID, remove the LUN entries from /kernel/drv/sd.conf file.

    Perform this step on both nodes to prevent extended boot time caused by unassigned LUN entries.


    Note –

    Do not remove default t0d0 entries.


  10. Power off the RAID storage array. Disconnect the RAID storage array from the AC power source.

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

  11. Remove the RAID storage array.

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

  12. If necessary, remove any unused host adapters from the nodes.

    For the procedure about how to remove a host adapter, see your Sun Cluster system administration documentation and the documentation that shipped with your host adapter and node.

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


    # scdidadm -L