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

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.