ichpen
Well-known member
I'm thinking more of a low budget/low key somewhat High(er) Availability.
Previously I was running a simple setup with 2 VMs and a load balancer provided by one of my VPS providers:
CloudFlare -> LB node (Pool of 2 with failover)-> All-in-One VM 1 (lsyncd and mariadb/mysql master) replicating to -> VM2 (passive slave). In case of failure at VM1 the LB would switch traffic over mostly automatically. But backfilling VM1 was a manual process obviously.
Not an ideal setup as I don't like to run all in one servers with DB etc and I don't have geo redundant LBs either but on a shoe string budget it sort of worked. Plus at mercy of sync daemons and slave writes not getting naughty during a crash.
My XF forum is not busy enough to warrant full blown HA so I'm curious what others are running on smaller forums to at least minimize outages or potentially roll out updates safely to prod (outside of a staging area which we should all have).
Now I'm thinking of setting up a new XF 2 forum with more resilient infra but keeping costs down and without resorting to 5+ VMs. Ideally you'd want 2 LBs, 2 WWWs, 3 DBs (galera master-master replication) and likely 2 VMs for a Gluster FS or some other distributed filesystem. It's too much admin for my liking. Is there a middle ground?
Opinions?
Previously I was running a simple setup with 2 VMs and a load balancer provided by one of my VPS providers:
CloudFlare -> LB node (Pool of 2 with failover)-> All-in-One VM 1 (lsyncd and mariadb/mysql master) replicating to -> VM2 (passive slave). In case of failure at VM1 the LB would switch traffic over mostly automatically. But backfilling VM1 was a manual process obviously.
Not an ideal setup as I don't like to run all in one servers with DB etc and I don't have geo redundant LBs either but on a shoe string budget it sort of worked. Plus at mercy of sync daemons and slave writes not getting naughty during a crash.
My XF forum is not busy enough to warrant full blown HA so I'm curious what others are running on smaller forums to at least minimize outages or potentially roll out updates safely to prod (outside of a staging area which we should all have).
Now I'm thinking of setting up a new XF 2 forum with more resilient infra but keeping costs down and without resorting to 5+ VMs. Ideally you'd want 2 LBs, 2 WWWs, 3 DBs (galera master-master replication) and likely 2 VMs for a Gluster FS or some other distributed filesystem. It's too much admin for my liking. Is there a middle ground?
Opinions?
Last edited: