You can display the pcs commands that can be used to re-create configured cluster properties on a different system using the --output-format=cmd option of the pcs property config command.
Procedure
-
The following command sets the
migration-limit cluster property to 10:
# pcs property set migration-limit=10
-
After you set the cluster property, the following command displays the
pcs command you can use to set the cluster property on a different system.
# pcs property config --output-format=cmd
pcs property set --force -- \
migration-limit=10 \
placement-strategy=minimal