Skip to main content

Fully Synced Cpanel Servers

Comments

6 comments

  • vanessa
    Do you really need to sync configurations, as opposed to just syncing website content?
    0
  • joaquimsa
    Hello, Users will have acess to the control panel, no matter the server active at the moment . Changes done in the user account must be replicated . Also if a new account is added it must exists in both servers, i guess we need to sync cpanel configurations, users files, etc.
    0
  • vanessa
    In that case, you'll probably need to wrap rsync around a script, and have the script adjust the configuration after the sync is done, or skip certain files that would be dangerous to copy.
    0
  • joaquimsa
    Seems the right direction, in fact doing an IP replace on the files after the sync and rebuilding apache seems a light and simple operation. I will start doing some tests. Thanks a lot.
    0
  • cPanelMichael
    Hello :) I just wanted to point out some threads that you might find helpful: Load Balancing Between 2 cPanel Servers Load Balancing Load Balancing Servers cPanel Load Balanced Servers Also, feel free to add your input to the following active feature requests: Active Redundancy or High Availability Build in Load Balancing Thank you.
    0
  • dalem
    we sync one of our servers across data centers /usr/bin/rsync -vrplogDtH -e "ssh -p#" --delete --exclude=virtfs/ --exclude=sites_we_dont_want_to_replicate/ /home/ root@IP:/home DNS is hosted elsewhere round robin Databases are dumped and loaded on the fall over server every 15 minutes (good enough for what we are using it for) the rsync every hour (good enough for what we are using it for) both servers are configured exactly the same works like a charm the mail settings do not change from server to server so we do not need to sync that but you could sync some of the configs over just as well (only the things that change )
    0

Please sign in to leave a comment.