Example--Removing a Disk Drive
The following example shows how to remove a disk drive from a storage array. The disk drive to be removed is d4.
# scdidadm -l d4
4 phys-schost-2:/dev/rdsk/c1t32d0 /dev/did/rdsk/d4
# luxadm remove_device -F /dev/rdsk/c1t32d0s2
WARNING!!! Please ensure that no file systems are mounted on these device(s).
All data on these devices should have been backed up.
The list of devices that will be removed is:
1: Box Name "venus1" front slot 0
Please enter 'q' to Quit or <Return> to Continue: <Return>
stopping: Drive in "venus1" front slot 0....Done
offlining: Drive in "venus1" front slot 0....Done
Hit <Return> after removing the device(s). <Return>
Drive in Box Name "venus1" front slot 0
Logical Nodes being removed under /dev/dsk/ and /dev/rdsk:
c1t32d0s0
c1t32d0s1
c1t32d0s2
c1t32d0s3
c1t32d0s4
c1t32d0s5
c1t32d0s6
c1t32d0s7
# devfsadm -C
# scdidadm -C
|
How to Add the First Storage Array
Use this procedure to install a storage array in a running cluster that does not yet have an existing storage array that is installed.
If you are installing a storage array in a running cluster that already has storage arrays installed and configured, use the procedure in How to Add a Subsequent Storage Array.
Perform the steps in this procedure in conjunction with the procedures in the Sun Cluster system administration documentation and your server hardware manual.
Determine if the storage array packages need to be installed on the nodes. These nodes are the node to which you are connecting the storage array. This product requires the following packages.
# pkginfo | egrep Wlux system SUNWluxd Sun Enterprise Network Array sf Device Driver system SUNWluxdx Sun Enterprise Network Array sf Device Driver (64-bit) system SUNWluxl Sun Enterprise Network Array socal Device Driver system SUNWluxlx Sun Enterprise Network Array socal Device Driver (64-bit) system SUNWluxop Sun Enterprise Network Array firmware and utilities
On each node, install any necessary packages for the Solaris operating environment.
The storage array packages are located in the Product directory of the CD-ROM. Use the pkgadd command to add any necessary packages.
# pkgadd -d path_to_Solaris/Product Pkg1 Pkg2 Pkg3 ... PkgN
path_to_Solaris Path to the Solaris operating environment
Pkg1 Pkg2 The packages to be added
Shut down and power off any node that is connected to the storage array.
For the procedure about how to shut down and power off a node, see Sun Cluster system administration documentation.
Install host adapters in the node that is to be connected to the storage array.
For the procedure about how to install host adapters, see the documentation that shipped with your network adapters and nodes.
Cable, configure, and power on the storage array.
For more information, see the Sun StorEdge A5000 Installation and Service Manual and the Sun StorEdge A5000 Configuration Guide.
Figure 1-2 shows a sample storage array configuration.
Note - You must use FC switches when installing storage arrays in a partner-group configuration. If you want to create a storage area network (SAN) by using two FC switches and Sun SAN software, see "SAN Solutions in a Sun Cluster Environment" in Sun Cluster 3.x Hardware Administration Manual for more information.
Figure 1-2 Adding a Sun StorEdge A5200 Storage Array in a Full-Loop Configuration

Perform a reconfiguration boot to create the new Solaris device files and links.
Determine if any patches need to be installed on nodes that are to be connected to the storage array.
For a list of patches specific to Sun Cluster, see your Sun Cluster release notes documentation.
Obtain and install any necessary patches on the nodes that are to be connected to the storage array.
For procedures about how to apply patches, see your Sun Cluster system administration documentation.
Note - Read any README files that accompany the patches before you begin this installation. Some patches must be installed in a specific order.
If required by the patch README instructions, shut down and reboot the node.
For the procedure about how to shut down and power off a node, see Sun Cluster system administration documentation.
Perform Step 3 through Step 9 for each node that is attached to the storage array.
Perform volume management administration to add the disk drives in the storage array to the volume management configuration.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.
How to Add a Subsequent Storage Array
Use this procedure to install a storage array in a running cluster that already has storage arrays installed and configured.
If you are installing a storage array in a running cluster that does not yet have a storage array that is installed, use the procedure in How to Add the First Storage Array.
Perform the steps in this procedure in conjunction with the procedures in the Sun Cluster system administration documentation and your server hardware manual.
Configure the new storage array.
Note - Each storage array in the loop must have a unique box ID. If necessary, use the front-panel module (FPM) to change the box ID for the new storage array that you are adding. For more information about loops and general configuration, see theSun StorEdge A5000 Configuration Guide and the Sun StorEdge A5000 Installation and Service Manual.
On both nodes, insert the new storage array into the cluster. Add paths to the disk drives.
# luxadm insert_device Please hit <RETURN> when you have finished adding Fibre Channel Enclosure(s)/Device(s):
Note - Do not press the Return key until you complete Step 3.
Cable the new storage array to a spare port in the existing hub, switch, or host adapter in your cluster.
For more information, see the Sun StorEdge A5000 Installation and Service Manual and the Sun StorEdge A5000 Configuration Guide.
Note - You must use FC switches when installing storage arrays in a partner-group configuration. If you want to create a storage area network (SAN) by using two FC switches and Sun SAN software, see "SAN Solutions in a Sun Cluster Environment" in Sun Cluster 3.x Hardware Administration Manual for more information.
After you cable the new storage array, press the Return key to complete the luxadm insert_device operation.
Waiting for Loop Initialization to complete... New Logical Nodes under /dev/dsk and /dev/rdsk : c4t98d0s0 c4t98d0s1 c4t98d0s2 c4t98d0s3 c4t98d0s4 c4t98d0s5 c4t98d0s6 ... New Logical Nodes under /dev/es: ses12 ses13
On both nodes, verify that the new storage array is visible to both nodes.
#luxadm probe
On one node, use the scgdevs command to update the DID database.
#scgdevs



