Installation guide

5.1.2. Viewing t he Current Clust er Configurat ion
If at any time during the creation of a cluster configuration file you want to print the current file, use
the following command, specifying a node in the cluster as the host:
ccs -h host --getconf
If you are creating your cluster configuration file on a local system you can specify the -f option
instead of the -h option, as described in Section 5.1.1, “Creating the Cluster Configuration File on a
Local System” .
5.1.3. Specifying ricci Passwords wit h t he ccs Command
Executing ccs commands that distribute copies of the cl uster.co nf file to the nodes of a cluster
requires that ricci be installed and running on the cluster nodes, as described in Section 2.13,
Considerations for ricci . Using ricci requires a password the first time you interact with ricci
from any specific machine.
If you have not entered a password for an instance of ricci on a particular machine from the
machine you are using, you will be prompted for that password when the ccs command requires it.
Alternately, you can use the -p option to specify a ricci password on the command line.
ccs -h host -p password --sync --activate
When you propagate the cl uster.co nf file to all of the nodes in the cluster with the --sync option
of the ccs command and you specify a ricci password for the command, the ccs command will use
that password for each node in the cluster. If you need to set different passwords for ricci on
individual nodes, you can use the --setco nf option with the -p option to distribute the
configuration file to one node at a time.
5.1.4 . Modifying Clust er Configurat ion Component s
You use the ccs command to configure cluster components and their attributes in the cluster
configuration file. After you have added a cluster component to the file, in order to modify the
attributes of that component you must remove the component you have defined and add the
component again, with the modified attributes. Information on how to do this with each component is
provided in the individual sections of this chapter.
The attributes of the cman cluster component provide an exception to this procedure for modifying
cluster components. To modify these attributes, you execute the --setcman option of the ccs
command, specifying the new attributes. Note that specifying this option resets all values that you do
not explicitly specify to their default values, as described in Section 5.1.5, “ Commands that Overwrite
Previous Settings .
5.1.5. Commands t hat Overwrit e Previous Set t ings
There are several options of the ccs command that implement overwriting semantics when setting
properties. This means that you can issue the ccs command with one of these options without
specifying any settings, and it will reset all settings to their default values. These options are as
follows:
--setto tem
--setd l m
Chapt er 5. Configuring Red Hat Hig h Availabilit y Add- O n Wit h t he ccs Command
69