Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member albatroz's Avatar
    Join Date
    Mar 2003
    Location
    Virtual Orbis / Peru
    Posts
    108

    Default 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....

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 03-28-2011, 09:48 AM
  2. Automatically assign CPU cores to game servers ?
    By ZombieKillah in forum cPGS Discussions
    Replies: 5
    Last Post: 05-28-2010, 12:44 PM
  3. Best way to replicate an account?
    By pdstein in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-20-2006, 06:39 PM
  4. How to create subdomain automatically with new accounts
    By sebi in forum New User Questions
    Replies: 3
    Last Post: 11-01-2004, 07:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube