The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is it possible to automatically replicate Cpanel accounts across servers?

Discussion in 'Data Protection' started by albatroz, May 23, 2009.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    258
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    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. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...
Similar Threads - possible automatically replicate
  1. boughtonp
    Replies:
    2
    Views:
    364

Share This Page