您好,登錄后才能下訂單哦!
假設三節點MGR某個節點異常,需要重新把這個節點加入到MGR集群中,具體操作過程如下:
貢獻者端執行(192.168.1.11)
DROP USER 'donor_clone_user'@'192.168.1.12'; CREATE USER 'donor_clone_user'@'192.168.1.12' IDENTIFIED BY 'password'; GRANT BACKUP_ADMIN on *.* to 'donor_clone_user'@'192.168.1.12'; INSTALL PLUGIN clone SONAME 'mysql_clone.so';
接收者端執行(192.168.1.12)
DROP USER 'recipient_clone_user'@'192.168.1.12'; CREATE USER 'recipient_clone_user'@'192.168.1.12' IDENTIFIED BY 'password'; GRANT CLONE_ADMIN on *.* to 'recipient_clone_user'@'192.168.1.12'; INSTALL PLUGIN clone SONAME 'mysql_clone.so'; SET GLOBAL clone_valid_donor_list = '192.168.1.11:3311'; exit mysql -urecipient_clone_user -ppassword -h 192.168.1.12 -P3311 CLONE INSTANCE FROM 'donor_clone_user'@'192.168.1.11':3311 IDENTIFIED BY 'password'; exit mysql -uroot -p start group_replication; select * from performance_schema.replication_group_members;
以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持億速云。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。