5.MGR组复制故障处理-IP没有在白名单中

故障处理:
解决:搭建MGR过程中,涉及到了 Group Replication IP Address Whitelisting,默认情况下,
是无法让本地网络外的连接的访问的,所以在跨机器、网段、机房的情况下,需要设置
group_replication_ip_whitelist
例如:
select * from performance_schema.replication_group_members;
mysql> STOP GROUP_REPLICATION;
mysql> SET GLOBAL group_replication_ip_whitelist="192.168.1.51,192.168.1.52,192.168.1.53";
mysql> START GROUP_REPLICATION;

很多警告:
2022-01-25T08:00:58.132013Z 0 [Warning] Plugin group_replication reported: '[GCS] Unable to handle socket descriptor, therefore refusing connection.'
2022-01-25T08:00:58.132119Z 0 [Warning] Plugin group_replication reported: '[GCS] Invalid IPv4/IPv6 address. Refusing connection!'
2022-01-25T08:00:58.132138Z 0 [Warning] Plugin group_replication reported: '[GCS] Unable to handle socket descriptor, therefore refusing connection.'
2022-01-25T08:00:58.132153Z 0 [Warning] Plugin group_replication reported: '[GCS] Connection attempt from IP address 0.0.0.0 refused. Address is not in the IP whitelist.'

mysql> STOP GROUP_REPLICATION;
mysql> SET GLOBAL group_replication_ip_whitelist="192.168.1.51,192.168.1.52,192.168.1.53,0.0.0.0";
mysql> START GROUP_REPLICATION;

set global group_replication_bootstrap_group=off;
stop group_replication; 
start  group_replication; 
select * from performance_schema.replication_group_members;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
"C:\Program Files\Java\jdk-1.8\bin\java.exe" -Dmaven.multiModuleProjectDirectory=F:\workmode\h5xjxj\ech-log-server\ech-log-api -Djansi.passthrough=true -Dmaven.home=F:\dev_software\apache-maven-3.6.3 -Dclassworlds.conf=F:\dev_software\apache-maven-3.6.3\bin\m2.conf "-Dmaven.ext.class.path=F:\idea2023\IntelliJ IDEA 2023.1.2\plugins\maven\lib\maven-event-listener.jar" "-javaagent:F:\idea2023\IntelliJ IDEA 2023.1.2\lib\idea_rt.jar=53993:F:\idea2023\IntelliJ IDEA 2023.1.2\bin" -Dfile.encoding=UTF-8 -classpath F:\dev_software\apache-maven-3.6.3\boot\plexus-classworlds-2.6.0.jar;F:\dev_software\apache-maven-3.6.3\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2023.1.2 -s C:\Users\田文成\.m2\settings_XJ_git.xml -Dmaven.repo.local=F:\dev_software\repository\localRepository\localRepository install [INFO] Scanning for projects... [INFO] [INFO] -----------------------< com.ai.ecs:ech-log-api >----------------------- [INFO] Building ech-log-api 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- Downloading from nexus1: http://mgr.devstone.cn:18080/nexus/content/groups/public/org/apache/maven/plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.280 s [INFO] Finished at: 2023-07-12T16:30:43+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from/to nexus1 (http://mgr.devstone.cn:18080/nexus/content/groups/public): Transfer failed for http://mgr.devstone.cn:18080/nexus/content/groups/public/org/apache/maven/plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom: Connect to mgr.devstone.cn:18080 [mgr.devstone.cn/218.94.91.233] failed: Connection timed out: connect -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException 刚导入项目依赖报错
07-13
根据错误提示,你的项目在下载依赖时遇到了问题。具体来说,它无法解析或下载以下插件及其依赖项: ``` Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.5.1 from/to nexus1 (http://mgr.devstone.cn:18080/nexus/content/groups/public): Transfer failed for http://mgr.devstone.cn:18080/nexus/content/groups/public/org/apache/maven/plugins/maven-compiler-plugin/2.5.1/maven-compiler-plugin-2.5.1.pom: Connect to mgr.devstone.cn:18080 [mgr.devstone.cn/218.94.91.233] failed: Connection timed out: connect -> [Help 1] ``` 根据错误信息,问题可能是由于以下原因之一引起的: 1. 网络连接问题:由于连接超时导致无法从指定的URL下载所需的插件和依赖项。请确保你的网络连接正常,并且可以访问指定的URL(http://mgr.devstone.cn:18080)。 2. 仓库配置问题:你的项目可能配置了一个不可用的仓库(nexus1),导致无法下载插件和依赖项。请检查你的项目配置文件(如settings.xml)或构建脚本,确保仓库配置正确。 3. Maven心仓库问题:如果你使用的是默认的Maven心仓库(https://repo1.maven.org/maven2/),请尝试清理Maven本地仓库缓存(通常位于`~/.m2/repository/`目录下),然后重新构建项目。 解决这个问题的方法包括: 1. 检查网络连接:确保你的网络连接正常,并且可以访问指定的URL(http://mgr.devstone.cn:18080)。 2. 检查仓库配置:检查你的项目配置文件(如settings.xml)或构建脚本,确保仓库配置正确,并且指向可用的仓库。 3. 清理本地仓库缓存:如果你使用的是默认的Maven心仓库,尝试清理Maven本地仓库缓存,然后重新构建项目。 如果问题仍然存在,建议进一步排查网络连接问题,或联系你的开发团队或仓库管理员以获取更多帮助。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值