I setup a cluster with two nodes with pacemaker 1.1.10 on CentOS 7. Then I downloaded a resource agent for nginx from github
I tested my setup like this:
- Node 1 is started with the nginx and vip, everyting is ok
- Kill Node1 nginx, wait for a few seconds
- See the ngnix and vip are moved to node2, failover succeeded, and Node1 doesn't have any resources active
- I kill nginx on node2, but nginx and vip don't come back to Node1
Why won't pacemaker let the resource come back to Node1? What did I miss here?