Top
PRIMECLUSTER  Cluster Foundation Configuration and Administration Guide 4.5
FUJITSU Software

3.6.5 Restoring the Resource Database

The procedure for restoring the Resource Database is as follows:

  1. Copy the file containing the Resource Database to all nodes in the cluster.

  2. Log in to each node in the cluster and shut it down with the following command:

    #/usr/sbin/shutdown -y -i0
  3. 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.

  4. Reboot each node to single user mode with the following command:

    # mountall -l 
    # zfs mount -a 
  5. 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
  6. 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