ramesh604

Member
Nov 15, 2019
6
0
1
India
cPanel Access Level
Root Administrator
Hi,

I have two WHM servers. I wanted to cluster these whm servers and sync all the data from one server to another server so that whenever I lost one server, I can easily point all domains to another without losing any data.

Is it possible to configure? Please let me know how to configure this.

Thanks,
Ramesh
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
192
74
153
Denmark
cPanel Access Level
Root Administrator
In general I wouldn't recommend it - I'd rather build up redundancy/availability in another way.
You could use products like AUTOM8N to accomplish what you are looking for though :)
 

cPAdminsMichael

Well-Known Member
Dec 19, 2016
192
74
153
Denmark
cPanel Access Level
Root Administrator
Just second note Ramesh - you may also want to look into JetBackup's Clone feature where you can setup JetBackup to schedule a clone of all accounts to a secondary cPanel server.
 
  • Like
Reactions: cPanelLauren

hmaddy

Well-Known Member
May 6, 2020
382
39
28
Chennai
cPanel Access Level
Root Administrator
Just second note Ramesh - you may also want to look into JetBackup's Clone feature where you can setup JetBackup to schedule a clone of all accounts to a secondary cPanel server.
sir, i think its not a good recommendations. because both servers needs the licenses and it no one can afford it
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
sir, i think its not a good recommendations. because both servers needs the licenses and it no one can afford it
There are plenty of people who budget for disaster recovery @anoopk350 and it is a viable solution to the OP's question. As a reminder, let's keep conversations here productive, hijacking someone else's thread with your opinion, and no recommendation/alternate suggestion is not productive.
 

WorkinOnIt

Well-Known Member
Aug 3, 2016
312
54
78
UK
cPanel Access Level
Root Administrator
One possible way forward is to use a load balanced set up with a floating IP in front of two (or more) cpanel servers. That way, only one license is needed (AFAIK ?) because you are only technically using one IP address. In this situation, if one machine falls over (or you are taking it down for maintenance), the other will take over and continue per normal. The problem with this setup is it's usually only possible within a single datacentre - so it still does not cater for datacentre downtime / disaster (or for some issue on the load balanced router etc!). Furthermore, you still need to work out how to sync the files, emails and data between the two (or more) load balanced cpanel servers (you can use e.g. rsync and Galaera mysql). It's complex, as you can see.

It is probably most cost effective / better to seek an already available 'High Availability' solution from a datacentre service provider or a hardware vendor e.g. AWS - but that is expensive too... there are also hosting providers that offer HA solutions, but again these may not be very cost effective if you are on a budget - and it also means leaving it to someone else, so you're not really learning.
 

Michael-Inet

Well-Known Member
Feb 20, 2014
134
20
68
Nashville, TN, USA
cPanel Access Level
Root Administrator
Hi Ramesh,

I have two WHM servers. I wanted to cluster these whm servers and sync all the data from one server to another server so that whenever I lost one server, I can easily point all domains to another without losing any data.
Is it possible to configure?
Yes it can be done. We offer that service to our clients.

Please let me know how to configure this.
I don’t see anyone doing that. You don’t seem to understand you’re asking someone to GIVE you 10’s of thousands of US dollars of learning and knowledge.
As a reference point, our lowest bid is $1,000 US per quarter to do what you’re asking which only covers a single Drupal website[1].

Regards,
Michael

[1] We do have other services standard included in that like DNS cluster, nightly second data hosting company backups, etc.
 

gnusys

Well-Known Member
Jan 18, 2013
62
21
58
cPanel Access Level
DataCenter Provider
This can be done for a fraction of the cost ( like unlimited domains for 16 USD/ month ) using third party plugins. Yes - Configuring a cluster is time-consuming and knowledge-intensive, but once it is automated! it is just another dumb task that the machines do
 

Michael-Inet

Well-Known Member
Feb 20, 2014
134
20
68
Nashville, TN, USA
cPanel Access Level
Root Administrator
As a reference point, our lowest bid is $1,000 US per quarter to do what you’re asking which only covers a single Drupal website[1].
[1] We do have other services standard included in that like DNS cluster, nightly second data hosting company backups, etc.
This can be done for a fraction of the cost ( like unlimited domains for 16 USD/ month ) using third party plugins. Yes - Configuring a cluster is time-consuming and knowledge-intensive, but once it is automated! it is just another dumb task that the machines do
And we are completely talking apples and oranges. Does that 16 USD/ month include 2 servers (in 2 separate geolocations and in 2 differently owed hosting companies), 2 separate cPanel licenses, and maintaining and updating a Drupal website?

Does it include someone, e.g. not the client, performing server monitoring and complete server administration? To include monitoring and tuning MySQL database(s), configuring and maintaining Linux, Apache, NGINX, and PHP (LAMP stack +NGINX) software specifically for a Drupal environment, and keeping the client from having to talk Geek with a traditional hosting company.

Does it include a DNS cluster completely separate from the servers (again not only in separate geolocations, but also in differently owed hosting companies)? Does it include nightly backups to a server not one of any of the servers mentioned above?

Does it include replacing servers over time as they become outdated?


Thought not...


All that said, AUTOM8N does look like a useful tool.

Best,
Michael
 

gnusys

Well-Known Member
Jan 18, 2013
62
21
58
cPanel Access Level
DataCenter Provider
It does - include 2 servers (in 2 separate geolocations and in 2 differently owed hosting companies). It does NOT require an additional cPanel license for the 2nd node ( which I think is more like a feature if we calculate the cost). Monitoring/tuning/managing etc are included with an additional 60 USD/month too
 

Michael-Inet

Well-Known Member
Feb 20, 2014
134
20
68
Nashville, TN, USA
cPanel Access Level
Root Administrator
It does - include 2 servers (in 2 separate geolocations and in 2 differently owed hosting companies).
So for $16/US per month I get 2 separate dedicated servers? What are the hardware specs on those?

I generally pay ~$100/month for this:

CPU Core i9 9900K
Memory 32GB DDR4 RAM
HDD1 1TB NVMe SSD

If you can give me 2 of those for $16 per month I'm all in...
 

gnusys

Well-Known Member
Jan 18, 2013
62
21
58
cPanel Access Level
DataCenter Provider
No this is for the software/automation solution the op asked. which they must include on their own hardware and can host unlimited domains/subdomains/addon-domains in cPanel
 

renecd

Member
Mar 26, 2020
12
1
3
badland-vibes-tackiness-handoff
cPanel Access Level
DataCenter Provider
If you need to have specialists working on it, then why bother with Cpanel? This is like having your ordinary, comfortable, easy to drive for anyone, family-car, and you want to participate in a F1 race. You spend a fortune on new engine, suspension and brakes and think you can compete with a real F1 car.

If you have cash like "our lowest bid is $1,000 US per quarter" then why not go directly to Kubernetes on AWS? Now you're in the big boys league, at the same price or less.
 
  • Like
Reactions: raisulmushfeq