Modifying The Cluster Configuration; Backing Up And Restoring The Cluster Database - Red Hat CLUSTER MANAGER - INSTALLATION AND Administration Manual

Table of Contents

Advertisement

Section 8.5:Backing Up and Restoring the Cluster Database
When the system is able to rejoin the cluster, use the following command:
/sbin/chkconfig --add cluster
Then reboot the system or run the cluster start command located in the System V init direc-
tory. For example:
/sbin/service cluster start

8.4 Modifying the Cluster Configuration

It may be necessary at some point to modify the cluster configuration. For example, it may be neces-
sary to correct heartbeat channel or quorum partition entries in the cluster database, a copy of which
is located in the /etc/cluster.conf file.
Use the cluconfig and cluadmin utility to modify the cluster configuration. Do not modify the
cluster.conf file manually. To modify the cluster configuration, stop the cluster software on one
cluster system, as described in Section 8.2, Starting and Stopping the Cluster Software.
Then, invoke the cluconfig utility, and specify the correct information at the prompts. After running
the utility, restart the cluster software.

8.5 Backing Up and Restoring the Cluster Database

It is recommended to regularly back up the cluster database, especially before making any significant
changes to the cluster configuration.
To back up the cluster database to the /etc/cluster.conf.bak file, invoke the cluadmin
utility, and specify the cluster backup command. For example:
cluadmin> cluster backup
You can also save the cluster database to a different file by invoking the cluadmin utility and spec-
ifying the cluster saveas filename command.
To restore the cluster database, follow these steps:
1. Stop the cluster software on one system by invoking the cluster stop command located in
the System V init directory. For example:
/sbin/service cluster stop
The previous command will cause the cluster system's services to fail over to the other cluster
system.
133

Advertisement

Table of Contents
loading

Table of Contents