Este conteúdo não está disponível no idioma selecionado.
Chapter 3. The pcs Command Line Interface
The
pcs
command line interface controls and configures corosync
and Pacemaker by providing an interface to the corosync.conf
and cib.xml
files.
The general format of the
pcs
command is as follows.
pcs [-f file] [-h] [commands]...
3.1. The pcs Commands
The
pcs
commands are as follows.
cluster
Configure cluster options and nodes. For information on thepcs cluster
command, see Chapter 4, Cluster Creation and Administration.resource
Create and manage cluster resources. For information on thepcs cluster
command, see Chapter 6, Configuring Cluster Resources, Chapter 8, Managing Cluster Resources, and Chapter 9, Advanced Configuration.stonith
Configure fence devices for use with Pacemaker. For information on thepcs stonith
command, see Chapter 5, Fencing: Configuring STONITH.constraint
Manage resource constraints. For information on thepcs constraint
command, see Chapter 7, Resource Constraints.property
Set Pacemaker properties. For information on setting properties with thepcs property
command, see Chapter 12, Pacemaker Cluster Properties.status
View current cluster and resource status. For information on thepcs status
command, see Section 3.5, “Displaying Status”.config
Display complete cluster configuration in user readable form. For information on thepcs config
command, see Section 3.6, “Displaying the Full Cluster Configuration”.