Changes between Version 16 and Version 17 of GROUPReplicate3
- Timestamp:
- 11/28/22 08:16:34 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUPReplicate3
v16 v17 113 113 --group-replication-group-name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \ 114 114 --group-replication-local-address="192.168.81.36:33061" \ 115 --group-replication-group-seeds='192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061 ' \115 --group-replication-group-seeds='192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061,192.168.81.12:33061' \ 116 116 --loose-group-replication-single-primary-mode='OFF' \ 117 117 --loose-group-replication-enforce-update-everywhere-checks='ON' … … 124 124 SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'; 125 125 SET @@GLOBAL.group_replication_local_address='192.168.81.36:33061'; 126 SET @@GLOBAL.group_replication_group_seeds='192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061 ';126 SET @@GLOBAL.group_replication_group_seeds='192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061,192.168.81.12:33061'; 127 127 SET @@GLOBAL.group_replication_bootstrap_group=1; 128 128 change master to master_user='repl' for channel 'group_replication_recovery'; … … 136 136 mysql> SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'; 137 137 SET @@GLOBAL.group_replication_local_address="192.168.81.11:33061"; 138 SET @@GLOBAL.group_replication_group_seeds="192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061 ";138 SET @@GLOBAL.group_replication_group_seeds="192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061,192.168.81.12:33061"; 139 139 SET @@GLOBAL.group_replication_bootstrap_group=0; 140 140 SET @@global.group_replication_recovery_retry_count=5; … … 148 148 mysql> SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'; 149 149 SET @@GLOBAL.group_replication_local_address="192.168.81.10:33061"; 150 SET @@GLOBAL.group_replication_group_seeds="192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061 ";150 SET @@GLOBAL.group_replication_group_seeds="192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061,192.168.81.12:33061"; 151 151 SET @@GLOBAL.group_replication_bootstrap_group=0; 152 152 SET @@global.group_replication_recovery_retry_count=5; … … 155 155 SELECT * FROM performance_schema.replication_group_members; 156 156 }}} 157 158 On nodedb3 192.168.81.12, use mysql cmd to do 159 {{{ 160 mysql> SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'; 161 SET @@GLOBAL.group_replication_local_address="192.168.81.12:33061"; 162 SET @@GLOBAL.group_replication_group_seeds="192.168.81.36:33061,192.168.81.11:33061,192.168.81.10:33061,192.168.81.12:33061"; 163 SET @@GLOBAL.group_replication_bootstrap_group=0; 164 SET @@global.group_replication_recovery_retry_count=5; 165 change master to master_user='repl' for channel 'group_replication_recovery'; 166 START GROUP_REPLICATION; 167 SELECT * FROM performance_schema.replication_group_members; 168 }}}