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:13

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

This topic describes how to deploy OceanBase Admin Toolkit (OAT) in a Docker container.

Prerequisites

Before you deploy OAT, make sure the following:

  • Your operating system meets the conditions listed in the following table.

    Architecture
    Operating system
    Supported version
    x86_64 Red Hat Enterprise Linux (RHEL) 7.2 or later
    x86_64 CentOS 7.2 or later
    x86_64 AliOS 7.2 or later
    x86_64 openSUSE 12SP3 or later
    ARM AArch64 AliOS 7.2 or later
    ARM AArch64 NeoKylin 7.6
    ARM AArch64 Huawei EulerOS 2.0 SP8
  • You have installed and started Docker. Docker Community Edition 17.03 or later is recommended. If you use the all-in-one package to install OAT, the install.sh script in the package automatically installs Docker.

  • The default port 7000 for OAT is not occupied.

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

Note

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

The oat-all-in-one package contains the software packages of Docker 18.09.9, OAT V4.1.0, MetaDB V2.2.77, NLB V3.5.1, and some commonly used tools. Perform the following steps to install OAT:

  1. Decompress the oat-all-in-one package.
tar -xf oat-all-in-one-x86.tar
  1. Run the install.sh script.
sh oat-all-in-one-x86/install.sh

This command automatically installs Docker (if Docker is not installed), deploys OAT, and scans existing images and tool packages.

  1. Select the root directory of Docker and the data directory of OAT, and then specify the HTTP listening port (7000 by default), database port (3306 by default), and initial password of OAT.
  2. Access OAT by using the returned URL to verify the availability of OAT.

Note

  • By default, the install.sh script starts the OAT container by using --net host (host network mode). To configure another network mode for the OAT container, you must manually start the OAT container.

  • By default, oat-all-in-one for x86 contains only the OAT image and software packages for the x86_64 and Noarch architectures, and `oat-all-in-one` for AArch64 contains only the OAT image and software packages for AArch64 and Noarch. If you have only `oat-all-in-one` for x86 or AArch64 and you want to use the OAT image and software packages for the AArch64 or x86_64 architecture, download and copy the required OAT image and software packages to the directory to which the OAT container is mounted, and then initiate a scan task to add the packages.

Install OAT by using the OAT installation package

  1. Contact OceanBase Technical Support to download the installation package of OAT.

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

    In the following command, oat_server indicates the IP address of the server where OAT is to be deployed.

    scp oat.tgz <oat_server_user>@<oat_server_ip>:~/
    
  3. Mount the OAT directory.

    Create a directory named /data_dir on the server to save persistent data of OAT.

    After the /data_dir directory is mounted to the OAT container, OAT will automatically create the /data_dir/logs, /data_dir/images, and /data_dir/db directories to store OAT system logs, OAT component and product Docker images, and OAT database files, respectively.

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

    docker load -i oat.tar
    
  5. Run the docker images command to obtain the tag of the OAT image.

    Note

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

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

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

    Note

    • By default, the HTTP server of OAT listens on port 7000. You can specify the -e HTTP_PORT=7001 parameter to modify the port.

    • You can specify the -e OAT_INITIAL_ADMIN_PASSWORD=xxx parameter to change the password of OAT.

    • By default, the built-in MariaDB of OAT listens on port 3306. You can specify the -e DB_PORT=3307 parameter to modify the port.

    • We recommend that you start OAT by specifying the --net host parameter, because a container started in bridge mode can be affected by docker0 bridge failures or the ip_forward parameter of the operating system.

  7. After OAT is started, enter http://<<oat_server_ip>:7000 in the address bar of the browser.

    If the logon page appears, OAT has been successfully installed and started.

次のトピック

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