暂无图片
手工部署dbagent如何通过验证
我来答
分享
暂无图片 匿名用户
手工部署dbagent如何通过验证

os:Ubuntu 2204
ob: 4.2.0

背景:
因为某些原因,无法再Ubuntu2204上通过obd安装部署observer、obagent
现在手工方式安装observer、obagent,目前observer已经是正常的,但是部署obagent的有问题。

#  cat  conf/monagent.yaml 

log:
  level: WARN
  filename: log/monagent.log
  maxsize: 30
  maxage: 3
  maxbackups: 10
  localtime: true
  compress: true
server:
  address: 10.x.x:8088
  adminAddress: 10.x.x:8089
  runDir: run
cryptoMethod: plain
cryptoPath: conf/.config_secret.key
modulePath: conf/module_config
propertiesPath: conf/config_propertie   
http_basic_auth_user: admin
http_basic_auth_password: root
pprof_basic_auth_user: admin
pprof_basic_auth_password: root
monitor_user: monitor
monitor_password: 123456
cluster_name: obdemo
cluster_id: 1
复制

启动:

# bin/ob_monagent -c conf/monagent.yaml >> ./log/monagent_stdout.log
复制

验证:

# curl --user admin:root  http://10.x:8088/metrics/ob/basic 
{"successful":false,"timestamp":"2023-09-14T14:42:22.930991197+08:00","duration":0,"status":500,"traceId":"","server":"","error":{"code":1002,"message":"Unexpected error: auth failed for user: admin"}}
复制

为什么会报错呢?

我来答
添加附件
收藏
分享
问题补充
1条回答
默认
最新
O
OceanBase社区传送门

不要把所有的都写到一个配置文件

https://github.com/oceanbase/obagent/blob/1.2.x_release/docs/install-and-deploy/deploy-obagent-manually.md


具体配置可以参考这两个链接

暂无图片 评论
暂无图片 有用 0
打赏 0
回答交流
Markdown


请输入正文
提交
相关推荐
为什么不建议ob的clog和data同盘部署
回答 2
在生产环境中,官方通常不建议将clog和data部署在同一块磁盘上。原因主要有以下几点:首先,当业务量大的时候,clog同步数据会占用磁盘的输入/输出(IO),这样就会抢占数据读写的IO资源,可能会导
过OCP升级OB4.2报错s是为什么呢?
回答 1
看日志是有缺包的情况,oceanbasecelibs4.2.0.0101000032023091319.el7.x8664.rpm,可以check一下
oceanbase创建租户分配资源未达上限但报错
回答 1
你memorylimit只有6G。这个参数是OB能使用内存的上限。可以调大该参数,例如30G。同时建议也增大systemmemory到5Glogdisksizememorylimit(30G)3
oceanbase ,opengauss 哪个认证认可度高点?
回答 1
OB吧
clog下的文件可以手动删除不
回答 1
不能你可以把logdiskutilizationthreshold这个参数调小点看会不会下降
oceanbase 3.x社区版 新建租户,无法登录
回答 3
谢谢老师回复。这个问题最后思路:1.通过root用户登陆到sys租户示例:obclienth1.1.1.123P2881uroot@sysp2.切换租户到对应的业务租户altersystemchang
使用limit查询插入会报重复值
回答 1
在orderby加上一个主键列
ob4.0为什么普通租户能看到两个日志流LS
回答 1
dbaobls这个视图查询的是当前租户下的日志流信息,lsid1的是系统表对应的日志流信息,租户内的所有系统表都在这个日志流中,其他为用户表对应的日志流信息
OMS同步kafka报错
回答 1
OMS4.1.0CE不支持源端OB4.2版本,可以用OMS4.1.1CE试试
OceanBase的obloader怎么加速啊,这个速度正常不?
回答 2
要结合机器的环境来看,是硬件问题还是其他问题