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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.