| | 91 | |
| | 92 | 9. Test replicate node2 out from group |
| | 93 | {{{ |
| | 94 | root@n2:/home/ubuntu# docker stop node2 |
| | 95 | }}} |
| | 96 | |
| | 97 | 10. Check on node1 |
| | 98 | {{{ |
| | 99 | root@n3:/home/ubuntu# docker exec -it 26 mysql -uroot -pmypass -e "SELECT * FROM performance_schema.replication_group_members;" |
| | 100 | mysql: [Warning] Using a password on the command line interface can be insecure. |
| | 101 | +---------------------------+--------------------------------------+-------------+-------------+--------------+-------------+----------------+----------------------------+ |
| | 102 | | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION | MEMBER_COMMUNICATION_STACK | |
| | 103 | +---------------------------+--------------------------------------+-------------+-------------+--------------+-------------+----------------+----------------------------+ |
| | 104 | | group_replication_applier | 89a10b8c-e92c-11ec-9362-02420a000b06 | node3 | 3306 | ONLINE | SECONDARY | 8.0.29 | XCom | |
| | 105 | | group_replication_applier | 8ef43b09-e92c-11ec-936c-02420a000b09 | node1 | 3306 | ONLINE | PRIMARY | 8.0.29 | XCom | |
| | 106 | +---------------------------+--------------------------------------+-------------+-------------+--------------+-------------+----------------+----------------------------+ |
| | 107 | |
| | 108 | }}} |