By mikeabrown09
I have the following set up…
LB -> apache cluster (3 hosts) -> Gluster cluster (4 hosts w/ replication) | | V Load Balancer -> db cluster (3 hosts w/ Galera)
My question is should this be how it is set up? The two load balancers would physically be the same one just have different rules to send data for apache to the apache cluster and then mariadb to the db cluster.
please let me know
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
The setup looks good. As long as you are using a DigitalOcean managed Loadbalancer it should be OK, as DigitalOcean Load Balancers are configured with automatic failover to maintain availability even when failures occur at the balancing layer. Internally, the active balancing component is monitored and fails over to a standby if necessary, meaning your load balancer is never a single point of failure.
If you are not planning to use managed Loadbalancer but HAProxy for example, I would suggest using Heartbeat and Floating IP and setup 2 HPAproxy load balancers:
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.