Ce contenu n'est pas disponible dans la langue sélectionnée.
6.4. Backing Up and Restoring the Cluster Database
The Cluster Configuration Tool automatically retains backup copies of the three most recently used configuration files (besides the currently used configuration file). Retaining the backup copies is useful if the cluster does not function correctly because of misconfiguration and you need to return to a previous working configuration.
Each time you save a configuration file, the Cluster Configuration Tool saves backup copies of the three most recently used configuration files as
/etc/cluster/cluster.conf.bak.1
, /etc/cluster/cluster.conf.bak.2
, and /etc/cluster/cluster.conf.bak.3
. The backup file /etc/cluster/cluster.conf.bak.1
is the newest backup, /etc/cluster/cluster.conf.bak.2
is the second newest backup, and /etc/cluster/cluster.conf.bak.3
is the third newest backup.
If a cluster member becomes inoperable because of misconfiguration, restore the configuration file according to the following steps:
- At the Cluster Configuration Tool tab of the Red Hat Cluster Suite management GUI, click => .
- Clicking system-config-cluster dialog box to be displayed.causes the
- At the system-config-cluster dialog box, select a backup file (for example,
/etc/cluster/cluster.conf.bak.1
). Verify the file selection in the box and click . - Increment the configuration version beyond the current working version number as follows:
- Click=> .
- At the Cluster Properties dialog box, change the value and click .
- Click=> .
- Clicking system-config-cluster dialog box to be displayed.=> causes the
- At the system-config-cluster dialog box, select
/etc/cluster/cluster.conf
and click . (Verify the file selection in the box.) - Clicking Information dialog box to be displayed. At that dialog box, click .causes an
- Propagate the updated configuration file throughout the cluster by clicking.
Note
The Cluster Configuration Tool does not display the button if the cluster is new and has not been started yet, or if the node from which you are running the Cluster Configuration Tool is not a member of the cluster. If the button is not displayed, you can still use the Cluster Configuration Tool; however, you cannot propagate the configuration. You can still save the configuration file. For information about using the Cluster Configuration Tool for a new cluster configuration, refer to Chapter 5, Configuring Red Hat Cluster Withsystem-config-cluster
. - Clicking Warning dialog box to be displayed. Click to propagate the configuration.causes a
- Click thetab and verify that the changes have been propagated to the cluster members.