Before You Begin
This procedure assumes that you have already installed your hardware and software and have established the cluster. To configure an internal disk mirror during cluster installation, see the Oracle Solaris Cluster 4.3 Software Installation Guide.
![]() | Caution - If there are state database replicas on the disk that you are mirroring, you must recreate them during this procedure. |
Record this information because you use it later in this procedure to return resource groups and device groups to the node.
Use the following command:
# clresourcegroup status -n nodename # cldevicegroup status -n nodename
# clnode evacuate fromnode
# raidctl -c clt0d0 clt1d0
Creates the mirror of primary disk to the mirror disk. Enter the name of your primary disk as the first argument. Enter the name of the mirror disk as the second argument.
# shutdown -g 0 -i 0 -y ok> boot -s
Use the following command:
# cldevice repair /dev/rdsk/clt0d0
Updates the cluster's record of the device IDs for the primary disk. Enter the name of your primary disk as the argument.
# cldevice list
The command lists only the primary disk, and not the mirror disk, as visible to the cluster.
# shutdown -g 0 -i 0 -y ok> boot -s
# metadb -a /dev/rdsk/clt0d0s4
Perform the following step for each device group you want to return to the original node.
# cldevicegroup switch -n nodename devicegroup1[ devicegroup2 ...]
The node to which you are restoring device groups.
The device group or groups that you are restoring to the node.
Perform the following step for each resource group you want to return to the original node.
# clresourcegroup switch -n nodename resourcegroup1[ resourcegroup2 …]
For failover resource groups, the node to which the groups are returned. For scalable resource groups, the node list to which the groups are returned.
The resource group or groups that you are returning to the node or nodes.