Hi,
i want start XtraDB Cluster behind NAT with change ports.
For example i have HOST with IP 5.5.5.5 and XtraDB Cluster node behind NAT with ip 10.10.10.10 and ports
5.5.5.5:31082 → 10.10.10.10:3306
5.5.5.5:31083 → 10.10.10.10:4444
5.5.5.5:31084 → 10.10.10.10:4567
5.5.5.5:31085 → 10.10.10.10:4568
What i must add to my.cnf config if i want connect to exist cluster cluster.com (cluster cant connect to 10.10.10.10 without port forwarding)? Is anything else except wsrep_sst_receive_address and ist.recv_addr?
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
innodb_log_file_size=48M
binlog_format=ROW
wsrep_cluster_address=gcomm://cluster.com
wsrep_sst_auth=sst:xxx
wsrep_provider=/usr/lib/galera3/libgalera_smm.so
# default 4444
wsrep_sst_receive_address = 5.5.5.5:31083
# ist.recv_addr - default 4568 - This variable specifies the address on which nodes listens for Incremental State Transfer (IST).
wsrep_provider_options = "ist.recv_addr=tcp://5.5.5.5:31085;"
bind-address = *