Load Balance Two cPanel Servers
Hello
i have been a week searching all over the internet figure How could i load balance website between two servers share with mysql and apache resources synchronize information and files
Hope someone here help me about, and would be this thread a good resources for search
Regards,
-
It's quite easily done believe it or not. Use rysync to keep the public_html folders synced and use MySQL replication to handle mysql. On one server that you deem the master, use post account creation hooks and the API to create accounts on the other server to keeps things in sync. You'll also need a load balancer. 0 -
cPanel currently supports clustering for DNS purposes only. There is support to host your databases on a remote MySQL server, however beyond that, there are no native options that allow for mirroring of your websites or automatic replacement of a network/IP address if the event another fails. I recommend searching our forums for "mirroring" and "high availability" for custom solutions that other users may have implemented. There are lots of discussions about the best ways to do this. EX: 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
Please sign in to leave a comment.
Comments
2 comments