This is a read-only copy of the MariaDB Knowledgebase generated on 2024-12-24. For the latest, interactive version please visit https://mariadb.com/kb/.

MaxScale fail over with normal and docker setup

Hi,

1. How to handle fail over of MaxScale ? 2. How can we setup another MaxScale as a standby in case Master Maxscale is down? 3. If above thing is possible then can you provide us step by step process to setup following environment : - Normal - Docker

Thanks Pankaj GHADGE

Answer Answered by Markus Mäkelä in this comment.

Usually MaxScale high availability is achieved by running two instances of MaxScale on separate servers. A higher level load balancer then needs to handle the case when the master MaxScale is unresponsive.

Usually this is done by using Corosync/Pacemaker or Keepalived. Here's an article on how to set up MaxScale HA with Corosync/Pacemaker: https://mariadb.com/resources/blog/mariadb-maxscale-high-availability-active-standby-cluster

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.