How to Replace a Node's Host Adapter
Use this procedure to replace a failed host adapter in a running cluster. This procedure defines Node N as the node with the failed host adapter you are replacing.
Determine the resource groups and device groups that are running on Node N.
Record this information because you use this information in Step 11 of this procedure to return resource groups and device groups to these nodes.
# scstat
For more information, see your Sun Cluster system administration documentation.
Move all resource groups and device groups off Node A.
# scswitch -S -h from-node
For more information, see your Sun Cluster system administration documentation.
Shut down Node N.
For the procedure about how to shut down and power off a node, see your Sun Cluster system administration documentation.
Power off Node N.
For more information, see your Sun Cluster system administration documentation.
Replace the failed host adapter.
For the procedure about how to remove and add host adapters, see the documentation that shipped with your host adapters and nodes.
Power on Node N.
For more information, see your Sun Cluster system administration documentation.
Boot Node N into single-user mode.
For more information about how to boot nodes, see your Sun Cluster system administration documentation.
If necessary, upgrade the host adapter firmware on Node N.
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.
Boot Node N into cluster mode.
For more information about how to boot nodes, see your Sun Cluster system administration documentation.
On Node N, update the paths to the DID instances.
# scdidadm -C # scdidadm -r
Return the resource groups and device groups that you identified in Step 1 to Node N.
# 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.
How to Replace an FC Switch or Storage Array-to-Switch Component
Use this procedure to replace an FC switch, or the following storage array-to-switch components in a running cluster.
Fiber-optic cable that connects an FC switch to a storage array
GBIC on an FC switch, connecting to a storage array
FC switch
Replace the component by using the following references.
For the procedure about how to replace a fiber-optic cable between a storage array and an FC switch, see the documentation that shipped with your switch hardware.
For the procedure about how to replace a GBIC on an FC switch, see the documentation that shipped with your switch hardware.
For the procedure about how to replace an FC switch, see the documentation that shipped with your switch hardware.
Note - If you are replacing an FC switch and you intend to save the switch configuration for restoration to the replacement switch, do not connect the cables to the replacement switch until after you recall the Fabric configuration to the replacement switch. For more information about how to save and recall switch configurations see the documentation that shipped with your switch hardware.
Note - Before you replace an FC switch, be sure that the probe_timeout parameter of your data service software is set to more than 90 seconds. Increasing the value of the probe_timeout parameter to more than 90 seconds avoids unnecessary resource group restarts when one of the FC switches is powered off.
How to Replace a Node-to-Switch/Storage Component
Use this procedure to replace the following node-to-switch/storage components in a running cluster. This procedure defines Node N as the node that is connected to the component you are replacing. Node B is the remaining node that is connected to the component you are replacing.
Node-to-switch fiber-optic cable
Node-to-storage fiber-optic cable, assuming you have direct attached storage
GBIC (gigabit interface converter) on an FC (Fibre Channel) switch, connecting to a node
Determine the resource groups and device groups that are running on Node A.
Record this information because you use this information in Step 4 of this procedure to return resource groups and device groups to these nodes.
# scstat
For more information, see your Sun Cluster system administration documentation.
Move all resource groups and device groups to Node B.
# scswitch -S -h from-node
For more information, see your Sun Cluster system administration documentation.
Replace the node-to-switch/storage component.
For the procedure about how to replace a fiber-optic cable between a node and an FC switch, see the documentation that shipped with your switch hardware.
For the procedure about how to replace a GBIC on an FC switch, see the documentation that shipped with your switch hardware.
Return the resource groups and device groups that you identified in Step 1 to Node A.
# scswitch -z -g resource-group -h nodename # scswitch -z -D device-group-name -h nodename



