OceanBase
English日本語简体中文
ドキュメントホーム
製品
エコシステム
リリース

データベース

OceanBase CloudOceanBaseデータベース

ツール

OceanBase Cloud PlatformOceanBase移行サービス(OMS)OceanBaseデベロッパーセンターOceanBase Admin Tool

データベース

OceanBase CloudOceanBaseデータベース

ツール

OceanBase Cloud PlatformOceanBase移行サービス(OMS)OceanBaseデベロッパーセンターOceanBase Admin Tool
OceanBase CloudOceanBaseデータベース

OceanBase Admin Tool

V4.6.0
  • What's New
  • 製品紹介
    • OceanBase管理者ツールとは
    • 製品アーキテクチャ
    • 用語解説
  • クイックスタート
    • OATのインストール
    • OATのクイックスタート
  • ユーザーガイド
    • OATへのログイン
    • OATページの紹介
    • サーバー
      • サーバーの追加
      • サーバーの編集
      • サーバーの運用保守
      • サーバーの削除
      • 認証情報の管理
    • 製品サービス
      • IPv6をサポートする製品サービスのバージョン
      • OCPのインストール、アップグレード、バージョンのロールバック、およびアンインストール
      • ODCのインストール、アップグレード、バージョンのロールバック、およびアンインストール
      • 単体モードのOMSのインストール、アップグレード、およびアンインストール
      • 分離モードのOMSのインストール、アップグレード、およびアンインストール
      • OASのインストール、アップグレード、バージョンのロールバック、およびアンインストール
      • OB Shardingのインストール、アップグレード、バージョンのロールバック、変更、およびアンインストール
      • DataPilotのインストールとアンインストール
      • OAgentのインストール、アップグレード、リソース変更、およびアンインストール
      • MetaDBの作成、アップグレード、およびアンインストール
      • OBDNSの作成とアンインストール
      • InfluxDBの作成とアンインストール
      • NLBの作成、アップグレード、およびアンインストール
      • OpenSearchの作成とアンインストール
      • SQLAuditStoreの作成とアンインストール
      • アービトレーションサービスの作成、アップグレード、およびアンインストール
      • OCPの引き継ぎ
      • OBLBのインストールとアンインストール
      • ODCの引き継ぎ
      • OB Shardingの引き継ぎ
      • 単体モードのOMSの引き継ぎ
      • オーバープロンプト分離モードのOMS
      • MetaDBの引き継ぎ
      • OBDNSの引き継ぎ
      • InfluxDBの引き継ぎ
      • DataPilotの引き継ぎ
      • NLBの引き継ぎ
      • アービトレーションサービスの引き継ぎ
      • イメージ管理
      • 製品およびコンポーネントのリソース変更
      • ツールの管理
      • データ更新
      • コンテナ操作
    • 運用および保守管理
      • 詳細点検
        • 詳細点検の概要
        • 点検項目の設定
        • 詳細点検の開始
          • 単一オブジェクトの詳細点検を開始する
          • グローバル詳細点検の開始
          • 一括で詳細点検を開始する
        • 点検タスクの表示
        • 点検レポートの管理
          • 点検レポートの表示
          • 点検レポートのダウンロード
      • 高可用性テスト
        • 高可用性テストの作成
        • 高可用性テストの表示
    • システムとセキュリティ
      • タスクセンター
      • インストールパッケージ管理
      • ユーザー管理
      • 操作監査
      • システムパラメータ
        • システムパラメータの確認と変更
        • OAT構成パラメータ一覧
  • oatcli
  • アップグレードガイド
  • よくある質問

PDF をダウンロード

このページには現在中国語/日本語版がなく、英語版を表示しています。
ドキュメントフィードバック
  1. ドキュメントセンター
  2. OceanBase Admin Tool
  3. V4.6.0

Install OAT

最終更新:2026-09-03 09:50:27

Prerequisites
Install OAT using the oat-all-in-one installation package
Install OAT using the OAT Docker image

