Changes between Version 16 and Version 17 of GROUPReplicate3


Ignore:
Timestamp:
11/28/22 08:16:34 (2 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUPReplicate3

    v16 v17  
    113113    --group-replication-group-name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \
    114114    --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' \
    116116    --loose-group-replication-single-primary-mode='OFF' \
    117117    --loose-group-replication-enforce-update-everywhere-checks='ON'
     
    124124       SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee';
    125125       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';
    127127       SET @@GLOBAL.group_replication_bootstrap_group=1;
    128128       change master to master_user='repl' for channel 'group_replication_recovery';
     
    136136mysql>  SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee';
    137137        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";
    139139        SET @@GLOBAL.group_replication_bootstrap_group=0;
    140140        SET @@global.group_replication_recovery_retry_count=5;
     
    148148mysql>  SET @@GLOBAL.group_replication_group_name='aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee';
    149149        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";
    151151        SET @@GLOBAL.group_replication_bootstrap_group=0;
    152152        SET @@global.group_replication_recovery_retry_count=5;
     
    155155        SELECT * FROM performance_schema.replication_group_members;
    156156}}}
     157
     158On nodedb3 192.168.81.12, use mysql cmd to do
     159{{{
     160mysql>  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}}}