Show Table of Contents
Chapter 2. The pcs Command Line Interface
pcscommand line interface provides the ability to control and configure
The general format of the
pcscommand is as follows.
pcs [-f file] [-h] [commands]...
2.1. The pcs Commands
pcscommands are as follows.
clusterConfigure cluster options and nodes. For information on the
pcs clustercommand, see Chapter 3, Cluster Creation and Administration.
stonithConfigure fence devices for use with Pacemaker. For information on the
pcs stonithcommand, see Chapter 4, Fencing: Configuring STONITH.
constraintManage resource constraints. For information on the
pcs constraintcommand, see Chapter 6, Resource Constraints.
propertySet Pacemaker properties. For information on setting properties with the
pcs propertycommand, see Chapter 10, Pacemaker Cluster Properties.
statusView current cluster and resource status. For information on the
pcs statuscommand, see Section 2.5, “Displaying Status”.
configDisplay complete cluster configuration in user-readable form. For information on the
pcs configcommand, see Section 2.6, “Displaying the Full Cluster Configuration”.