Where to Go From Here
To continue with Sun Cluster software and data services installation tasks, see your Sun Cluster software installation documentation and the Sun Cluster data services developer's documentation.
Configuring Storage Arrays
This section contains the procedures about how to configure a storage array after you install Sun Cluster software. Table 1-1 lists these procedures.
To configure a storage array before you install Sun Cluster software, use the same procedures that you use in a noncluster environment. For the procedures about how to configure storage arrays before you install Sun Cluster, see the Sun StorEdge RAID Manager User's Guide.
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 1-1 Task Map. Configuring Storage Array Disk Drives
Task | Information |
|---|---|
Create a logical unit number (LUN). | |
Remove a LUN. | |
Reset the storage array configuration. |
The following is a list of administrative tasks that require no cluster-specific procedures. See the Sun StorEdge RAID Manager User's Guide and the Sun StorEdge RAID Manager Release Notes for the following procedures.
How to Create a LUN
Use this procedure to create a logical unit (LUN) from unassigned disk drives or remaining capacity. See the Sun StorEdge RAID Manager Release Notes for the latest information about LUN administration.
This product supports the use of hardware RAID and host-based software RAID. For host-based software RAID, this product supports RAID levels 0+1 and 1+0.
Note - When you use host-based software RAID with hardware RAID, the hardware RAID levels you use affect hardware maintenance. If you use hardware RAID level 1, 3, or 5, you can perform most maintenance procedures in Maintaining Storage Arrays without volume management disruptions. If you use hardware RAID level 0, some maintenance procedures in Maintaining Storage Arrays require additional volume management administration because the availability of the LUNs is impacted.
With all nodes booted and attached to the storage array, create the LUN on one node.
After the LUN formatting completes, a logical name for the new LUN appears in /dev/rdsk on all nodes. These nodes are attached to the storage array.
For the procedure about how to create a LUN, see the Sun StorEdge RAID Manager User's Guide.
If the following warning message displays, ignore the message. Continue with the next step.
scsi. WARNING. /sbus@e,0/QLGC,isp@1,10000/sd@2,1 (sd153):corrupt label - wrong magic number
Note - Use the format(1M) command to verify Solaris logical device names. If necessary, label the LUN.
Ensure that the new logical name for the LUN that you created in Step 1 appears in the /dev/rdsk directory on both nodes.
# /etc/raid/bin/hot_add
On one node, update the global device namespace.
# scgdevs
Use the scdidadm command to verify that the DID numbers for the LUNs are the same on both nodes. In the sample output that follows, the DID numbers are different.
# scdidadm -L ... 33 e07a:/dev/rdsk/c1t4d2 /dev/did/rdsk/d33 33 e07c:/dev/rdsk/c0t4d2 /dev/did/rdsk/d33
Are the DID numbers you received from running the scdidadm command in Step 4 the same for both your nodes?
If yes, proceed to Step 6.
If no, perform the procedure in How to Correct Mismatched DID Numbers before you continue with Step 6 of this procedure.
If you want a volume manager to manage the new LUN, incorporate the LUN into a diskset or disk group.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
If you want the new LUN to be a quorum device, add the quorum device.
For the procedure about how to add a quorum device, see the Sun Cluster 3.0 U2 System Administration Guide
How to Delete a LUN
Use this procedure to delete one or more LUNs. See the Sun StorEdge RAID Manager Release Notes for the latest information about LUN administration.
Caution - This procedure removes all data on
the LUN that you delete.
Caution - Do not delete LUN 0.
From one node that is connected to the storage array, determine the paths to the LUN. This LUN is the LUN that you are deleting.
f28c# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t10d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> /sbus@3,0/SUNW,fas@3,8800000/sd@a,0 1. c1t5d0 <Symbios-StorEDGEA1000-0301 cyl 12160 alt 2 hd 64 sec 64> /pseudo/rdnexus@1/rdriver@5,0 2. c2t2d0 <Symbios-StorEDGEA1000-0301 cyl 12160 alt 2 hd 64 sec 64> /pseudo/rdnexus@2/rdriver@2,0Is the LUN a quorum device? This LUN is the LUN that you are removing.
# scstat -q
If no, proceed to Step 3.
If yes, relocate that quorum device to another suitable storage array.
For procedures about how to add and remove quorum devices, see your Sun Cluster system administration documentation.
Remove the LUN from disksets or disk groups.
Remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
LUNs that were managed by VERITAS Volume Manager must be removed from VERITAS Volume Manager control before you can delete the LUNs. To remove the LUNs, after you delete the LUNs from any disk group, use the following commands.
# vxdisk offline cNtXdY # vxdisk rm cNtXdY
From one node, delete the LUN.
For the procedure about how to delete a LUN, see the Sun StorEdge RAID Manager User's Guide.
From the same node, remove the paths to the LUNs you are deleting.
# rm /dev/rdsk/cNtXdY* # rm /dev/dsk/cNtXdY* # rm /dev/osa/dev/dsk/cNtXdY* # rm /dev/osa/dev/rdsk/cNtXdY*
From the same node, remove all obsolete device IDs (DID).
# scdidadm -C
Move all resource groups and device groups off the node.
# scswitch -S -h from-node
Shut down the node.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Perform a reconfiguration boot to create the new Solaris device files and links.
Repeat Step 7 through Step 9 on the other node. This node is attached to the storage array.



