Greetings,
New to cPanel so please bear with me. I want to setup two cPanel servers in a High-Availabilty (well as much as possible) type fashion. I want to have one server be the primary and the other server as a hot-spare. If the first one goes down (as far as the world is concerned) then the other server needs to take over.
Is there anything available now that can do this with cPanel?
If not, then here is how I imagine I would have to approach this. As I don't have much experiance with cPanel Please correct me or direct me towards better solutions if needed:
Use heartbeat to setup virtual IPs (http://linux-ha.org, handles IP failover)
Configure both cPanel servers to use the virtual IP as it's main IP.
- May have to shutdown cPanel services on the stand-by box (ServerB) and start it during failover
Cron scripts on ServerB:
- List all accounts on primary server (ServerA) and add any that don't exist on ServerB [Cpanel::Accounting?]
- Sync home directories
- Sync FTP password files
- Sync shadow (somehow, and carefully)
- Sync anything else that seems important
Configure MySQL to do bin logging and setup Master/Slave replication
Setup DNS clustering via Cpanel
Any comments, good, bad, or of warning on this approach?
Thanks in Advance,
Damion



LinkBack URL
About LinkBacks
Reply With Quote





