The procedure for restoring the Resource Database is as follows:
Copy the file containing the Resource Database to all nodes in the cluster.
Log in to each node in the cluster and shut it down with the following command:
#/usr/sbin/shutdown -y -i0
Reboot each node to single user mode with the following command:
{0} ok boot -s
Note
The restore procedure requires that all nodes in the cluster must be in single user mode.
Reboot each node to single user mode with the following command:
# mountall -l # zfs mount -a
Reboot each node to single user mode with the following command:
# clrestorerdb -f file
file is the backup file with the .tar.Z suffix omitted.
For example, suppose that a restoration was being done on a two-node cluster consisting of nodes fuji2 and fuji3, and that the backup file was copied to /mydir/backup_rdb.tar.Z on both nodes. The command to restore the Resource Database on fuji2 and fuji3 would be as follows:
fuji2# cd /etc/opt/FJSVcluster/bin/ fuji2# ./clrestorerdb -f /mydir/backup_rdb.tar.Z fuji3# cd /etc/opt/FJSVcluster/bin/ fuji3# ./clrestorerdb -f /mydir/backup_rdb.tar.Z
After Steps 1 through 5 have been completed on all nodes, then reboot all of the nodes with the following command:
#/usr/sbin/shutdown -y -i6