As a cluster resource manager, Pacemaker has some defaults that we are interested in changing. Pacemaker is very powerful, so it makes several assumptions about the composition of cluster resources and nodes it controls. One of which is that there are several nodes and not just two.
This works well for large cooperative networks of web servers or independent services that can operate transiently. However, we have two nodes that are very much dependent on shared storage that can only be used by one node at a time. So, this recipe is going to perform three tasks:
- Disable STONITH because we don't currently have STONITH-enabled hardware.
- Disable cluster quorum because two systems cannot produce a meaningful vote.
- Enable resource stickiness to prevent disruptive automated node swaps.