10.3. Querying Cluster Property Settings
In most cases, when you use the
pcscommand to display values of the various cluster components, you can use
pcs showinterchangeably. In the following examples,
pcs listis the format used to display an entire list of all settings for more than one property, while
pcs showis the format used to display the values of a specific property.
To display the values of the property settings that have been set for the cluster, use the following pcs command.
pcs property list
To display all of the values of the property settings for the cluster, including the default values of the property settings that have not been explicitly set, use the following command.
pcs property list --all
To display the current value of a specific cluster property, use the following command.
pcs property show property
For example, to display the current value of the
cluster-infrastructureproperty, execute the following command:
pcs property show cluster-infrastructureCluster Properties: cluster-infrastructure: cman
For informational purposes, you can display a list of all of the default values for the properties, whether they have been set to a value other than the default or not, by using the following command.
pcs property [list|show] --defaults