Where to Go From Here
To create a logical volume, see How to Add a Logical Volume.
Maintaining Storage Arrays
This section contains a limited set of procedures about how to maintain a storage array. Contact your service provider to add, remove, or replace any storage array components.
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-2 Task Map: Maintaining a Storage Array
Task | Information |
|---|---|
Add a storage array. | |
Remove a storage array. | |
Sun Cluster system administration documentation | |
Sun Cluster system administration documentation | |
How to Replace an FC Switch or Storage Array-to-Switch Component | |
How to Add a Storage Array
Use this procedure to add a new storage array to a running cluster.
This procedure defines Node A as the node with which you begin working. Node B is the remaining node.
If you need to add a storage array to more than two nodes, repeat Step 24 through Step 40 for each additional node that connects to the storage array.
Power on the storage array.
Note - The storage array requires approximately 10 minutes to boot.
Contact your service provider to power on the storage array.
If you plan to use multipathing software, verify that the storage array is configured for multipathing.
Contact your service provider to verify that the storage array is configured for multipathing.
Configure the new storage array.
Contact your service provider to create the desired logical volumes.
Do you need to install a host adapter in Node A?
Note - If you use multipathing software, each node requires two paths to the same set of LUNs.
For the procedure about how to install host adapters, see the documentation that shipped with your host adapters and nodes.
Is the host adapter that you are installing the first host adapter on Node A?
Is your node enabled with the Solaris dynamic reconfiguration (DR) feature?
If yes, install the host adapter.
For the procedure about how to install a host adapter, see the documentation that shipped with your host adapter or updated information on the manufacturer's web site.
If no, shut down this node to install the host adapter(s). Proceed to Step 7.
Determine the resource groups and device groups that are running on Node A and Node B.
Record this information because you use this information in Step 40 of this procedure to return resource groups and device groups to these nodes.
# scstat
For more information, see your Sun Cluster system administration documentation.
Shut down and power off Node A.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Install the host adapter in Node A.
For the procedure about how to install a host adapter, see the documentation that shipped with your host adapter or updated information on the manufacturer's web site.
Power on and boot Node A into noncluster mode.
For the procedure about how to boot a node in noncluster mode, see your Sun Cluster system administration documentation.
If necessary, upgrade the host adapter firmware on Node A.
See the Sun Cluster release notes documentation for information about accessing Sun's Info Docs on http://sunsolve.sun.com. The Info Docs list information about required patches and firmware that are available for download. For the procedure about how to apply host adapter firmware, see the firmware patch README file.
Attach the storage array to Node A.
Contact your service provider to install a fiber-optic cable between the storage array and your node.
Configure the host adapter and the storage array.
Contact your service provider to configure the adapter and storage array.
If you plan to install multipathing software, which multipathing solution do you plan to install?
Install any required patches or software for Sun StorEdge Traffic Manager software support on Node A.
For the procedure on how to install the Sun StorEdge Traffic Manager software, see the Sun StorEdge Traffic Manager Installation and Configuration Guide at http://www.sun.com/products-n-solutions/hardware/docs/. For a list of required patches for Sun StorEdge Traffic Manager software, see the Sun StorEdge Traffic Manager Software Release Notes on http://www.sun.com/storage/san.
Edit the /kernel/drv/scsi_vhci.conf file to activate the Sun StorEdge Traffic Manager software functionality. Set the mpxio-disable parameter to no. Skip to Step 18.
mpxio-disable="no"
Install Sun StorEdge 9900 Dynamic Link Manager (Sun SDLM) software and any required patches for Sun SDLM software support on Node A.
For the procedure about how to install the Sun SDLM software, see the documentation that shipped with your storage array.
Shut down Node A.
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 on Node A.
On Node A, configure all controllers that are affected by the new physical path.
# cfgadm -c configure cN
On each node connected to the storage array, verify that the same set of LUNs is visible to the expected controllers.
# format
See the format command man page for more information about how to use the command.
On Node A, update the paths to the DID instances.
# scdidadm -C # scdidadm -r
(Optional) On Node A, verify that the DIDs are assigned to the new storage array.
# scdidadm -l
Do you need to install a host adapter in Node B?
Note - If you use multipathing software, each node requires two paths to the same set of LUNs.
For the procedure about how to install host adapters, see the documentation that shipped with your host adapters and nodes.
Is the host adapter that you are installing the first host adapter on Node B?
Is your node enabled with the Solaris dynamic reconfiguration (DR) feature?
If yes, install the host adapter.
For the procedure about how to install a host adapter, see the documentation that shipped with your host adapter or updated information on the manufacturer's web site.
If no, proceed to Step 27.
Shut down and power off Node B.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Install the host adapter in Node B.
For the procedure about how to install a host adapter, see the documentation that shipped with your host adapter or updated information on the manufacturer's web site.
If necessary, upgrade the host adapter firmware on Node B.
See the Sun Cluster release notes documentation for information about accessing Sun's Info Docs on http://sunsolve.sun.com. The Info Docs list information about required patches and firmware that are available for download. For the procedure about how to apply host adapter firmware, see the firmware patch README file.
Power on and boot Node B into noncluster mode.
For the procedure about how to boot a node in noncluster mode, see your Sun Cluster system administration documentation.
Attach the storage array to Node B.
Contact your service provider to install a fiber-optic cable between the storage array and your node.
If you plan to install multipathing software, which multipathing solution do you plan to install?
Install any required patches or software for Sun StorEdge Traffic Manager software support on Node B.
For the procedure on how to install the Sun StorEdge Traffic Manager software, see the Sun StorEdge Traffic Manager Installation and Configuration Guide at http://www.sun.com/products-n-solutions/hardware/docs/. For a list of required patches for Sun StorEdge Traffic Manager software, see the Sun StorEdge Traffic Manager Software Release Notes on http://www.sun.com/storage/san.
Edit the /kernel/drv/scsi_vhci.conf file to activate the Sun StorEdge Traffic Manager software functionality. Set the mpxio-disable parameter to no. Skip to Step 36.
mpxio-disable="no"
Install Sun StorEdge 9900 Dynamic Link Manager (Sun SDLM) software and any required patches for Sun SDLM software support on Node B.
For the procedure about how to install the Sun SDLM software, see the documentation that shipped with your storage array.
Shut down Node B.
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 on Node B.
On Node B, update the paths to the DID instances.
# scdidadm -C # scdidadm -r
(Optional) On Node B, verify that the device IDs (DIDs) are assigned to the new storage array.
# scdidadm -l
Return the resource groups and device groups that you identified in Step 7 to Node B.
# scswitch -z -g resource-group -h nodename # scswitch -z -D device-group-name -h nodename
For more information, see your Sun Cluster system administration documentation.
Repeat Step 24 through Step 40 for each additional node that connects to the storage array.
Perform volume management administration to incorporate the new logical volumes into the cluster.
For more information, see your Solstice DiskSuite/Solaris Volume Manager or VERITAS Volume Manager documentation.



