ob安装是否有离线免配置ssh的部署方式?

1、看了官方的部署文档,是需要在目标机器上配置ssh免密钥互访,有没有不需要配置ssh配置的部署方式?并且是离线的

obd cluster deploy obce-3zones -c obce-3zones.yaml

[WARN] Use centos 7 remote mirror repository for ubuntu 22.04
Package oceanbase-ce-4.2.0.0-100010032023083021.el7 is available.
[WARN] Use centos 7 remote mirror repository for ubuntu 22.04
[ERROR] No such package name: obproxy.

1 个赞

下载的rpm安装包,但是在Ubuntu2204上安装报错,有没有对应的Ubuntu 2204安装包呢?

1 个赞
# obd mirror list local
+----------------------------------------------------------------------------------------------------------+
|                                            local Package List                                            |
+-------------------+---------+------------------------+--------+------------------------------------------+
| name              | version | release                | arch   | md5                                      |
+-------------------+---------+------------------------+--------+------------------------------------------+
| libobclient       | 2.2.2   | 3.el7                  | x86_64 | c27a06e49690660f747a5935adab7a034629bcd2 |
| obclient          | 2.2.2   | 1.el7                  | x86_64 | 9d1b3d21f9274f74bdca36ed19f127842849923f |
| ob-deploy         | 2.2.0   | 2.el7                  | x86_64 | 3a00baa833f492faad616eafc5ac6a5e960bf919 |
| obproxy-ce        | 4.2.0.0 | 7.el7                  | x86_64 | b3ead2f667d69fe3195fd22002de83df6eb19382 |
| oceanbase-ce      | 4.2.0.0 | 100010032023083021.el7 | x86_64 | e77b40f1634befc1d8cb411beafef876e33e31f1 |
| oceanbase-ce-libs | 4.2.0.0 | 100010032023083021.el7 | x86_64 | e3222298d5b50aedf067323b542d290c5f913afb |
+-------------------+---------+------------------------+--------+------------------------------------------+

里面有一个离线部署可以参考下

转换一下试试呢

https://www.jdk5.com/post/233/install-rpm-packages-on-ubuntu

1 个赞

现在是Ubuntu2204上装 oceanbase-ce-4.2.0.0-100010032023083021.el8.x86_64.rpm 、oceanbase-ce-libs-4.2.0.0-100010032023083021.el8.x86_64.rpm,手动安装,启动的时候报一些莫名的错误:

[2023-09-13 16:28:35.566818] WDIAG begin (ob_hashtable.h:914) [37267][observer][T0][Y0-0000000000000000-0-0] [lt=4][errcode=-4006] hashtable not init, backtrace=0x102acecc 0x80d4cde 0x7fd84c8 0x7e9fbf4 0x929f659 0x7f3baae1d495 0x7f3baae1d610 0x7f3baae01d97 0x7f3baae01e40 0x4b38c1e
[2023-09-13 16:28:35.567978] WDIAG begin (ob_hashtable.h:914) [37267][observer][T0][Y0-0000000000000000-0-0] [lt=3][errcode=-4006] hashtable not init, backtrace=0x102acecc 0xf4bb820 0xf2deb07 0xf712946 0x7f3baae1d495 0x7f3baae1d610 0x7f3baae01d97 0x7f3baae01e40 0x4b38c1e
[2023-09-13 16:28:35.568005] WDIAG begin (ob_hashtable.h:914) [37267][observer][T0][Y0-0000000000000000-0-0] [lt=10][errcode=-4006] hashtable not init, backtrace=0x102acecc 0xf4bb820 0xf2deb07 0xf2de70d 0xf712a1b 0x7f3baae1d495 0x7f3baae1d610 0x7f3baae01d97 0x7f3baae01e40 0x4b38c1e
[2023-09-13 16:28:35.568061] WDIAG begin (ob_hashtable.h:914) [37267][observer][T0][Y0-0000000000000000-0-0] [lt=9][errcode=-4006] hashtable not init, backtrace=0x102acecc 0xf09976e 0xeeccbac 0xeecc8ed 0x7f3baae1d495 0x7f3baae1d610 0x7f3baae01d97 0x7f3baae01e40 0x4b38c1e
[2023-09-13 16:28:35.568078] WDIAG begin (ob_hashtable.h:914) [37267][observer][T0][Y0-0000000000000000-0-0] [lt=4][errcode=-4006] hashtable not init, backtrace=0x102acecc 0xf0998c6 0xeecccd8 0xeecc8ed 0x7f3baae1d495 0x7f3baae1d610 0x7f3baae01d97 0x7f3baae01e40 0x4b38c1e
[2023-09-13 16:28:35.568089] WDIAG begin (ob_hashtable.h:914) [37267][observer][T0][Y0-0000000000000000-0-0] [lt=4][errcode=-4006] hashtable not init, backtrace=0x102acecc 0xf0998c6 0xeecce08 0xeecc8ed 0x7f3baae1d495 0x7f3baae1d610 0x7f3baae01d97 0x7f3baae01e40 0x4b38c1e
 curl --user admin:admin  http://127.0.0.1:8088/metrics/ob/basic
{"successful":false,"timestamp":"2023-09-14T10:32:07.56685733+08:00","duration":0,"status":500,"traceId":"","server":"","error":{"code":1002,"message":"Unexpected error: auth failed for user: admin"}}

请问这个报错怎么解决?

密码对吗?默认密码我记得是root

就是这两个配置

Username for HTTP authentication. The default value is admin.

http_basic_auth_user: admin

Password for HTTP authentication. The default value is root.

http_basic_auth_password: xxx