This write-up will detail the process of creating location constraints in a Pacemaker cluster. This is done when you want to have an resource or resource group prefer to run on a specific node in the cluster. 1 – Verify the current list of constraints using the pcs constraint list command.
1 2 |
pcs constraint list --full |
Example Output
1 2 3 4 5 |
Location Constraints: Ordering Constraints: Colocation Constraints: Ticket Constraints: |
…