OS:Ubuntu 2204
obsever:4.2.0
没有用obd自动化部署observer、obproxy、obagent等组件,已经用手工方式把observer集群部署完成,可以正常写入数据,obagent 组件在各个observer已经部署完成,现在想通过obd方式部署obagent-only,确切地说在obd上编辑一个yaml配置文件,把各个obagent管理起来,但是报错如下:
# obd cluster restart obagent_only
[ERROR] No such deploy: obagent_only.
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: f79d6bd2-52c6-11ee-85c0-f063f919fb41
If you want to view detailed obd logs, please run: obd display-trace f79d6bd2-52c6-11ee-85c0-f063f919fb41
obagent_only.yaml 文件内容如下:
obagent:
servers:
- name: obce01
ip: 10.x.64
- name: obce02
ip: 10.x.65
- name: obce03
ip: 10.x.66
global:
home_path: /data/admin/obagent
# The port that pulls and manages the metrics. The default port number is 8088.
server_port: 8088
# Debug port for pprof. The default port number is 8089.
pprof_port: 8089
sql_port: 2881
rpc_port: 2882
# Log level. The default value is INFO.
log_level: INFO
# Log path. The default value is log/monagent.log.
log_path: log/monagent.log
# Encryption method. OBD supports aes and plain. The default value is plain.
crypto_method: plain
# Path to store the crypto key. The default value is conf/.config_secret.key.
# crypto_path: conf/.config_secret.key
# Size for a single log file. Log size is measured in Megabytes. The default value is 30M.
log_size: 30
# Expiration time for logs. The default value is 7 days.
log_expire_day: 7
# The maximum number for log files. The default value is 10.
log_file_count: 10
# Whether to use local time for log files. The default value is true.
# log_use_localtime: true
# Whether to enable log compression. The default value is true.
# log_compress: true
# 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: *****
# Username for debug service. The default value is admin.
pprof_basic_auth_user: admin
# Password for debug service. The default value is root.
pprof_basic_auth_password: *****
# Monitor username for OceanBase Database. The user must have read access to OceanBase Database as a system tenant. The default value is root.
monitor_user: monitor
# Monitor password for OceanBase Database. The default value is empty. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the root_password in oceanbase-ce.
monitor_password: *****
# Cluster name for OceanBase Database. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the appname in oceanbase-ce.
cluster_name: obdemo
# Cluster ID for OceanBase Database. When a depends exists, OBD gets this value from the oceanbase-ce of the depends. The value is the same as the cluster_id in oceanbase-ce.
cluster_id: 1
obce01:
zone: zone1
obce02:
zone: zone2
obce03:
zone: zone3
问题是用的是Ubuntu2204,用obd部署老是提示失败,又是用el8的包,对2204的os不支持
老师可能理解错我的意思,意思环境os是 ubu 2204,又是离线安装,目前只有el8版本的rpm可以下载,但是在Ubuntu 2204上运行obd的时候 会报错的,需要对应的Ubuntu 2204的安装包才好。
这是类centos的安装包,没有类Ubuntu的吗? 问题是在这里