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. | |
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.
How 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.
Create a volume.
For the procedure about how to create a volume, see the Sun StorEdge 6320 System Reference and Service Manual.
(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.
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.
On one node that is connected to the storage array, label the new volume.
# format
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.
(Optional) Partition the volume.
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.
How 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 - This procedure destroys all data from
the volume that you are removing.
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.
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.
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.
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.
Remove the volume.
For the procedure about how to remove a volume, see the Sun StorEdge 6320 System Reference and Service Manual.
On all nodes, remove the obsolete Solaris links and device IDs (DIDs).
# devfsadm -C # scdidadm -C



