![]() This is also integrated into Debian as well.Īn alternative is to use client-side failover based on PostgreSQL’s libpq library. For Patroni there is the vip-manager project instead, which monitors the leader key in the DCS and sets or removes cluster VIP locally. ![]() Traditional high-availability solutions such as Pacemaker use virtual IPs (VIPs) here, which are pivoted to the new primary node in the event of a failover. Client-solutions for high availabilityįrom Moodle’s perspective, however, it must additionally be ensured that it is connected to the leader, otherwise no write transactions are possible. to change the Postgres configuration online on all nodes or to initiate a switchover. In addition, Patroni provides a REST API used for communication among nodes and from the patronictl program, e.g. In short, Patroni uses a distributed consensus store (DCS) to elect a leader from a typically 3-node cluster or initiate a failover and elect a new leader in the case of a leader failure, without entering a split-brain scenario. A good solution for PostgreSQL is Patroni, we reported on its Debian-integration in the past. High-Availability via PatroniĪn online learning platform can be considered critical infrastructure from the point of view of the educational system and should be made highly available, in particular the database. ![]() In this blog post, we present load-balancing options for Moodle using PostgreSQL. One of the database options for Moodle is PostgreSQL. This leads to scalability problems if suddenly several tens of thousands of pupils need to access Moodle.īesides scaling the Moodle application itself, the database needs to be considered as well. In some states in Germany all schools had to switch to Moodle and other platforms like BigBlueButton in the course of a few days. Especially since the beginning of the COVID-19 pandemic the importance of Moodle for schools and universities has further increased. Moodle is a popular Open Source online learning platform. 20 good reasons for choosing credativ ®.
0 Comments
Leave a Reply. |