I"m reading this: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-apache-active-passive-cluster-using-pacemaker-on-centos-7

and wondering… if webnode1 fails completely… how it would reallocate to webnode2? Everything was configured on webnode1 as the primary… maybe i’ve missed something in the tutorial.

Could this howto be followed where you use a third, in a different datacenter, to point to other servers (also in seperate datacenters)?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Pacemaker is installed on both hosts.

From the tutorial:

Step 3 — Installing Pacemaker
Now we will install the Pacemaker stack. You have to complete this step on both hosts.

This way when Host1 dies completely, Host2 that is also running Pacemaker doesn’t receive an “up” state from Host1 and immediately takes over.

You can install pacemaker amongst as many nodes as you like and across datacenters. But you have to ensure that you have good connectivity between datacenters as Pacemaker is constantly checking between the hosts to ensure what state they are in.

Submit an Answer