[root@dev026 data]# obclient -h172.17.151.125 -P2883 -uroot@odc#ob435 -pRoot_123 -A
ERROR 2013 (HY000): Lost connection to MySQL server at ‘reading authorization packet’, system error: 11
[root@dev026 data]# ^C
[root@dev026 data]# obclient -h172.17.151.124 -P2883 -uroot@odc#ob435 -pRoot_123 -A
Welcome to the OceanBase. Commands end with ; or \g.
Your OceanBase connection id is 312746
Server version: OceanBase_CE 4.3.5.0 (r100000202024123117-5d6cb5cbc3f7c1ab6eb22e40abec8e160a8764d5) (Built Dec 31 2024 17:35:01)
Copyright (c) 2000, 2018, OceanBase and/or its affiliates. All rights reserved.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
obclient [(none)]> Bye
[root@dev026 data]# obclient -h172.17.151.125 -P2883 -uroot@odc#ob435 -pRoot_123 -A
ERROR 2013 (HY000): Lost connection to MySQL server at ‘reading authorization packet’, system error: 11
[root@dev026 data]# obclient -h172.17.151.126 -P2883 -uroot@odc#ob435 -pRoot_123 -A
ERROR 2002 (HY000): Can’t connect to MySQL server on ‘172.17.151.126’ (115)
[root@dev026 data]# netstat -tnpl|grep 288
tcp 0 0 0.0.0.0:2881 0.0.0.0:* LISTEN 1288/observer
tcp 0 0 0.0.0.0:2882 0.0.0.0:* LISTEN 1288/observer
tcp6 0 0 :::2882 :::* LISTEN 1288/observer
tcp6 0 0 :::62888 :::* LISTEN 1208/ocp_mgragent
tcp6 0 0 :::62889 :::* LISTEN 1209/ocp_monagent
[root@dev026 data]# obclient -h172.17.151.126 -P2881 -uroot@odc#ob435 -pRoot_123 -A
ERROR 8001 (08004): Server is initializing
ERROR 4012 (HY000): Timeout, query has reached the maximum query timeout: 10000000(us), maybe you can adjust the session variable ob_query_timeout or query_timeout hint, and try
ob server 直连的方式是通过2881 端口访问,你可以使用 obclient -h172.17.151.124 -P2881 -uroot@odc#ob435 -pRoot_123 -A 继续访问124 这个ob server 看看是否是ERROR 8001 (08004): Server is initializing,如果有,就表示直连ob server 有一些未知的故障!就可以忽略,查看步骤2
任意一节点使用root@sys连接上后执行 发下结果
select * from dba_ob_zones;
select * from dba_ob_servers;
如果确定只有125 为异常,就可以考虑重装125 这台ob server