Comment 5 for bug 1130595

Revision history for this message
Sergey (sergeymishine) wrote :

Actually, i got Galera working over IPv6-only network.

To get Galera working over IPv6 you need add following line to your my.cnf(or replace if you already have the same one) _across all your nodes_:

wsrep_provider_options = "gmcast.listen_addr=tcp://[::]:4567;"

Also, i'm using Percona version of Galera cluster(XtraDB cluster), so there is included script for SST transfer /usr/bin/wsrep_sst_xtrabackup-v2. To make it working over IPv6 you need apply following sed:

# sed -i -e 's/socat -u/socat -6 -u/' /usr/bin/wsrep_sst_xtrabackup-v2

After that just run /etc/init.d/mysql start and node should get the SST.