<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Virtual Ip on FromDual GmbH</title><link>https://www.fromdual.com/tags/virtual-ip/</link><description>Recent content in Virtual Ip on FromDual GmbH</description><generator>Hugo</generator><language>en-GB</language><managingEditor>oli.sennhauser@fromdual.com (Oli Sennhauser)</managingEditor><webMaster>oli.sennhauser@fromdual.com (Oli Sennhauser)</webMaster><copyright>© FromDual GmbH</copyright><lastBuildDate>Wed, 29 Jan 2025 20:29:50 +0000</lastBuildDate><atom:link href="https://www.fromdual.com/tags/virtual-ip/index.xml" rel="self" type="application/rss+xml"/><item><title>Making HAProxy High Available for MySQL Galera Cluster</title><link>https://www.fromdual.com/blog/making-haproxy-high-available-for-mysql-galera-cluster/</link><pubDate>Sun, 14 Dec 2014 18:37:50 +0000</pubDate><author>oli.sennhauser@fromdual.com (Oli Sennhauser)</author><guid>https://www.fromdual.com/blog/making-haproxy-high-available-for-mysql-galera-cluster/</guid><description>&lt;p&gt;After properly installing and testing a &lt;a href="http://galeracluster.com/" target="_blank" title="Galera Cluster"&gt;Galera Cluster&lt;/a&gt; we see that the set-up is not finished yet. It needs something in front of the Galera Cluster that balances the load over all nodes.&lt;br&gt;
So we install a load balancer in front of the Galera Cluster. Typically nowadays &lt;a href="http://www.haproxy.org" target="_blank" title="HAProxy: The again. The failover should happen automatically. For this we need a Virtual IP which should automatically failover.Reliable, High Performance TCP/HTTP Load Balancer"&gt;HAProxy&lt;/a&gt; is chosen for this purpose. But then we find, that the whole Galera Cluster is still not high available in case the load balancer fails or dies. So we need a second load balancer for high availability.&lt;br&gt;
But how should we properly failover when the HAProxy load balancer dies? For this purpose we put a Virtual IP (VIP) in front of the HAProxy load balancer pair. The Virtual IP is controlled and failovered with &lt;a href="http://www.keepalived.org" target="_blank" title="VIP: Keepalived for Linux"&gt;Keepalived&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>