Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:latest:highavailability [2019/01/15 15:54] (current)
Line 1: Line 1:
 +====== High availability ======
 +
 +LemonLDAP::​NG is highly scalable, so easy to insert behind a load-balancer:​
 +  * Portal does not store any data outside the session database, so you can have many portal servers using the same HTTP host name
 +  * All handlers download the whole configuration,​ so many servers can serve the same virtual hosts
 +
 +You can for example set up a fail-over cluster with [[http://​www.linux-ha.org/​wiki/​Heartbeat|Heartbeat]] and [[http://​haproxy.1wt.eu/​|HAproxy]],​ like this:
 +
 +{{ :​documentation:​ha-apache.png |}}
 +
 +You just have to share configuration and sessions databases between those servers:
 +
 +{{ :​documentation:​ha-sessions-configuration.png |}}