This topic describes how to deploy OAT using Docker.

Prerequisites

Before you deploy OAT, confirm the following:

  • Your operating system meets the following requirements:

    Server type
    Operating system
    Supported version
    x86_64/ARM aarch64 RHEL (and compatible RockyLinux, CentOS, etc.) 7.2 and later
    x86_64/ARM aarch64 Anolis (and compatible Alibaba Cloud Linux, Kylin V10, Unity Operating System (UOS), China Mobile BC-Linux, NeoKylin OS, Zhongke Fangde OS, etc.) 8.4 and later
    x86_64/ARM aarch64 Debian (and compatible Ubuntu, etc.) 11 and later
    x86_64/ARM aarch64 openSUSE 12 SP3 and later
    x86_64/ARM aarch64 openSUSE 12 SP3 and later
    x86_64/ARM aarch64 NeoKylin OS V6.0.99 and later
  • Docker must be installed and started before you install OAT using the OAT image package. Docker Community Edition 18.09.9 or later is recommended.

    Notice

    If you deploy OAT using the oat-all-in-one installation package, the install.sh script in oat-all-in-one automatically installs Docker. You do not need to install Docker separately.

  • The default OAT port 7000 is not occupied.

Install OAT using the oat-all-in-one installation package

Note

We recommend that you install OAT using the oat-all-in-one installation package.

To install OAT, perform the following steps:

  1. Contact technical support to obtain the oat-all-in-one installation package for OAT.

  2. Extract the oat-all-in-one installation package.

    Example:

    tar -xf oat-all-in-one-arm-xxx.tar
    
  3. Run the installation script install.sh.

    Example:

    sh oat-all-in-one-arm/install.sh
    

    Running this command automatically installs Docker (if it is not present in your environment), deploys OAT, and scans the images and tool software packages included in oat-all-in-one.

  4. As prompted, confirm the following information:

    1. Enter the root directory of Docker (it is recommended to set it to a separately mounted directory). The default value is /docker (this directory does not need to be created manually) and can be customized. If Docker is already installed, this step is skipped.
    2. Enter the path for the OAT data directory. The default value is /oat_data (this directory does not need to be created manually) and can be customized.
    3. Enter the OAT HTTP listening port. The default value is 7000 and can be customized.
    4. Enter the OAT database port. The default value is 3306 and can be customized.
    5. Enter the password for the OAT administrator account (set an initial login password). This can be customized.
    6. Access OAT using the returned URL to verify the availability of the OAT service.

    Example:

    Note

    The Docker installation step is skipped because Docker is already installed on the server.

    1. Change the path for the OAT data directory to /data/oat_data and press Enter.

      Input the OAT data dir: /data/oat_data
      
    2. Use the default value for the OAT HTTP listening port and press Enter directly.

      Input the OAT HTTP listen port: 7000
      
    3. Use the default value for the OAT database port and press Enter directly.

      Input the OAT database port: 3306
      
    4. After modifying the password for the OAT administrator admin user (initial login password), press Enter.

      Input the OAT admin user password(login password): ******
      
    5. Access OAT using the returned URL to verify the availability of the OAT service.

      The return result is as follows:

      Start prepare docker
      Docker is already exists, start check...
      Already installed docker check healthy, skip install docker
      Start prepare OAT
      Loaded image: xxx/oceanbase/oat:x.x.x_20241025_arm
      45fd5a9b31b0af6aeb07b3e485503ad4c64629170b91d1d3c9e8128e8e532125
      check OAT url http://127.0.0.1:7000/hc
      OAT API not ready, please wait, sleep 5s retry...
      OAT API not ready, please wait, sleep 5s retry...
      OAT API not ready, please wait, sleep 5s retry...
      OAT API not ready, please wait, sleep 5s retry...
      OAT API not ready, please wait, sleep 5s retry...
      OAT API not ready, please wait, sleep 5s retry...
      OAT API ready
      Copy images and binary_packages to OAT data dir
      Trigger OAT scan api to find images and binary_packages
      Trigger scan task success, please visit OAT web site and wait for scan task finished
      OAT is ready for visit
      url is: http://<current_ip>:7000
      user/password is: admin/******
      

Note

  • The install.sh script starts the OAT container by default using --net host (host network mode). If you need to configure it to another network mode, manually start the container using the OAT image.
  • The x86 (aarch64) version of oat-all-in-one by default only contains images and software packages for x86 (aarch64) and noarch architectures. If you need the aarch64 (x86) architecture, download and copy it to the corresponding directory mounted by the OAT container, then initiate a scan task to add it.

Install OAT using the OAT Docker image

  1. Obtain the OAT installation package.

    Notice

    Contact OAT technical support to obtain the installation package.

  2. Use the scp command to upload the OAT installation package to the server.

    Here, oat_server is the IP address of the server where OAT is to be deployed.

    scp oat.tgz <oat_server_user>@<oat_server_ip>:~/
    

    Example:

    scp oat_x.x.x_20241025_arm.tgz root@xxx.xxx.xxx.xxx:/home/admin/oat_rpm
    
  3. Mount the OAT directory.

    Create a /data_dir directory on the server (the path can be customized; this example uses /data_dir) to store persistent data for OAT.

    After the /data_dir directory is mounted to the OAT container, OAT automatically creates the /data_dir/logs, /data_dir/images, and /data_dir/db directories to store OAT system logs, Docker images for components and products, and OAT database files, respectively.

    mkdir -p /data_dir
    
  4. Load the OAT installation package as a Docker image.

    docker load -i oat_xxx_xxxxxxxx_xxx.tgz
    

    Here, oat_xxx_xxxxxxxx_xxx.tgz is the name of the installation package.

    Example:

    docker load -i oat_x.x.x_20241025_arm.tgz
    

    The return result is as follows:

    Loaded image: xxx/oceanbase/oat:x.x.x_20241025_arm
    
  5. Run the docker images command to obtain the tag of the OAT image.

    Note

    If only one OAT installation package is loaded, use the example command. If multiple installation packages are loaded, run the docker images command to view the output, and concatenate the contents of the first two columns with a colon (:).

    oat_image=`docker images | grep oat | awk '{printf $1":"$2"\n"}'`
    
  6. Run the docker run command to start OAT.

    Here, $oat_image is the tag of the OAT image.

    docker run -d --net host --name oat  -v /data_dir:/data -e OAT_INITIAL_ADMIN_PASSWORD=xxx --restart on-failure:5 $oat_image
    

    Note

    • The HTTP service of OAT listens on port 7000 by default. You can specify the -e HTTP_PORT=7001 parameter to change it to another port.
    • You can specify the -e OAT_INITIAL_ADMIN_PASSWORD=xxx parameter to change the password of OAT.
    • OAT uses MariaDB as its built-in data store and listens on port 3306 by default. You can specify the -e DB_PORT=3307 parameter to change it to another port.
    • We recommend that you use the --net host parameter to start OAT, because a container started in bridge network mode may be affected by docker0 bridge failures or the operating system parameter ip_forward.

    Here is an example:

    docker run -d --net host --name oat -v /data_dir:/data -e OAT_INITIAL_ADMIN_PASSWORD=****** --restart on-failure:5 $oat_image
    

    The return result is as follows:

    490344724bfcb2801da271196ebc38b5c15547b796178dc7660553ae62b668c2
    
  7. After OAT starts successfully, enter http://<oat_server_ip>:7000 in the browser address bar.

    Replace <oat_server_ip> with the IP address of the server where OAT is deployed.

    If the login page appears in the browser window, OAT has been installed and started successfully.

次のトピック

What's New
次へ
このページの内容
Prerequisites
Install OAT using the oat-all-in-one installation package
Install OAT using the OAT Docker image