Where to Go From Here
To continue with Sun Cluster software installation tasks, see the Sun Cluster software installation documentation.
Configuring Storage Arrays in a Running Cluster
This section contains the procedures for configuring a storage array in a running cluster. Table 1-1 lists these procedures.
Before installing or configuring your cluster, see "Known Problems" in the Sun Cluster 3.x Release Notes Supplement for important information about the StorEdge 3510 FC storage array.
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's 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. |
Run the scdidadm -R command for each affected device.
Table 1-1 Task Map: Configuring a Fibre-Channel Storage Array
Task | Information |
|---|---|
Create a logical volume | |
Remove a logical volume |
How to Create and Map a LUN
Use this procedure to create a logical unit (LUN) from unassigned disk drives or remaining capacity. See the Sun StorEdge 3000 Family RAID Firmware 3.27 User's Guide for the latest information about LUN administration.
Create and partition the logical device(s).
For more information on creating a LUN, see the Sun StorEdge 3000 Family RAID Firmware 3.27 User's Guide.
Map the LUNs to the host channels that are cabled to the cluster nodes.
For more information on mapping LUNs to host channels, see Sun StorEdge 3000 Family RAID Firmware 3.27 User's Guide.
On one node at a time, perform a reconfiguration boot on the nodes that are connected to the storage array.
For the full procedure on shutting down and powering off a node, see the Sun Cluster system administration documentation.
If necessary, label the LUNs.
On each node, update the paths to the LUNs that you added.
# devfsadm
If the cluster is online and active, update the global device namespace.
# scgdevs
Verify that the DIDs have been assigned to the disk drives in the storage array.
# scdidadm -L
If you want a volume manager to manage the new LUN, run the appropriate Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager commands to incorporate the new LUN into a diskset or disk group.
For information on administering LUNs and disk device groups, see the Sun Cluster system administration documentation.
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 on adding a quorum device, see the Sun Cluster system administration documentation.
How to Unmap and Delete a LUN
Use this procedure to delete a LUN(s). See the Sun StorEdge 3000 Family RAID Firmware 3.27 User's Guide for the latest information about LUN administration.
This procedure assumes that the storage array is connected to the nodes, all of the nodes are powered on, and that you plan to use the telnet to access the storage array to perform the following steps.
Caution - When you delete a LUN, you remove all data on the LUN that you delete.
Identify the LUNs that you need to remove.
# luxadm probe # scdidadm -L pathname
Is the LUN that you plan to remove configured as 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 on adding and removing quorum devices, see the Sun Cluster system administration documentation.
Remove the LUN from disksets or disk groups.
Run the appropriate Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager commands to remove the LUN from any diskset or disk group. For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation. See the following paragraph for additional VERITAS Volume Manager commands that are required.
Note - LUNs that were managed by VERITAS Volume Manager must be completely removed from VERITAS Volume Manager control before you can delete them from the Sun Cluster environment. After you delete the LUN from any disk group, use the following commands on both nodes to remove the LUN from VERITAS Volume Manager control.
# vxdisk offline cNtXdY # vxdisk rm cNtXdY
Unmap the LUN from both host channels.
For the procedure on unmapping a LUN, see the Sun StorEdge 3000 Family RAID Firmware 3.27 User's Guide.
(Optional) Delete the logical drive.
For more information, see the Sun StorEdge 3000 Family RAID Firmware 3.27 User's Guide.
On both nodes, remove the paths to the LUN that you are deleting.
# devfsadm -C
On both nodes, remove all obsolete device IDs (DID)s.
# scdidadm -C
Maintaining Storage Arrays
This section contains the procedures for maintaining a storage array in a Sun Cluster environment. Maintenance tasks are listed in Table 1-2 contain cluster-specific tasks. Tasks that are not cluster-specific are referenced in a list following the table.
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's 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. |
Run the scdidadm -R command for each affected device.
Table 1-2 Task Map: Maintaining a Storage Array
Task | Information |
|---|---|
Add a storage array to a running cluster. | |
Remove a storage array from a running cluster. | |
Replace a disk drive in an storage array. | |
Replace a node-to-switch fiber optic cable. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace a gigabit interface converter (GBIC) or Small Form Factor Pluggable (SFP) on a node's host adapter. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace a GBIC or an SFP on an FC switch, connecting to a node. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace a storage array-to-switch fiber-optic cable. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace a GBIC or an SFP on an FC switch, connecting to a storage array. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace an FC switch. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace the power cord of an FC switch. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace the controller. | How to Replace a Fibre Channel Component in a Running Cluster |
Replace the chassis.
| |
Replace a host adapter in a node. | "Installing and Maintaining Cluster Interconnect Hardware" in Sun Cluster 3.x Hardware Administration Manual |
Sun Cluster system administration documentation | |
| Sun Cluster system administration documentation |
The following is a list of administrative tasks that require no cluster-specific procedures. See the Sun StorEdge 3000 Family Installation, Operation, and Service Manual for the following procedures.



