| 1 |
include/group_replication.inc [rpl_server_count=3] |
| 2 |
Warnings: |
| 3 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 4 |
Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information. |
| 5 |
[connection server1] |
| 6 |
# 1. Start group replication on all servers |
| 7 |
[connection server1] |
| 8 |
include/start_and_bootstrap_group_replication.inc |
| 9 |
[connection server2] |
| 10 |
include/start_group_replication.inc |
| 11 |
[connection server3] |
| 12 |
include/start_group_replication.inc |
| 13 |
# 2. First primary server should be server1 as it boostrapped the group |
| 14 |
include/gr_find_a_primary.inc |
| 15 |
[connection server1] |
| 16 |
include/gr_wait_primary_member_uuid.inc |
| 17 |
include/assert.inc [Assert that server1 is primary] |
| 18 |
include/stop_group_replication.inc |
| 19 |
# 3. Verify next primary is elected based on uuid ordered lexicographically. |
| 20 |
include/gr_find_a_primary.inc |
| 21 |
include/gr_wait_primary_member_uuid.inc |
| 22 |
include/assert.inc [Assert that next primary uuid matches] |
| 23 |
include/stop_group_replication.inc |
| 24 |
# 4. Verify next primary is elected based on uuid ordered lexicographically. |
| 25 |
include/gr_find_a_primary.inc |
| 26 |
include/gr_wait_primary_member_uuid.inc |
| 27 |
include/assert.inc [Assert that next primary uuid matches] |
| 28 |
include/group_replication_end.inc |