sysbench 巡检这个在obdiag 中不算是普通的巡检了,是专门针对sysbench压测场景的,因为压测的ob的参数、机器的参数等需要调整到最佳状态,所以才有了这个场景。
再说回这个题目本身,目前obdiag 支持的sysbench场景是:压测前(obdiag check run --cases=sysbench_free)和压测进行时(obdiag check run --cases=sysbench_run),并没有压测后的。
#obdiag check list
obdiag version: 3.7.0
[check cases about obproxy]:
---------------------------------------------------------------------------------------------------
command                                  info_en                                 info_cn
---------------------------------------------------------------------------------------------------
obdiag check run                         default check all task without filter   默认执行除filter组里的所有巡检项
obdiag check run --obproxy_cases=proxy   obproxy version check                   obproxy 版本检查
---------------------------------------------------------------------------------------------------
[check cases about observer]:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
command                                       info_en                                                                           info_cn
---------------------------------------------------------------------------------------------------------------------------------------------------------------
obdiag check run                              default check all task without filter                                             默认执行除filter组里的所有巡检项
obdiag check run --cases=ad                   Test and inspection tasks                                                         测试巡检任务
obdiag check run --cases=column_storage_poc   column storage poc                                                                列存POC检查
obdiag check run --cases=build_before         Deployment environment check                                                      部署环境检查
obdiag check run --cases=sysbench_run         Collection of inspection tasks when executing sysbench                            执行sysbench时的巡检任务集合
obdiag check run --cases=sysbench_free        Collection of inspection tasks before executing sysbench                          执行sysbench前的巡检任务集合
obdiag check run --cases=k8s_basic            Collection of basic inspection tasks for OceanBase deployed on Kubernetes         Kubernetes 中部署的 OceanBase 集群基础巡检
obdiag check run --cases=k8s_performance      Collection of performance inspection tasks for OceanBase deployed on Kubernetes   Kubernetes 中部署的 OceanBase 集群性能巡检
---------------------------------------------------------------------------------------------------------------------------------------------------------------
也可以直接看obdiag的文档:https://www.oceanbase.com/docs/common-obdiag-cn-1000000003892414
