Hi there,
So I've read through most of the threads on here regarding HA and LB with cPanel and how this feature is not supported (cPanel needs to catch up!).
I also know a service 'AUTOM8N' does what I need, however, I wanted to see if I can do this myself before relying on a 3rd party to future proof it.
I have an EC2 instance on AWS with a master WHM/cPanel account and I have another EC2 instance with a DNS ONLY cPanel server with both of them linked via WHM DNS Clustering.
My emails are external, I use an external MySQL (RDS on AWS) and all my LB will ideally be done through AWS as well.
I'm using EFS (NFS mounted drive) on both servers under the directory /home so they both have the same files.
My only problem is on the slave server, how do I point domains/use the DNS zones that are synced via the cluster feature to point to the same file directories?
The idea is the slaves work WITHOUT WHM/cPanel and just use Apache & PHP to run the files (emails and MySQL is external so no issues there).
If anyone has done something like this, please shed some light here!
Thanks in advance.
So I've read through most of the threads on here regarding HA and LB with cPanel and how this feature is not supported (cPanel needs to catch up!).
I also know a service 'AUTOM8N' does what I need, however, I wanted to see if I can do this myself before relying on a 3rd party to future proof it.
I have an EC2 instance on AWS with a master WHM/cPanel account and I have another EC2 instance with a DNS ONLY cPanel server with both of them linked via WHM DNS Clustering.
My emails are external, I use an external MySQL (RDS on AWS) and all my LB will ideally be done through AWS as well.
I'm using EFS (NFS mounted drive) on both servers under the directory /home so they both have the same files.
My only problem is on the slave server, how do I point domains/use the DNS zones that are synced via the cluster feature to point to the same file directories?
The idea is the slaves work WITHOUT WHM/cPanel and just use Apache & PHP to run the files (emails and MySQL is external so no issues there).
If anyone has done something like this, please shed some light here!
Thanks in advance.