PXC(Percona XtraDB Cluster)单机多实例与多集群安装配(2)

wsrep_cluster_address          =gcomm://192.168.252.227:5567,192.168.252.228:5567,192.168.252.229:5567wsrep_node_address              = 192.168.252.228:5567

wsrep_provider_options          = "base_port=5567"

wsrep_provider                  =/usr/local/mysql/lib/libgalera_smm.so

wsrep_sst_method                = xtrabackup-v2

wsrep_sst_auth                  = thunder:thunder

4. 安装cluster3

除配置文件外,其它与cluster1安装一样,

###PXC ###

default_storage_engine=Innodb

innodb_locks_unsafe_for_binlog  = 1

innodb_autoinc_lock_mode        = 2

wsrep_cluster_name              = cluster3

wsrep_cluster_address          = gcomm://192.168.252.227:6567,192.168.252.228:6567,192.168.252.229:6567

wsrep_node_address              = 192.168.252.228:6567

wsrep_provider_options          = "base_port=6567"

wsrep_provider                  =/usr/local/mysql/lib/libgalera_smm.so

wsrep_sst_method                = xtrabackup-v2

wsrep_sst_auth                  = thunder:thunder

5. 说明:

1.PXC不支持myisam引擎,在node1上创建myisam表后,其它节点不会进行复制。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/b1370f932b03b3d4cb577e40548888c6.html