obdiag版本:4.3
vim /root/.obdiag/config.yml
obcluster:
ob_cluster_name: obcluster
db_host: 192.168.0.113
db_port: '2881'
tenant_sys:
user: root@sys
password: xxx
servers:
nodes:
- ip: 192.168.0.113
- ip: 192.168.0.68
- ip: 192.168.2.81
global:
ssh_username: root
ssh_password: xxx
ssh_port: '22'
ssh_key_file: ''
home_path: "/root/myobserver"
data_dir: "/mnt/data"
dedo_dir: "/oblog"
巡检结果报告有几个问题:
1.关于配置性信息为什么用WARN警告。比如data_dir、datafile_maxsize 这些
2.有几个错误是/root/observer/store/这个路径找不到。但是我明明配置的observer的home_path是/root/myobserver
root@ecs-47128553-002:~# obdiag check run --obproxy_cases=proxy
obdiag version: 4.3.0
check start ...
[WARN] ./check_report/ not exists, creating
Check tasks: (1/1) [###########################################################################################################################################################################################################################]
Check tasks: (120/120) [#######################################################################################################################################################################################################################]
[WARN] report warning: the observer_id value: 1, default_value: 0
[WARN] report warning: the _enable_spf_batch_rescan tenant_ids: 1,1002, value: True, default_value: False
[WARN] report warning: the data_dir value: /mnt/data, default_value: store
[WARN] report warning: the observer_id value: 3, default_value: 0
[WARN] report warning: the _prexec_prepare_with_params tenant_ids: 1002, value: True, default_value: False
[WARN] report warning: the _enable_dbms_job_package value: False, default_value: True
[WARN] report warning: the system_memory value: 5G, default_value: 0M
[WARN] report warning: the observer_id value: 2, default_value: 0
[WARN] report warning: the datafile_maxsize value: 10G, default_value: 0
[WARN] report warning: the _enable_das_batch_rescan_flag tenant_ids: 1,1002, value: 15, default_value: 0
[WARN] report warning: the cpu_count value: 12, default_value: 0
[WARN] report warning: the datafile_next value: 2G, default_value: 0
[WARN] report warning: the cpu_quota_concurrency tenant_ids: 1, value: 10, default_value: 4
[WARN] report warning: the memory_limit_percentage value: 85, default_value: 80
[WARN] report warning: the _server_full_schema_refresh_parallelism tenant_ids: 1002, value: OBJECT, default_value: REQUEST
[WARN] report warning: the cluster_id value: 1720306770, default_value: 0
[WARN] report warning: the devname value: eth0, default_value: bond0
[WARN] report warning: the _parallel_ddl_control tenant_ids: 1002, value: TRUNCATE_TABLE:ON, SET_COMMENT:ON, CREATE_INDEX:ON, DROP_TABLE:ON, default_value:
[WARN] report warning: the enable_syslog_recycle value: True, default_value: False
[WARN] report warning: the _ob_immediate_row_conflict_check tenant_ids: 1002, value: False, default_value: True
[WARN] report warning: the enable_ps_parameterize tenant_ids: 1002, value: False, default_value: True
[WARN] report warning: the __min_full_resource_pool_memory value: 2147483648, default_value: 5368709120
[WARN] report warning: the max_syslog_file_count value: 4, default_value: 0
[WARN] report warning: the max_partition_num tenant_ids: 1002, value: 65536, default_value: 8192
[WARN] report warning: the enable_record_trace_log value: False, default_value: True
[WARN] report warning: the enable_mlog_auto_maintenance tenant_ids: 1002, value: True, default_value: False
[WARN] report warning: the log_transport_compress_all tenant_ids: 1002, value: True, default_value: False
[WARN] report warning: the _use_odps_jni_connector value: True, default_value: False
[WARN] report warning: the datafile_size value: 300G, default_value: 0M
[WARN] report warning: the _bloom_filter_ratio value: 3, default_value: 35
[WARN] report warning: the log_disk_size value: 120G, default_value: 0M
[WARN] report warning: the _enable_mysql_compatible_dates tenant_ids: 1,1002, value: True, default_value: False
[WARN] report warning: the _ob_enable_pl_dynamic_stack_check value: True, default_value: False
[WARN] report warning: the _system_trig_enabled tenant_ids: 1,1002, value: False, default_value: True
[WARN] report warning: the large_query_threshold value: 600s, default_value: 5s
[WARN] report warning: node: remote_192_168_0_113 mount point: /oblog disk usage: 87%, over 80%
[WARN] report warning: node: remote_192_168_0_68 mount point: /oblog disk usage: 87%, over 80%
[WARN] report warning: node: remote_192_168_2_81 mount point: /oblog disk usage: 87%, over 80%
[WARN] report warning: log disk usage exceeds 80% of capacity
[WARN] report critical: On remote_192_168_0_113: Users are not allowed to modify or create in the clog folder, It will be causing observer startup failure. Files need be checked: find: ‘find:’: No such file or directory
find: ‘‘/root/observer/store/\’:’: No such file or directory
find: ‘No’: No such file or directory
find: ‘such’: No such file or directory
find: ‘file’: No such file or directory
find: ‘or’: No such file or directory
find: ‘directory/’: No such file or directory
[WARN] report critical: On remote_192_168_0_68: Users are not allowed to modify or create in the clog folder, It will be causing observer startup failure. Files need be checked: find: ‘find:’: No such file or directory
find: ‘‘/root/observer/store/\’:’: No such file or directory
find: ‘No’: No such file or directory
find: ‘such’: No such file or directory
find: ‘file’: No such file or directory
find: ‘or’: No such file or directory
find: ‘directory/’: No such file or directory
[WARN] report critical: On remote_192_168_2_81: Users are not allowed to modify or create in the clog folder, It will be causing observer startup failure. Files need be checked: find: ‘find:’: No such file or directory
find: ‘‘/root/observer/store/\’:’: No such file or directory
find: ‘No’: No such file or directory
find: ‘such’: No such file or directory
find: ‘file’: No such file or directory
find: ‘or’: No such file or directory
find: ‘directory/’: No such file or directory
[WARN] report warning: mod max memory over 10G (22.35G), Please check on oceanbase.__all_virtual_memory_info to find some large mod
[WARN] report warning: svr_ip: 192.168.0.113. large_query_threshold is 600s, recommended value is 5s.
[WARN] report warning: svr_ip: 192.168.0.68. large_query_threshold is 600s, recommended value is 5s.
[WARN] report warning: svr_ip: 192.168.2.81. large_query_threshold is 600s, recommended value is 5s.
[WARN] report warning: node: remote_192_168_0_113 cgroup path is not exist. Tenant isolation not enabled. issue #849
[WARN] report warning: node: remote_192_168_0_68 cgroup path is not exist. Tenant isolation not enabled. issue #849
[WARN] report warning: node: remote_192_168_2_81 cgroup path is not exist. Tenant isolation not enabled. issue #849
[WARN] report warning: svr_ip: 192.168.0.113 memory_limit_percentage is 85, default value is 80
[WARN] report warning: svr_ip: 192.168.0.68 memory_limit_percentage is 85, default value is 80
[WARN] report warning: svr_ip: 192.168.2.81 memory_limit_percentage is 85, default value is 80
[WARN] report critical: On remote_192_168_0_113: tsar is not installed. we can not check tcp retransmission.
[WARN] report critical: On remote_192_168_0_68: tsar is not installed. we can not check tcp retransmission.
[WARN] report critical: On remote_192_168_2_81: tsar is not installed. we can not check tcp retransmission.
[WARN] report critical: On remote_192_168_0_113: network_speed is Speed: Unknown!, can not get real speed
[WARN] report critical: On remote_192_168_0_68: network_speed is Speed: Unknown!, can not get real speed
[WARN] report critical: On remote_192_168_2_81: network_speed is Speed: Unknown!, can not get real speed
[WARN] report warning: Only 0 out of 3 observers reported valid NIC speeds
[WARN] report critical: ip:192.168.0.113, log_dir_path: find: ‘/root/observer/store/’: No such file or directory file_system is not xfs or ext4.
[WARN] report critical: ip:192.168.0.68, log_dir_path: find: ‘/root/observer/store/’: No such file or directory file_system is not xfs or ext4.
[WARN] report critical: ip:192.168.2.81, log_dir_path: find: ‘/root/observer/store/’: No such file or directory file_system is not xfs or ext4.
[WARN] report critical: network: eth0 RX drop is not 0 on remote_192_168_2_81, please check by ip -s link show eth0
[WARN] report critical: On remote_192_168_0_113: glibc version 2.35 >= 2.34. This may cause observer crash. More information: https://github.com/oceanbase/obdiag/issues/469
[WARN] report critical: On remote_192_168_0_68: glibc version 2.35 >= 2.34. This may cause observer crash. More information: https://github.com/oceanbase/obdiag/issues/469
[WARN] report critical: On remote_192_168_2_81: glibc version 2.35 >= 2.34. This may cause observer crash. More information: https://github.com/oceanbase/obdiag/issues/469
[WARN] [bugs.bug_469] glibc version 2.35 on remote_192_168_0_113 may cause issues
[WARN] [bugs.bug_469] glibc version 2.35 on remote_192_168_0_68 may cause issues
[WARN] [bugs.bug_469] glibc version 2.35 on remote_192_168_2_81 may cause issues
[WARN] report warning: node: remote_192_168_0_113 net.ipv4.tcp_tw_reuse is 2. It is recommended to set it to 1
[WARN] report warning: node: remote_192_168_0_68 net.ipv4.tcp_tw_reuse is 2. It is recommended to set it to 1
[WARN] report warning: node: remote_192_168_2_81 net.ipv4.tcp_tw_reuse is 2. It is recommended to set it to 1
[WARN] report critical: On remote_192_168_0_113: kernel.core_pattern: |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E, is not recommended for configuring functions other than the specified core path
[WARN] report critical: On remote_192_168_0_68: kernel.core_pattern: |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E, is not recommended for configuring functions other than the specified core path
[WARN] report critical: On remote_192_168_2_81: kernel.core_pattern: |/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E, is not recommended for configuring functions other than the specified core path
[WARN] report critical: node: remote_192_168_0_113 python is not existed
[WARN] report critical: node: remote_192_168_0_68 python is not existed
[WARN] report critical: node: remote_192_168_2_81 python is not existed
[WARN] report warning: node:remote_192_168_0_113. chronyc command does not exist.
[WARN] report warning: node:remote_192_168_0_68. chronyc command does not exist.
[WARN] report warning: node:remote_192_168_2_81. chronyc command does not exist.
[WARN] report warning: No clock source configuration found.
[WARN] report warning: Tenant sys (ID: 1) on 192.168.0.113: memory usage is 171.5%, which exceeds 90%. Memory usage: 3.43GB, Memory specification: 2.00GB
[WARN] report warning: Tenant sys (ID: 1) on 192.168.0.68: memory usage is 170.5%, which exceeds 90%. Memory usage: 3.41GB, Memory specification: 2.00GB
[WARN] report warning: Tenant sys (ID: 1) on 192.168.2.81: memory usage is 170.0%, which exceeds 90%. Memory usage: 3.40GB, Memory specification: 2.00GB
[WARN] report warning: On remote_192_168_0_113: ip_local_port_range_min: 32768. recommended: 3500
[WARN] report warning: On remote_192_168_0_113: ip_local_port_range_max: 60999. recommended: 65535
[WARN] report warning: On remote_192_168_0_68: ip_local_port_range_min: 32768. recommended: 3500
[WARN] report warning: On remote_192_168_0_68: ip_local_port_range_max: 60999. recommended: 65535
[WARN] report warning: On remote_192_168_2_81: ip_local_port_range_min: 32768. recommended: 3500
[WARN] report warning: On remote_192_168_2_81: ip_local_port_range_max: 60999. recommended: 65535
[WARN] report warning: On remote_192_168_0_113: crond is not running. It is recommended to enable it, mainly for setting up scheduled tasks and providing related operation and maintenance capabilities.
[WARN] report warning: On remote_192_168_0_113: transparent_hugepage should be set to [never].
[WARN] report warning: On remote_192_168_0_68: crond is not running. It is recommended to enable it, mainly for setting up scheduled tasks and providing related operation and maintenance capabilities.
[WARN] report warning: On remote_192_168_0_68: transparent_hugepage should be set to [never].
[WARN] report warning: On remote_192_168_2_81: crond is not running. It is recommended to enable it, mainly for setting up scheduled tasks and providing related operation and maintenance capabilities.
[WARN] report warning: On remote_192_168_2_81: transparent_hugepage should be set to [never].
[WARN] report critical: node: remote_192_168_0_113 is using cgroup v2, but OceanBase currently uses cgroup v1. Resource isolation will not take effect. Please consider using cgroup v1 or check if OceanBase supports cgroup v2. Reference: https://ask.oceanbase.com/t/topic/35632756/4
[WARN] report critical: node: remote_192_168_0_68 is using cgroup v2, but OceanBase currently uses cgroup v1. Resource isolation will not take effect. Please consider using cgroup v1 or check if OceanBase supports cgroup v2. Reference: https://ask.oceanbase.com/t/topic/35632756/4
[WARN] report critical: node: remote_192_168_2_81 is using cgroup v2, but OceanBase currently uses cgroup v1. Resource isolation will not take effect. Please consider using cgroup v1 or check if OceanBase supports cgroup v2. Reference: https://ask.oceanbase.com/t/topic/35632756/4
[WARN] report warning: On remote_192_168_0_113: swapon need be closed. Now, it is used.
[WARN] report warning: On remote_192_168_0_68: swapon need be closed. Now, it is used.
[WARN] report warning: On remote_192_168_2_81: swapon need be closed. Now, it is used.
[WARN] report warning: node: 192.168.2.81 max_syslog_file_count is 4, please check. the recommended is 0 or over 100
[WARN] report warning: node: 192.168.0.113 max_syslog_file_count is 4, please check. the recommended is 0 or over 100
[WARN] report warning: node: 192.168.0.68 max_syslog_file_count is 4, please check. the recommended is 0 or over 100
[WARN] report warning: On remote_192_168_0_113: fs.pipe-user-pages-soft: 16384. recommended: 0.
[WARN] report warning: On remote_192_168_0_68: fs.pipe-user-pages-soft: 16384. recommended: 0.
[WARN] report warning: On remote_192_168_2_81: fs.pipe-user-pages-soft: 16384. recommended: 0.
Check obproxy finished. For more details, please run cmd ' cat ./check_report/obdiag_check_20260706105019/obdiag_check_report_obproxy_2026-07-06-10-50-19.table '
Check observer finished. For more details, please run cmd ' cat ./check_report/obdiag_check_20260706105020/obdiag_check_report_observer_2026-07-06-10-50-21.table '
Tips: If you run into SSH connection issues with obdiag, try lowering concurrency by adding --inner_config check.max_workers=1 to the command.
Trace ID: 6bee6256-78e5-11f1-8774-fa163e36345b
If you want to view detailed obdiag logs, please run: obdiag display-trace 6bee6256-78e5-11f1-8774-fa163e36345b