Chapter 3. The pcs Command Line Interface
pcscommand line interface controls and configures
corosyncand Pacemaker by providing an interface to the
pcscommand is as follows.
pcs [-f file] [-h] [commands]...
3.1. The pcs Commands
pcscommands are as follows.
clusterConfigure cluster options and nodes. For information on the
pcs clustercommand, see Chapter 4, Cluster Creation and Administration.
stonithConfigure fence devices for use with Pacemaker. For information on the
pcs stonithcommand, see Chapter 5, Fencing: Configuring STONITH.
constraintManage resource constraints. For information on the
pcs constraintcommand, see Chapter 7, Resource Constraints.
propertySet Pacemaker properties. For information on setting properties with the
pcs propertycommand, see Chapter 12, Pacemaker Cluster Properties.
statusView current cluster and resource status. For information on the
pcs statuscommand, see Section 3.5, “Displaying Status”.
configDisplay complete cluster configuration in user readable form. For information on the
pcs configcommand, see Section 3.6, “Displaying the Full Cluster Configuration”.