Apache active/passive Cluster

I"m reading this:

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)?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.