Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
1.  Installing and Maintaining Sun StorEdge 3310 SCSI RAID Array Maintaining RAID Storage Arrays  Previous   Contents   Next 
   
 

ProcedureHow to Add a RAID Storage Array

Use this procedure to add RAID storage arrays to a running cluster.


Note - 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 3.x Hardware Administration Manual.


  1. Install any RAID storage array packages and patches on nodes.


    Note - For the most current list of software, firmware, and patches that are required for the RAID storage array, refer to SunSolve. SunSolve is available online to Sun service providers and to customers with SunSolve service contracts at the SunSolve site: http://sunsolve.sun.com.


  2. Power on the RAID storage array.

    For procedures about how to power on the storage array, see the Sun StorEdge 3310 SCSI Array Installation, Operation, and Service Manual.

  3. Configure the RAID storage array.

    For the procedure about how to create LUNs, see How to Create and Map a LUN.

  4. On each node that is connected to the RAID storage array, ensure that each LUN has an associated entry in the /kernel/drv/sd.conf file.

    For more information, see the Sun StorEdge 3310 SCSI Array Installation, Operation, and Service Manual.

  5. Shut down the first node.

    For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.

  6. If you are installing new host adapters, power off the first node.

    For the procedure about how to power off a node, see Sun StorEdge 3310 SCSI Array Installation, Operation, and Service Manual.

  7. Install the host adapters in the first node.

    For the procedure about how to install host adapters, see the documentation that shipped with your host adapters and nodes.

  8. Cable the RAID storage array to the first node.

    Ensure the cable does not exceed bus length limitations. For more information on bus length limitations, see the documentation that shipped with your hardware.

    For the procedure about how to cable the storage arrays, see the Sun StorEdge 3310 SCSI Array Installation, Operation, and Service Manual.

  9. Boot the first node.

    For the procedure about how to boot nodes, see your Sun Cluster system administration documentation.

  10. Verify that the first node recognizes the new host adapters and disk drives.

    If the node does not recognize the new hardware, check all hardware connections and repeat installation steps you performed in Step 7.
    {0} ok show-disks
    a) /pci@1f,4000/pci@2/scsi@5/sd
    b) /pci@1f,4000/pci@2/scsi@4/sd
    ...

  11. If necessary, perform a reconfiguration boot on the first node to create the new Solaris device files and links.

  12. Shut down the second node.

    For the procedure about how to shut down a node, see your Sun Cluster system administration documentation.

  13. If you are installing new host adapters, power off the second node.

    For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.

  14. Install the host adapters in the second node.

    For the procedure about how to install host adapters, see the documentation that shipped with your nodes.

  15. Cable the RAID storage array to the second node.

    Ensure the cable does not exceed bus length limitations. For more information on bus length limitations, see the documentation that shipped with your hardware.

    For the procedure about how to cable the storage arrays, see the Sun StorEdge 3310 SCSI Array Installation, Operation, and Service Manual.

  16. Boot the second node.

    For the procedure about how to boot nodes, see your Sun Cluster system administration documentation

  17. Verify that the second node recognizes the new host adapters and disk drives.

    If the node does not recognize the new hardware, check all hardware connections and repeat installation steps you performed in Step 14.
    {0} ok show-disks
    a) /pci@1f,4000/pci@2/scsi@5/sd
    b) /pci@1f,4000/pci@2/scsi@4/sd
    ...

  18. If necessary, perform a reconfiguration boot on the second node to create the new Solaris device files and links.

  19. For all nodes that are attached to the RAID storage array, verify that the DIDs have been assigned to the LUNs.
    # scdidadm -L

ProcedureHow to Remove a RAID Storage Array

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

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 3.x Hardware Administration Manual.


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


  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 3310 SCSI Array 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 3310 SCSI Array 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
 
 
 
  Previous   Contents   Next