Hi all. I am trying to set up 3 node server. So I started with 2 nodes and set one of them as slave for regular percona server. One node (N1) in west colo second on east AWS (N2). When I bootstrap node 1 (N1) and join it as a slave to the regular percona, everyhing goes fine. When I connect N2 to cluster ans it starts SST, "show slave status’ on N1 starts showing lag and it increasing. So 35G DB copying over network for 50 min. After it copied ~2000 sec lag appears and continue slowly increasing ( +1 sec lag in 3 sec). To get rid of this I have to stop mysql on N2 and start it again after N1 catches all data from a master. But even after that lag starts to increasing again. Here are what I have:
Percona master:
Percona-Server-shared-compat-5.5.29-rel29.4.401.rhel6.x86_64
Percona-Server-shared-55-5.5.29-rel29.4.401.rhel6.x86_64
Percona-Server-server-55-5.5.29-rel29.4.401.rhel6.x86_64
percona-xtrabackup-2.0.5-499.rhel6.x86_64
Percona-Server-client-55-5.5.29-rel29.4.401.rhel6.x86_64
N1 and N2:
percona-release-0.0-1.x86_64
Percona-XtraDB-Cluster-client-55-5.5.34-25.9.607.rhel5.x86_64
Percona-XtraDB-Cluster-galera-2-2.8-1.157.rhel5.x86_64
Percona-XtraDB-Cluster-server-55-5.5.34-25.9.607.rhel5.x86_64
Percona-Server-shared-compat-5.5.24-rel26.0.256.rhel5.x86_64
Percona-XtraDB-Cluster-shared-55-5.5.34-25.9.607.rhel5.x86_64
percona-xtrabackup-2.1.6-702.rhel5.x86_64
my.cnf on N1 and N2:
xtradb cluster settings
binlog_format = ROW
wsrep_cluster_name = mycluster
wsrep_cluster_address = gcomm://N1,N2
wsrep_node_address = N1
wsrep_provider = /usr/lib64/libgalera_smm.so
#wsrep_sst_method = xtrabackup
wsrep_sst_method = xtrabackup
wsrep_sst_auth = sst:secret
innodb_locks_unsafe_for_binlog = 1
innodb_autoinc_lock_mode = 2
wsrep_provider_options = “gcache.size=5G; gcs.fc_limit=512”
tmpdir = /var/lib/mysql/tmp/
Thanks for helping. Zaur.