This recipe will assume pg1 is currently the active node, and we want to move PostgreSQL to pg2. Perform these steps on either Pacemaker node as the root user:
- Initiate the migration with crm:
crm resource migrate PGServer pg2
- Remove the continued forced migration with this command:
crm resource unmigrate PGServer
- Use crm to display the currently active node:
crm resource status PGServer