Hi all,
Wanted to ask some advice here.
I have a customer with a number of sites that need to be load-balanced. The idea here is to have two web servers, a load balancer, and a single MySQL server between them. Each web server, running cPanel, would use the single mysql server for databases.
Is this an advisable setup? Is it safe to connect two cPanel servers to a single remote mysql server? I know there’s a warning in the docs about it, but has anyone actually used it?
If not, can I simply have the remote mysql server connected to one server, and have the applications on the other connected to the DB server IP directly?
How do you manage grants and users etc? Do these need to be manually added?
Looking forward to hearing your advice/horror stories/best practices
Wanted to ask some advice here.
I have a customer with a number of sites that need to be load-balanced. The idea here is to have two web servers, a load balancer, and a single MySQL server between them. Each web server, running cPanel, would use the single mysql server for databases.
Is this an advisable setup? Is it safe to connect two cPanel servers to a single remote mysql server? I know there’s a warning in the docs about it, but has anyone actually used it?
If not, can I simply have the remote mysql server connected to one server, and have the applications on the other connected to the DB server IP directly?
How do you manage grants and users etc? Do these need to be manually added?
Looking forward to hearing your advice/horror stories/best practices