Sun Cluster 2.2 System Administration Guide

Adding Sun StorEdge MultiPack or Sun StorEdge D1000 Disks

In a symmetric configuration, the disk enclosure might contain disks from multiple disk groups and will require that a single node own all of the affected disk groups.

How to Add a Sun StorEdge MultiPack or a Sun StorEdge D1000 Disk

These are the high-level steps to add a Sun StorEdge MultiPack or Sun StorEdge D1000 disk:

These are the detailed steps to add a new Sun StorEdge MultiPack or Sun StorEdge D1000 disk.

  1. Determine the controller number of the disk enclosure to which the disk will be added.

    Use the mount(1M) or format(1M) command to determine the controller number.

  2. Locate an appropriate empty disk slot in the disk enclosure for the disk being added.

    Identify the empty slots either by observing the disk drive LEDs on the front of the disk enclosure, or by removing the left side cover of the unit. The target address IDs corresponding to the slots appear on the middle partition of the drive bay.

    In the following steps, Tray 2 is used as an example. The slot selected for the new disk is Tray 2 Slot 7. The new disk will be known as c2t3d1.

  3. Add the new disk.

    Use the instructions in your disk enclosure unit service manual to perform the hardware procedure of adding the disk.

  4. Run the drvconfig(1M) and disks(1M) commands to create the new entries in /devices, /dev/dsk, and /dev/rdsk for all new disks.


    phys-hahost1# drvconfig 
    phys-hahost1# disks 
    

  5. Switch ownership of the logical hosts to the other cluster node to which this disk is connected.


    phys-hahost1# haswitch phys-hahost2 hahost1 hahost2
    

  6. Run the drvconfig(1M) and disks(1M) commands on the node that now owns the disk group to which the disk will be added.


    phys-hahost2# drvconfig 
    phys-hahost2# disks 
    

  7. Add the disk to a disk group using your volume management software.

    For Solstice DiskSuite, the command syntax is as follows, where diskset is the name of the diskset containing the failed disk, and drive is the DID name of the disk in the form dN (for new installations of Sun Cluster), or cNtYdZ (for installations that upgraded from HA 1.3):


    # metaset -s diskset -a drive
    

    For VxVM, you can use the command line or graphical user interface to add the disk to the disk group.


    Caution - Caution -

    If you are using Solstice DiskSuite, the metaset(1M) command might repartition this disk automatically. See the Solstice DiskSuite documentation for more information.


  8. (Solstice DiskSuite configurations only) After adding the disks to the diskset by using the metaset(1M) command, use the scadmin(1M) command to reserve and enable failfast on the specified disks.


    phys-hahost1# scadmin reserve drivename
    

  9. Perform the usual administration actions on the new disk.

    You can now perform the usual administration steps that are performed when a new drive is brought into service. See your volume management software documentation for more information on these tasks.

  10. If necessary, switch logical hosts back to their default masters.