麻烦老师,的确是z1、z2跟z3存在错行问题
目前启动之后存在两个问题
1、三个主机都启动在zone1上面了,导致没做成三个zone副本
+------------------------------------------------+
| observer |
+--------------+---------+------+-------+--------+
| ip | version | port | zone | status |
+--------------+---------+------+-------+--------+
| 192.168.0.12 | 3.1.0 | 2881 | zone1 | active |
| 192.168.0.13 | | 0 | zone1 | active |
| 192.168.0.14 | | 0 | zone1 | active |
+--------------+---------+------+-------+--------+
2、obproxy无法正常启动 192.168.0.15
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] - sub display ref count to 0
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] - export display
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] - Call obproxy-pyscriptstart-3.1.0 for obproxy-3.1.0-0b17cf0459a3b53c5a2febb6572894d183154c64
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] - import start
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] - add start ref count to 1
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [INFO] Start obproxy
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- admin@192.168.0.15 execute: bash -c 'if [ -f /home/admin/oceanbase-obproxy-3/bin/obproxy ]; then exit 1; else exit 0; fi;'
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- exited code 1, error output:
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- 192.168.0.15 port check
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- admin@192.168.0.15 execute: cat /home/admin/oceanbase-obproxy-3/run/obproxy-192.168.0.15-2883.pid
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- exited code 1, error output:
cat: /home/admin/oceanbase-obproxy-3/run/obproxy-192.168.0.15-2883.pid: No such file or directory
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- starting 192.168.0.15 obproxy
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- admin@192.168.0.15 set env LDLIBRARYPATH to '/home/admin/oceanbase-obproxy-3/lib:'
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- admin@192.168.0.15 execute: cd /home/admin/oceanbase-obproxy-3; /home/admin/oceanbase-obproxy-3/bin/obproxy -o enablestrictkernelrelease=False,enableclustercheckout=False --listenport 2883 --prometheuslistenport 2884 --rslist '192.168.0.12:2881; 192.168.0.13:2881; 192.168.0.14:2881' --clustername 'obcluster'
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- exited code 0
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- admin@192.168.0.15 set env LDLIBRARYPATH to ''
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- admin@192.168.0.15 execute: ps -aux | grep -e '/home/admin/oceanbase-obproxy-3/bin/obproxy -o enablestrictkernelrelease=False,enableclustercheckout=False --listenport 2883 --prometheuslistenport 2884 --rslist 192.168.0.12:2881; 192.168.0.13:2881; 192.168.0.14:2881 --clustername obcluster$' | grep -v grep | awk '{print $2}' > /home/admin/oceanbase-obproxy-3/run/obproxy-192.168.0.15-2883.pid
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- exited code 0
[2021-10-09 17:17:39] [a954b928-28e1-11ec-807b-0202c0a8000c] [INFO] obproxy program health check
[2021-10-09 17:17:42] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- 192.168.0.15 program health check
[2021-10-09 17:17:42] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- admin@192.168.0.15 execute: cat /home/admin/oceanbase-obproxy-3/run/obproxy-192.168.0.15-2883.pid
[2021-10-09 17:17:42] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] -- exited code 0
[2021-10-09 17:17:43] [a954b928-28e1-11ec-807b-0202c0a8000c] [WARNING] [WARN] failed to start 192.168.0.15 obproxy
[2021-10-09 17:17:43] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] - sub start ref count to 0
[2021-10-09 17:17:43] [a954b928-28e1-11ec-807b-0202c0a8000c] [DEBUG] - export start
[2021-10-09 17:17:43] [a954b928-28e1-11ec-807b-0202c0a8000c] [ERROR] [ERROR] obproxy start failed