此内容没有您所选择的语言版本。
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]...
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”.