oceanbase / obdiag

obdiag (OceanBase Diagnostic Tool) is designed to help OceanBase users quickly gather necessary information and analyze the root cause of the problem.
https://www.oceanbase.com/docs/obdiag-cn
Mulan Permissive Software License, Version 2
134 stars 27 forks source link

[Enhancement]: obdiag命令行支持节点级/租户级/zone级日志信息收集、一键巡检 #241

Open jamescore2 opened 3 months ago

jamescore2 commented 3 months ago

Description

日常OB集群管理涉及数十个,每个集群包括几十台服务器、几十个租户,往往大部分问题场景都是其中个别1-2个租户及其leader副本上,这时候对整个OB集群一键巡检/信息收集比较费时,即使尽可能缩短采集时间范围日志文件体积也不小,想将文件发到外网也很困难。 即使用另一种途径,每次手动编辑obdiag配置文件,缩减为对应的leader副本IP,在集群、服务器、租户数较大的情况下也有些麻烦,而且出问题时也较为紧急,看能否在obdiag check/gather命令行中直接支持指定节点IP/租户名?

Teingi commented 3 months ago

感谢反馈需求,PS: 需求源自问答区 https://ask.oceanbase.com/t/topic/35608750