Perform these steps on any Pacemaker node as the root user:
- Add a colocation for DRBD to Pacemaker with crm:
crm configure colocation col_pg_drbd \ inf: PGServer ms_drbd_pg:Master
- Add a colocation for the e-mail alert with crm:
crm configure colocation col_pg_mail \ inf: pg_mail PGServer
- Add a resource order to Pacemaker with crm:
crm configure order ord_pg \ inf: ms_drbd_pg:promote PGServer:start
- Display the status of our new group with crm:
crm resource status