posted by 떠돌이늑대 2019. 10. 21. 14:42

Performing SSTs with IPv6 Addresses

If you are performing Mariabackup SSTs with IPv6 addresses, then the socat utility needs to be passed the pf=ip6 option. This can be done by setting the sockopt option in the [sst] option group in an option file. For example:

 

[sst]

sockopt=",pf=ip6"

 

 

See MDEV-18797 for more information.

 

https://mariadb.com/kb/en/library/mariabackup-sst-method/

 

mariabackup SST Method

The mariabackup SST method uses the Mariabackup utility for performing SSTs.

mariadb.com

https://mariadb.com/kb/en/library/xtrabackup-v2-sst-method/

 

xtrabackup-v2 SST Method

The xtrabackup-v2 SST method uses the Percona XtraBackup utility for performing SSTs.

mariadb.com

 

 

 

1st solution - (not good, need edit the script):
edit /usr/bin/wsrep_sst_xtrabackup-v2(or wsrep_sst_mariabackup), line 532:
replace
tcmd="socat -u TCP-LISTEN:${TSST_PORT},reuseaddr${sockopt} stdio"
to
tcmd="socat -u TCP6-LISTEN:${TSST_PORT},reuseaddr${sockopt} stdio"

restart mysql and sst will work using xtrabackup-v2.(or mariabackup)

 

 

'컴이야기 > MariaDB' 카테고리의 다른 글

Maxscale Fail-Over, Switch-Over, Re-Join  (0) 2020.05.26
Maxscale serversize ,weightby  (0) 2020.05.22
Maxscale 2.3.6  (1) 2019.07.12
Galera Cluster error  (0) 2019.06.14
Galera Cluster Replication.  (0) 2019.03.18