Installing Pacemaker Heartbeat for High Availability Cloud is a way to configure your Servers, specially running CMS like WordPress where HA Cloud can help. Installing Pacemaker is for servers not human! This is important preface as on Google search this post might show wrongly due to my profile for the peoples who are searching for pacemaker device. We previously published how to create a Scalable MySQL Database for WordPress with Rackspace Cloud, when the user has no root access or lazy to work more.
Brief Introduction on Installing Pacemaker Heartbeat for High Availability Cloud
If you are using CentOS or Ubuntu there are lot of resources that will help for Installing Pacemaker Heartbeat combo. WordPress is a fantastic CMS but unfortunately only caching is not sufficient, especially websites with huge load. This problem of performance can be solved by Installing Pacemaker Heartbeat and thereby creating a High Availability Cloud. DRBD in Pacemaker or Simple HA Rabbit is frequently used performance tweaks for non WordPress usages. But we basically need MySQL Scalable Server.
Steps for Installing Pacemaker Heartbeat for High Availability Cloud
Do not use an active website to test this method of Installing Pacemaker Heartbeat for High Availability Cloud if you are not sure what you are doing.
This is not a full guide for Installing Pacemaker, but rather defines the ways how you can deploy HA Cloud. Spin up at least two servers with 2 GB + RAM for the proper setup. CentOS or Ubuntu is the best choice for the setup, for various aspects, Fedora is not really easy to most and there are not much detailed instructions or guides available.Advertisement
The address of repo is :
There are clearly visible distinct repo for 32 bit and 6 bit system :
For Rackspace, the servers are 64 bit. So point from your browser first to check manually. Debian, Fedora, Gentoo, Mandriva, SUSE, Ubuntu has prebuilt packages in their repo.
We are taking both servers (two IP , usually) are Ubuntu, to install the packages, run :
apt-get install heartbeat pacemaker
Important to do list for Installing Pacemaker Heartbeat for High Availability Cloud :
- Assign Static IP Addresses
- Create Keys
- Install Required Packages plus update /etc/apt/sources.list for Pacemaker, Hearbeat
- Configure Apache 2
- Configure Heartbeat
This is an outline for Installing Pacemaker Heartbeat for High Availability Cloud, in next guide we will show the steps as usually.