Show Table of Contents
第 2 章 pcs 命令行界面
pcs 命令行界面通过为 corosync.conf 文件 cib.xml 提供界面,从而控制和配置 corosync 及 Pacemaker。
pcs 命令一般格式如下。
pcs [-f file] [-h] [commands]...
2.1. pcs 命令
pcs 命令如下。
cluster配置集群选项和节点。有关pcs cluster的详情请参考 第 3 章 集群创建及管理。resourcestonith将 fence 设备配置为与 Pacemaker 一同使用。有关pcs stonith命令的详情请参考 第 4 章 Fencing:配置 STONITH。constraint管理资源限制。有关pcs constraint命令的详情请查看 第 6 章 资源限制。property设定 Pacemaker 属性。有关使用pcs property命令设定属性的详情请查看 第 10 章 Pacemaker 集群属性。status查看当前集群和资源状态。有关pcs status命令的详情请查看 第 2.5 节 “显示状态”。config以用户可读格式显示完整集群配置。有关pcs config命令的详情请查看 第 2.6 节 “显示完整集群配置”。

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.