Report this

What is the reason for this report?

Apache active/passive Cluster

Posted on July 27, 2018

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



This textbox defaults to using Markdown to format your 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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.