Galera arbitrator comes with the galera cluster and it’s a daemon to avoid an split brain situation for a mysql cluster typically configured with two nodes. An split brain in clustering is a situation where one node of a cluster is not be able to communicate and synchronize with other node on the cluster, and this situation behave to lock the resources of the cluster. To avoid this garb will running in an other server, a good allocation may be the load balancing server (HaProxy recommended) and this node will connect with the group member of the galera cluster, believing that this server is a another member of the cluster with available resources.


Download and install galera binary package

– 32 bits:

# wget && dpkg -i mysql-server-wsrep-5.5.28-23.7-i386.deb

– 64 bits:

# wget && dpkg -i mysql-server-wsrep-5.5.28-23.7-amd64.deb

– Running galera arbitrator daemon:

# garbd -a gcomm:// -g my_wsrep_cluster -l /var/log/garbd.log -d

Configuring persistent configuration for garbd

# vi /etc/default/garb

# A space-separated list of node addresses (address[:port]) in the cluster
# Galera cluster name, should be the same as on the rest of the nodes.
# Log file for garbd. Optional, by default logs to syslog

Start garbd at boot time

# update-rc.d garb defaults

– Now the number of nodes of the cluster has to show as three:

mysql> show status like 'wsrep%';

| wsrep_cluster_size         | 3        |


Configuring Galera arbitrator
Tagged on:             

3 thoughts on “Configuring Galera arbitrator

  • February 10, 2013 at 12:45

    I actually intend to save this particular blog, “Configuring Galera arbitrator
    | [email protected]#” on my own blog. Will you care in the event I
    actuallydo? Many thanks ,Ernie

    • February 10, 2013 at 13:59

      Hi Ernie!! of course, you are free to share this post, the objective with the posts of this blog it’s to share the functionality of different technologies and help to any people to understand and configure it. Thanks!! 😉

  • March 2, 2013 at 16:50

    “Configuring Galera arbitrator | [email protected]#” godlessradio.
    ended up being a beneficial blog post. If merely there was more
    personal blogs similar to this excellent one on the actual world-wide-web.
    At any rate, thanks a lot for your personal precious
    time, Britney


Leave a Reply


Get every new post delivered to your Inbox

Join other followers: