Best way to have failover/backup?

daknight

Registered
Oct 24, 2014
2
0
51
cPanel Access Level
Root Administrator
Hi there,

We are at stage where we need to have a backup or failover in case the primary goes down. We were thinking about 2 options:

1. DNS switch over to secondary server if primary goes down. The primary server and sec. server is a mirror
2. Sec. is not a mirror. It just contains a line "Hello, our server is down right now. Please visit later"

Are these two alternatives good (easy?) enought or do you guys have better suggestion?:rolleyes:
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hello,

Yes, You can setup this with the dnsmadeeasy services. With this services you can switch your DNS to second server.

dnsmadeeasy.com/services/dns-failover-system-monitoring/
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello :)

cPanel currently supports clustering for DNS purposes only. There is support to host your databases on a remote MySQL server, however beyond that, there are no native options that allow for management of services across multiple servers. I recommend searching our forums for "mirroring" and "high availability" for custom solutions that other users may have implemented. There are lots of discussions about the best ways to do this. EX:

Load Balancing Between 2 cPanel Servers
Load Balancing
Load Balancing Servers
cPanel Load Balanced Servers

Also, feel free to add your input to the following active feature requests:

Active Redundancy or High Availability
Build in Load Balancing

Thank you.
 

electric

Well-Known Member
Nov 5, 2001
789
10
318
2. Sec. is not a mirror. It just contains a line "Hello, our server is down right now. Please visit later"
This is a paid value-added option we offer to our customers. For $x month, we will set them up with a 3rd party DNS management service (dnsmadeeasy, et al) and then create another small cpanel account for them on a server in another datacenter.

So if their main server goes down, then it will automatically fail-over to their "Our website is temporarily out of service" message until their server comes back up.

The system works well, but it's a manual process to set it up for each customer who wants it.

We run our own DNS Cluster (using cpanel DNS-Only), so I wish there was a way we could do this totally in-house without needing the 3rd party DNS service provider like dnsmadeeasy. But we don't have a monitoring system that can automatically change the DNS for effected accounts... (If anyone knows of one, please let me know.)
 
Last edited: