English | 中文版
OceanBase Diagnostic Tool (obdiag) is a quick diagnostic tool for open-source OceanBase software. The features include gather\analyze\check OceanBase Diagnostic information. It can be executed with one click in different deployment modes of OceanBase clusters (OCP, OBD, or manually deployed by users according to documentation).
You can install obdiag by using these methods:
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo
sudo yum install -y oceanbase-diagnostic-tool
sh /usr/local/oceanbase-diagnostic-tool/init.sh
To install obdiag on Python >= 3.8, run these commands:
pip3 install -r requirements3.txt
sh dev_init.sh
source ~/.bashrc
The path of the configuration file for the diagnosed cluster is stored in ~/.obdiag/config.yml
.You can directly edit the configuration file or generate the configuration file through the obdiag config <option>
command
obdiag config -h <db_host> -u <sys_user> [-p password] [-P port]
- One-click cluster inspection
- One-click diagnostic analyze
- One-click root cause analysis
- One-click information collection
For more details, please refer to Official docs
obdiag envisions an open community. We welcome your contributions in any form:
- Report bugs through Issues.
- Participate in or initiate discussions via Discussion.
- Contribute bug fixes or new features through Pull requests.
Version | Iteration Period | Release Date | Function |
---|---|---|---|
1.6.0 | 2024.01 | 2024.01.31 |
|
2.0.0 | 2024.03 | 2024.04.11 |
|
2.1.0 | 2024.04 | 2024.05.13 |
|
2.2.0 | 2024.05 | 2024.06.14 |
|
2.3.0 | 2024.06 | - |
|
2.4.0 | 2024.07 | - |
|
2.5.0 | 2024.08 | - |
|
3.0.0 | 2024.09 | - |
|
3.1.0 | 2024.10 | - |
|
3.2.0 | 2024.11 | - |
|
3.3.0 | 2024.12 | - |
|
OceanBase Database is under MulanPubL - 2.0 license. You can freely copy and use the source code. When you modify or distribute the source code, please obey the MulanPubL - 2.0 license.
In case you have any problems when using obdiag, welcome reach out for help:
Please add the OB community assistant (WeChat ID: obce666) and note "obdiag SIG", and the staff will contact you and guide you on matters related to joining SIG. We look forward to your active participation and valuable contributions!