Airborne3d
New Pleskian
- Server operating system version
- Debian
- Plesk version and microupdate number
- Latest
Hello dear Plesk People,
I want to set up a cluster of servers in a load balancing configuration and also get the benefit of high availability. This is my first ever attempt to do anything like this, but with Plesk and Hetzner, it should be possible somehow - I just don't know exactly how yet.
I have read on multiple threads here that some people are running load balancers with Plesk, but they have never specified how their setup looks. However, my thought is to use Hetzner Cloud + Hetzner Load Balancer. The setup in mind is as follows:
In this setup, one server would act as the master. The master server would be used to manage all websites and also handle the scheduled backups.
I have not yet started to set this up since there are a few problems I'm seeing right now. The main issue is how do I sync all the Plesk instances with each other? For example, user creation, PHP settings changed by users, and so on.
In the proof of concept with the HA cluster "Link" they are not load balancing - they just have an active node and a passive node. They installed Plesk on 2 separate nodes and moved "Plesk" to the NFS too so both nodes can access the Plesk data. But I want multiple active nodes running in sync with each other.
So to all of you who have Plesk running behind a load balancer, how have you overcome this problem?
I want to set up a cluster of servers in a load balancing configuration and also get the benefit of high availability. This is my first ever attempt to do anything like this, but with Plesk and Hetzner, it should be possible somehow - I just don't know exactly how yet.
I have read on multiple threads here that some people are running load balancers with Plesk, but they have never specified how their setup looks. However, my thought is to use Hetzner Cloud + Hetzner Load Balancer. The setup in mind is as follows:
- Small cluster of MariaDB Galera + load balancer for the database to connect it to Plesk as an external database, as seen from this tutorial "Link"
- NFS to store all the website files; this could be a Storage Volume by Hetzner "Link" or any other available solutions
- 2-4 identical servers running Plesk + Hetzner Load Balancer, similar to this setup "Link"
In this setup, one server would act as the master. The master server would be used to manage all websites and also handle the scheduled backups.
I have not yet started to set this up since there are a few problems I'm seeing right now. The main issue is how do I sync all the Plesk instances with each other? For example, user creation, PHP settings changed by users, and so on.
In the proof of concept with the HA cluster "Link" they are not load balancing - they just have an active node and a passive node. They installed Plesk on 2 separate nodes and moved "Plesk" to the NFS too so both nodes can access the Plesk data. But I want multiple active nodes running in sync with each other.
So to all of you who have Plesk running behind a load balancer, how have you overcome this problem?