Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > cPanel and WHM Data Protection

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-23-2009, 03:54 PM
albatroz's Avatar
Registered User
 
Join Date: Mar 2003
Location: Virtual Orbis / Peru
Posts: 71
albatroz
Is it possible to automatically replicate Cpanel accounts across servers?

I have 2 Cpanel VPS and a Cpanel reseller account, each of them with different providers.
What I would like to do is replicate my company's website, billing and support sites across
the 3 locations, for achieving a fail over configuration. I would like to know if what I
am thinking is possible or not....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-23-2009, 04:17 PM
Registered User
 
Join Date: Mar 2003
Location: Washington DC
Posts: 598
eth00
Depends on what level of "replication" you want, sure if its just for the 3 accounts.

The easiest is to use rsync to keep /home/username in sync. If files are not updated that frequently a cron every 10-60 minutes should be fine.

You then can use MySQL replication to keep the other servers updated in real time.

If you want true replication checkout DRBD, though it can be bandwidth intensive and really not practical for this.

There are also other files such as the mail aliases you could periodically rsync if they change.

Mail use backup MX records.

Probably some other things I am missing but that is a good start, basically look at what you need to keep in sync and how often then go from there.
__________________
John W
Security and general linux how-to's
w w w . t o t a l s e r v e r s o l u t i o n s . c o m
Tss -- Live Support! Tweaking, Securing, 24x7 Service Monitoring, Monthly Management, Migrations, Restores, Optimization, Consulting
English And Spanish Support!
We do it all @ TotalServerSolutions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:00 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc