Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
1.  Installing and Maintaining a Sun StorEdge 6320 System Installing Storage Systems How to Install Storage Systems  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 Systems

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

Table 1-1 Task Map: Configuring a Storage Array

Task

Information

Create a volume.

How to Create a Volume

Remove a volume.

How to Remove a Volume

The following is a list of administrative tasks that require no cluster-specific procedures. See the Sun StorEdge 6320 System Reference and Service Manual for the following procedures.

  • Creating a storage pool.

  • Removing a storage pool.

  • Creating a volume group.

  • Removing a volume group.

  • Creating an initiator group.

  • Adding an initiator group.

  • Removing an initiator group.

ProcedureHow to Create a Volume

Use this procedure to create a volume in a running cluster. This procedure assumes that you created the storage pool that is to contain the volume that you are creating. A volume has a one-to-one mapping to a LUN. For the procedure about how to create a storage pool, see the Sun StorEdge 6320 System Reference and Service Manual.

  1. Create a volume.

    For the procedure about how to create a volume, see the Sun StorEdge 6320 System Reference and Service Manual.

  2. (Optional) Specify initiator groups for the volume.

    For the procedure about how to specify initiator groups, see the Sun StorEdge 6320 System Reference and Service Manual.

  3. Are any devices that are associated with the volume you created at an unconfigured state?

    # cfgadm -al | grep disk
    • If no, proceed to Step 4.

    • If yes, configure the STMS paths.

      cfgadm -c configure controllerinstance

      For the procedure about how to configure STMS paths, see the Sun StorEdge Traffic Manager Installation and Configuration Guide.


      Note - You need to reboot if the cfgadm command does not configure the unconfigured devices that are associated with the volume you are creating. See the Sun StorEdge Traffic Manager Installation and Configuration Guide for more information.


  4. On one node that is connected to the storage array, label the new volume.

    # 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 new volume that you created in Step 1.

    For more information, see your VERITAS Volume Manager documentation.

  6. (Optional) Partition the 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. You can safely ignore this error.


ProcedureHow to Remove a Volume

Use this procedure to remove a volume in a running cluster. This procedure assumes all nodes are booted and are attached to the storage array that hosts the volume that you are removing.


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


  1. If necessary, perform one of the following tasks to protect your data.

    • Migrate all data off the volume that you are removing.

    • Backup all data that resides on the volume that you are removing.

  2. Is the 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. Then remove the old quorum device.

      For procedures about how to add and how to 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 volume that you are removing.

    For more information, see your VERITAS Volume Manager documentation.

  4. Remove the reference to the volume from any diskset or disk group.

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

  5. Remove the volume.

    For the procedure about how to remove a volume, see the Sun StorEdge 6320 System Reference and Service Manual.

  6. On all nodes, remove the obsolete Solaris links and device IDs (DIDs).

    # devfsadm -C
    # scdidadm -C
 
 
 
  Previous   Contents   Next