节点状态错误
"10.133.62.110:3306": {"address": "10.133.62.110:3306",
"memberRole": "SECONDARY",
"memberState": "(MISSING)",
"mode": "n/a",
"readReplicas": {},
"role": "HA",
"shellConnectError": "RuntimeError: The provided URI uses the X protocol, which is not supported by this command.",
"status": "ONLINE",
"version": "8.0.25"
},
(Wed Aug 16 16:32:44 2023)[(none)]>select * from performance_schema.replication_group_members;
+---------------------------+--------------------------------------+---------------+-------------+--------------+-------------+----------------+
| CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE | MEMBER_ROLE | MEMBER_VERSION |
+---------------------------+--------------------------------------+---------------+-------------+--------------+-------------+----------------+
| group_replication_applier | 8e79e3c2-3c04-11ee-87b8-fa160a853e6e | 10.133.62.110 | 3306 | ONLINE | SECONDARY | 8.0.25 |
| group_replication_applier | fc058858-3804-11ee-81f8-fa160a853e6d | 10.133.62.109 | 3306 | ONLINE | SECONDARY | 8.0.25 |
| group_replication_applier | fe1d31a8-3804-11ee-bfd2-fa160a853e76 | 10.133.62.118 | 3306 | ONLINE | PRIMARY | 8.0.25 |
+---------------------------+--------------------------------------+---------------+-------------+--------------+-------------+----------------+
3 rows in set (0.00 sec) fuhao009 发表于 2023-8-16 16:33
(Wed Aug 16 16:32:44 2023)[(none)]>select * from performance_schema.replication_group ...
# uname -a
Linux wd1155-db 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux fuhao009 发表于 2023-8-16 16:35
# uname -a
Linux wd1155-db 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC ...
节点状态看起来是正常的ONLINE,有问题的是shell的连接状态。
你的shell是如何连接的,其他节点有无该问题。 yejr 发表于 2023-8-16 16:52
节点状态看起来是正常的ONLINE,有问题的是shell的连接状态。
你的shell是如何连接的,其他节点有无该问 ...
其他节点没问题
fuhao009 发表于 2023-8-16 17:04
其他节点没问题
"clusterName": "test02",
"defaultReplicaSet": {
"name": "default",
"primary": "10.133.62.118:3306",
"ssl": "REQUIRED",
"status": "OK_NO_TOLERANCE",
"statusText": "Cluster is NOT tolerant to any failures. 1 member is not active.",
"topology": {
"10.133.62.109:3306": {
"address": "10.133.62.109:3306",
"memberRole": "SECONDARY",
"mode": "R/O",
"readReplicas": {},
"replicationLag": null,
"role": "HA",
"status": "ONLINE",
"version": "8.0.25"
},
"10.133.62.110:3306": {
"address": "10.133.62.110:3306",
"memberRole": "SECONDARY",
"mode": "n/a",
"readReplicas": {},
"role": "HA",
"shellConnectError": "MySQL Error 2003 (HY000): Can't connect to MySQL server on '10.133.62.110:3306' (113)",
"status": "(MISSING)"
},
"10.133.62.118:3306": {
"address": "10.133.62.118:3306",
"memberRole": "PRIMARY",
"mode": "R/W",
"readReplicas": {},
"replicationLag": null,
"role": "HA",
"status": "ONLINE",
"version": "8.0.25"
}
},
"topologyMode": "Single-Primary"
},
"groupInformationSourceMember": "10.133.62.118:3306"
} fuhao009 发表于 2023-8-16 17:05
"clusterName": "test02",
"defaultReplicaSet": {
"name": "default",
那就先查查有问题的节点跟其他的差异在哪里 fuhao009 发表于 2023-8-16 17:05
"clusterName": "test02",
"defaultReplicaSet": {
"name": "default",
用MGR专用账号,通过mysqlshell客户端直连该节点,看看有啥情况 yejr 发表于 2023-8-16 17:18
用MGR专用账号,通过mysqlshell客户端直连该节点,看看有啥情况
直连是正常的
fuhao009 发表于 2023-8-16 17:29
直连是正常的
怎么验证这个支不支持
页:
[1]
2