February 2020
Intermediate to advanced
734 pages
38h 13m
English
As with the previous recipe, we begin by adding a primitive to Pacemaker. For the sake of consistency and simplicity, we name this resource pg_lvm. To manage LVM, we also need to specify the ocf:heartbeat:LVM resource agent.
The only parameter (params) that concerns us regarding the LVM resource agent is volgrpname, which we set to VG_POSTGRES. The other options we set are more advisory minimum values, which reflect the number of seconds we should wait before considering an operation as failed.
In our case, we wait 30 seconds ...
Read now
Unlock full access