High availability setup, possible when running cagefs ?
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Richard Hordern
  2. 30.07.2014
  3.  Subscribe via email

We are looking into finding a way to provide a high availabilty setup to our shared hosting customers running on 2+ servers with load balancing IP's.

DNS => we use cPanal's DNS Cluster

MySQL => we would install a seperate high availibity cluster.

E-mail => we would either queue e-mail on a secondary mx server or set up a high availability e-mail solution using a high availaility nas plus an e-mail cluster, maybe even run dovecot + exim on the other server with rync to copy their configs over and a cron to restart them like with Apache

User's files => we would install a high availability NAS for user directories

Apache / Litespeed config => I'm thinking about just adding an rsync deamon or someting to sync the httpd config files and relaod the weserver every 5 minutes on the backup serveur with a simple cron job.

In case of an outage, our system would detect that the server is down and simply move the IP to the other server and then bring it back when the server comes back up.

When a server is down, it's not important to us if services like FTP and cPanel aren't available

On a server without CageFS and PHP Selector this seems quite simple… Any idea how this could be done with CageFS and PHPSelector on both servers ?

Thanks !
Rate this post:
  1. 30.07.2014 23:07:59
  2. # 1
Daniel Parvanov Accepted Answer
Posts: 7
Joined: 12.07.2014
You concept for HA is on a wrong level that's too complex  and dozen things can go wrong

It will be simple to virtualize your environment... do a shared storage between the servers with DRBD or Gluster FS... With quality hardware and native support for gluster in kvm for overhead will be under 10%. And you only one license for VM

Open Sorce

There are even videos on youtube how to configure that
  1. 31.07.2014 02:07:50
  2. # 2
Richard Hordern Accepted Answer
Posts: 212
Joined: 19.03.2011

Thanks I\'ll look into that.

At the moment I was more looking into adding HA to existing server but I guess you are right I should use full virualisation.

I heard that proxmox wasn\'t that stable but I\'m going to give it another look to see if something like this could be easily done.

Thanks :)
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.

EU e-Privacy Directive

This website uses cookies to ensure you get the best experience using our website and services. If you prefer we don’t use cookies, please disable them in your browser.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.