Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
2.  Installing and Maintaining a Sun StorEdge T3 Array or Sun StorEdge T3+ Array Partner-Group Configuration Installing Partner Groups How to Install a Partner Group  Previous   Contents   Next 
   
 

Where to Go From Here

To continue with Sun Cluster software installation tasks, see your Sun Cluster software installation documentation.

Configuring Storage Arrays

This section contains the procedures about how to configure a storage array in a running cluster. Table 2-1 lists these procedures.


Note - When you upgrade firmware on a storage device or on an enclosure, redefine the stripe size of a LUN, or perform other LUN operations, a device ID (DID) might change unexpectedly. When you perform a check of the DID configuration by running the scdidadm -c command, the following error message appears on your console if the DID changed unexpectedly.

 device id for nodename:/dev/rdsk/cXtYdZsN does not match physical 
device's id for ddecimalnumber, device may have been replaced.

To fix DIDs that report this error, run the scdidadm -R command for each affected device.


Table 2-1 Task Map: Configuring a Storage Array

Task

Information

Create a logical volume

How to Create a Logical Volume

Remove a logical volume

How to Remove a Logical Volume

ProcedureHow to Create a Logical Volume

Use this procedure to create a storage array logical volume. This procedure assumes all nodes are booted and are attached to the storage array. This storage array is to host the logical volume that you are creating.

  1. Access the storage array. This storage array is the master controller unit of your partner group.

    The master controller unit is the storage array that has the interconnect cables attached to the second port of each interconnect card, when viewed from the rear of the storage arrays. For example, Figure 2-1 shows the master controller unit of the partner group as the lower storage array. In this diagram, the interconnect cables are connected to the second port of each interconnect card on the master controller unit.

  2. Create the logical volume.

    To create a logical volume, add, initialize, and mount the logical volume.

    For the procedure about how to create and initialize a logical volume, see the Sun StorEdge T3 and T3+ Array Administrator's Guide. For the procedure about how to mount a logical volume, see the Sun StorEdge T3 and T3+ Array Installation, Operation, and Service Manual.

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

    # devfsadm
  4. On one node that is connected to the partner group, verify that the new logical volume is visible to the system.
    # format

  5. Are you running VERITAS Volume Manager?

    • If no, proceed to Step 6

    • If yes, update the list of devices on all nodes that are attached to the logical volume you created in Step 2.

    For more information, see your VERITAS Volume Manager documentation.

  6. If needed, partition the logical volume.

  7. From any node in the cluster, update the global device namespace.

    # scgdevs

    Note - You might have a volume management daemon such as vold running on your node, and have a CD-ROM drive connected to the node. Under these conditions, a device busy error might be returned even if no disk is in the drive. This error is expected behavior.


Where to Go From Here

To create a new resource or reconfigure a running resource to use the new logical volume, see your Sun Cluster data services collection.

To configure a logical volume as a quorum device, see your Sun Cluster system administration documentation

ProcedureHow to Remove a Logical Volume

Use this procedure to remove a logical volume. This procedure assumes all nodes are booted and are attached to the storage array. This storage array is to host the logical volume that you are removing.

This procedure defines Node A as the node that you begin working with. Node B as the other node.


Caution! Caution - This procedure destroys all data from the logical volume that you are removing.


  1. If necessary, migrate all data and volumes off the logical volume that you are removing.

  2. Is the logical volume that you are removing a quorum device?

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

    • If yes, choose and configure another device to be the new quorum device. Afterward, remove the old quorum device.

      For procedures about how to add and remove quorum devices, see your Sun Cluster system administration documentation.

  3. Are you running VERITAS Volume Manager?

    • If no, proceed to Step 4.

    • If yes, update the list of devices on all nodes that are attached to the logical volume that you are removing.

    For more information, see your VERITAS Volume Manager documentation.

  4. Remove the reference to the logical unit number (LUN) from any diskset or disk group.

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

  5. Access the storage array. This storage array is the master controller unit of your partner group.

    The master controller unit is the storage array that has the interconnect cables attached to the second port of each interconnect card, when viewed from the rear of the storage arrays. For example, Figure 2-1 shows the master controller unit of the partner group as the lower storage array. In this diagram, the interconnect cables are connected to the second port of each interconnect card on the master controller unit.

  6. Remove the logical volume.

    For the procedure about how to remove a logical volume, see the Sun StorEdge T3 and T3+ Array Administrator's Guide.

  7. Identify the resource groups and device groups that are running on all nodes.

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

    # scstat
  8. Shut down Node A.

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

  9. Boot Node A into cluster mode.

    For more information about how to boot nodes, see your Sun Cluster system administration documentation.

  10. On Node A, remove the obsolete device IDs (DIDs).

    # devfsadm -C
    # scdidadm -C
  11. Shut down Node B.

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

  12. Boot Node B into cluster mode.

    For more information about how to boot nodes, see your Sun Cluster system administration documentation.

  13. On Node B, remove the obsolete DIDs.

    # devfsadm -C
    # scdidadm -C
  14. Return the resource groups and device groups that you identified in Step 7 to Node A and Node B.

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

    For more information, see your Sun Cluster system administration documentation.

 
 
 
  Previous   Contents   Next