Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'

Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'

Version: 8.0.18-commercial MySQL Enterprise Server

Background: Cross-room building MGR
error: remote room CHANGE MASTERafter, START GROUP_REPLICATIONafter, reported the following error saying can not find the white list.

Log:

2019-10-09T14:35:32.591140+08:00 53 [System] [MY-010597] [Repl] 'CHANGE MASTER TO FOR CHANNEL 'group_replication_recovery' executed'. Previous state master_host='', master_port= 3306, master_log_file='', master_log_pos= 4, master_bind=''. New state master_host='', master_port= 3306, master_log_file='', master_log_pos= 4, master_bind=''.
2019-10-09T14:36:06.768370+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:06.867763+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:06.967265+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:07.066621+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:07.166006+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:07.265440+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:07.382907+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:07.482255+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:07.582483+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:36:07.739480+08:00 0 [Warning] [MY-011735] [Repl] Plugin group_replication reported: '[GCS] Connection attempt from IP address ::ffff:10.57.19.100 refused. Address is not in the IP whitelist.'
2019-10-09T14:37:02.567084+08:00 0 [Warning] [MY-011499] [Repl] Plugin group_replication reported: 'Members removed from the group: dbmspredb304:1521'
2019-10-09T15:03:13.691845+08:00 0 [Warning] [MY-011499] [Repl] Plugin group_replication reported: 'Members removed from the group: dbmspredb304:1521'
2019-10-09T15:05:50.623489+08:00 0 [Warning] [MY-011499] [Repl] Plugin group_replication reported: 'Members removed from the group: dbmspredb304:1521'

Solution: MGR build process, involving the Group Replication IP Address Whitelisting , by default, is unable to make access connections outside the local network, so in the case of cross-machine network, room, you need to setgroup_replication_ip_whitelist

E.g:

mysql> STOP GROUP_REPLICATION;
mysql> SET GLOBAL group_replication_ip_whitelist="10.57.19.100,10.243.194.191,10.243.194.192";
mysql> START GROUP_REPLICATION;

Guess you like

Origin www.cnblogs.com/Coye/p/11990725.html