Show Table of Contents
10.2. 设定和删除集群属性
请使用以下 pcs 命令设定集群属性。
pcs property set property=value
例如:使用以下命令将
symmetric-cluster 值设定为 false。
# pcs property set symmetric-cluster=false
可使用以下命令从配置中删除集群属性。
pcs property unset property
另外,也可以通过将
pcs property set 命令值字段留为空白,从配置中删除集群属性。这样可将该属性恢复成其默认值。例如:如果之前将 symmetric-cluster 属性设定为 false,以下命令可将已设定的值从配置中删除,并将 symmetric-cluster 恢复成默认值 true。
# pcs property set symmetic-cluster=
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.