标签:style http color io os ar for strong 文件
集群名 | pxc_lk |
节点1: | 192.168.1.20 |
节点2: | 192.168.1.21 |
节点3: | 192.168.1.22 |
basedir =/opt/mysql/Percona-XtraDB-Cluster-5.5.37-rel35.0-25.10.756.Linux.x86_64
datadir =/data/mysql/pxc_3308/data
tmpdir =/data/mysql/pxc_3308/tmp
server_id =203308
#percona xtradb cluster
binlog_format = ROW
--日志格式必须为ROWdefault_storage_engine=InnoDB
innodb_locks_unsafe_for_binlog=1
innodb_autoinc_lock_mode=2
wsrep_cluster_name=pcx_lk
--cluster的名字wsrep_cluster_address=gcomm://192.168.1.20,192.168.1.21,192.168.1.22 --集群中所有node-ip
wsrep_node_address=192.168.1.20 --每个节点配置为自己的ip
wsrep_provider=/usr/local/pxc_3308/lib/libgalera_smm.so
#wsrep_sst_method=rsync
wsrep_sst_method=xtrabackup
wsrep_sst_auth=sst:wubxwubx --运输的用户
basedir=/opt/mysql/Percona-XtraDB-Cluster-5.5.37-rel35.0-25.10.756.Linux.x86_64
datadir=/data/mysql/pxc_3308/data
15、高可用 PXC(percona xtradb cluster) 搭建
标签:style http color io os ar for strong 文件
原文地址:http://www.cnblogs.com/kissdb/p/4009636.html