【 使用环境 】测试环境
【 OB or 其他组件 】操作系统为 Anolis OS23.2GA ,
obd --version
OceanBase Deploy: 3.1.1
REVISION: 94b5853a18ad1ad09d5afc30d9edb44643dd488c
【 使用版本 】4.3.5
【问题描述】按照 https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000002013496 步骤安装报错。拷贝default-components-min.yaml进行修改后,执行 obd cluster deploy -v obcluster -c default-components-min.yaml -f 命令,提示有错误:
Remote oceanbase-ce-4.3.5.0-100000202024123117.el7-48b61655aaa13e9b01b722928d1979c76b41937e repository install x
– Remote oceanbase-ce-4.3.5.0-100000202024123117.el7-48b61655aaa13e9b01b722928d1979c76b41937e repository integrity check
– server1(10.2.9.213) oceanbase-ce-4.3.5.0-100000202024123117.el7-48b61655aaa13e9b01b722928d1979c76b41937e repository integrity check
– ocean@10.2.9.213 execute: echo ${OBD_HOME:-"$HOME"}/.obd – exited code 0
– ocean@10.2.9.213 execute: cat /home/ocean/.obd/repository/oceanbase-ce/4.3.5.0/48b61655aaa13e9b01b722928d1979c76b41937e/.data – exited code 1, error output:
cat: /home/ocean/.obd/repository/oceanbase-ce/4.3.5.0/48b61655aaa13e9b01b722928d1979c76b41937e/.data: No such file or directory
【复现路径】obd display-trace xxx 显示为空
【附件及日志】请问是我配置有问题,还是别的问题,我需要怎么处理这个问题。
user:
username: ocean
password: yx@52527
oceanbase-ce:
servers:
- name: server1
ip: 10.2.9.213
- name: server2
ip: 10.2.9.212
- name: server3
ip: 10.2.9.214
global:
cluster_id: 1
memory_limit: 6G # The maximum running memory for an observer
system_memory: 1G # The reserved system memory. system_memory is reserved for general tenants. The default value is 30G.
datafile_size: 20G # Size of the data file.
log_disk_size: 15G # The size of disk space used by the clog files.
cpu_count: 16
production_mode: false
enable_syslog_wf: false # Print system logs whose levels are higher than WARNING to a separate log file. The default value is true.
max_syslog_file_count: 4 # The maximum number of reserved log files before enabling auto recycling. The default value is 0.
root_password: yx@6520
proxyro_password: Yx@52527
ocp_meta_tenant: # The config for ocp express meta tenant
tenant_name: ocp
max_cpu: 1
memory_size: 2G
log_disk_size: 7680M # The recommend value is (4608 + (expect node num + expect tenant num) * 512) M.
server1:
mysql_port: 2881 # External port for OceanBase Database. The default value is 2881. DO NOT change this value after the cluster is started.
rpc_port: 2882 # Internal port for OceanBase Database. The default value is 2882. DO NOT change this value after the cluster is started.
obshell_port: 2886 # Operation and maintenance port for Oceanbase Database. The default value is 2886. This parameter is valid only when the version of oceanbase-ce is 4.2.2.0 or later.
home_path: /home/oceanbase/observer
zone: zone1
server2:
mysql_port: 2881 # External port for OceanBase Database. The default value is 2881. DO NOT change this value after the cluster is started.
rpc_port: 2882 # Internal port for OceanBase Database. The default value is 2882. DO NOT change this value after the cluster is started.
obshell_port: 2886 # Operation and maintenance port for Oceanbase Database. The default value is 2886. This parameter is valid only when the version of oceanbase-ce is 4.2.2.0 or later.
# The working directory for OceanBase Database. OceanBase Database is started under this directory. This is a required field.
home_path: /home/oceanbase/observer
# The directory for data storage. The default value is $home_path/store.
# data_dir: /data
# The directory for clog, ilog, and slog. The default value is the same as the data_dir value.
# redo_dir: /redo
zone: zone2
server3:
mysql_port: 2881 # External port for OceanBase Database. The default value is 2881. DO NOT change this value after the cluster is started.
rpc_port: 2882 # Internal port for OceanBase Database. The default value is 2882. DO NOT change this value after the cluster is started.
obshell_port: 2886 # Operation and maintenance port for Oceanbase Database. The default value is 2886. This parameter is valid only when the version of oceanbase-ce is 4.2.2.0 or later.
home_path: /home/oceanbase/observer
zone: zone3
obproxy-ce:
depends:
- oceanbase-ce
servers:
- 10.2.9.222
global:
listen_port: 2883 # External port. The default value is 2883.
prometheus_listen_port: 2884 # The Prometheus port. The default value is 2884.
home_path: /home/oceanbase/obproxy
enable_cluster_checkout: false
skip_proxy_sys_private_check: true
enable_strict_kernel_release: false
obproxy_sys_password: yanfa@52527
observer_sys_password: Yanfa@52527
obagent:
depends:
- oceanbase-ce
servers:
- name: server1
# Please don't use hostname, only IP can be supported
ip: 10.2.9.213
- name: server2
ip: 10.2.9.212
- name: server3
ip: 10.2.9.214
global:
home_path: /home/oceanbase/obagent
ocp-express:
depends:
- oceanbase-ce
- obproxy-ce
- obagent
servers:
- 10.2.9.222
global:
home_path: /home/oceanbase/ocp-express
memory_size: 1G