These are the detailed steps to replace a failed local non-boot disk. In this example, phys-hahost2 contains the disk that failed.
(Optional) Shut down the Sun Cluster services on the node with the failed disk and halt the node.
You may not need to perform this step if the node boots from a SPARCstorage Array disk. However, if the disk to be replaced is on the same SCSI bus as the functioning boot disk, you must shut down Sun Cluster and halt the node.
# scadmin stopnode ... # halt |
Perform the disk replacement.
Use the procedure described in the service manual for your Sun Cluster node.
Start the node in single-user mode.
Run the format(1M) or fmthard(1M) command to repartition the new disk.
Make sure that you partition the new disk exactly as the disk that was replaced. (Saving the disk format information is outlined in Chapter 1, Preparing for Sun Cluster Administration.)
Run the newfs(1M) command on the new slices to create file systems.
Run the mount(1M) command to mount the appropriate file systems.
Specify the device and mount points for each file system.
Restore data from a backup copy.
Use the instructions in the Solaris System Administration documentation to perform this step.
Reboot the node.
Start Sun Cluster on the local host.
phys-hahost1# scadmin startnode |
Switch back the logical hosts to the default master, if necessary.
If manual mode is not set, an automatic switchback will occur.
phys-hahost2# haswitch phys-hahost2 hahost2 |