Set and remove cluster properties

Modify cluster behavior by setting or removing global properties. These settings determine how the cluster manages resource placement, fencing, and node failures. When you remove a specific configuration, the property reverts to its default system value.

Procedure

  • Set the value of a cluster property:
    # pcs property set property=value
  • For example, set the value of symmetric-cluster to false:
    # pcs property set symmetric-cluster=false
  • Remove a cluster property from the configuration:
    # pcs property unset property
  • Alternately, you can remove a cluster property from a configuration by leaving the value field of the pcs property set command blank. This restores that property to its default value. For example, if you have previously set the symmetric-cluster property to false, the following command removes the value you have set from the configuration and restores the value of symmetric-cluster to true, which is its default value:
    # pcs property set symmetic-cluster=