3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Db2 Genius Hub】起動・停止・稼働確認方法

3
Last updated at Posted at 2026-06-19

目次

はじめに

Db2 Genius Hub は、AIエージェントを搭載し、Db2データベースの監視、パフォーマンス分析、問題診断を行うための統合管理ツールです。
Db2 Genius Hub をインストールすると、自動的にプロセスが起動され、そのまま利用開始することができます。
しかし、その後OSが再起動された場合などには再度、起動を行う必要があります。

💡 OS再起動後の再起動手順や、稼働確認方法を含めて整理します

Db2 Genius Hub 起動方法

:mega: 前提:リポジトリーDB(REPODB)が起動済の状態でGenius Hubを起動します

  • リポジトリーDBが停止状態でもGenius Hubの起動は可能ですが、コンソールにエラーが出るためです
  • リポジトリーDBの起動手順は通常のDb2と同様です。(db2startコマンド)

Genius Hub起動には以下のようにコマンドを実行します。

startup.shコマンド
# インスタンスユーザーで実行
$ su - [GeniusHub起動ユーザー]

# Genius Hub起動コマンド実行
$ /opt/ibm/geniushub/ibm-db2GeniusHub/bin/startup.sh
start.sh実行結果例
$ /opt/ibm/geniushub/ibm-db2GeniusHub/bin/startup.sh
Updating the application server bootstrap and environment properties ...
Updating the applications ... 
2026年 5月 7日 木曜日 20:15:27 JST Starting IBM Db2 Genuis Hub.

サーバー dsweb を始動中です。

サーバー dsweb がプロセス ID 606370 で始動しました。
2026年 5月 7日 木曜日 20:16:52 JST Successfully started IBM Db2 Genuis Hub.
******************************************************************************

サマリー
	* Web コンソール HTTP URL
 		http://<ホスト名>:11100/console

	* Web コンソール HTTPS URL
 		https://<ホスト名>:11101/console

Db2 Genius Hub 稼働確認方法

コンソールにアクセスできない時など、Genius Hubが稼働しているかわからないときのために、稼働状況確認用のコマンドが提供されています。
Liberty Serverならびに、利用想定のコンポーネントのStatusが"RUNNING"になっていることを確認します。

status.shコマンド
# Genius Hub起動ユーザーで実行
$ su - [GeniusHub起動ユーザー]

# (オプション)status.shコマンドの動作のため、メッセージ出力言語を英語に設定
$ export LANG=C

# Genius Hub稼働確認コマンド実行
$ /opt/ibm/geniushub/ibm-db2GeniusHub/bin/status.sh
status.sh実行結果例
$ su - dghadmin
$ export LANG=C
$ /opt/ibm/geniushub/ibm-db2GeniusHub/bin/status.sh
==========================================
IBM Db2 Genius Hub - Product Status Check
==========================================

Component Status Summary:
---------------------------------------------------------------------------------
Component                 Status          Details
---------------------------------------------------------------------------------
Liberty Server            RUNNING         PID: 3012849 | Port(s): 11100(HTTP),11101(HTTPS)
Agentic AI Service        RUNNING         PID: 3031245 | Port(s): 11108
Anomaly Detection Service RUNNING         PID: 3018165 | Port(s): 11109
DRS Agent Service         RUNNING         PID: 3014622 | Port(s): 11096
Job Scheduler Service     RUNNING         PID: 3014857 | Port(s): 11107
Redis Service             RUNNING         PID: 3015162 | Port(s): 6379
---------------------------------------------------------------------------------

Overall Status: [OK] All components are running

💡 Tips: 日本語環境では、Liberty Serverが稼働状態(RUNNING)であっても、プロセスID/ポート番号が表示されないことがあります。

status.shを日本語環境で実行した例
$ su - dghadmin
$ /opt/ibm/geniushub/ibm-db2GeniusHub/bin/status.sh
==========================================
IBM Db2 Genius Hub - Product Status Check
==========================================

Component Status Summary:
---------------------------------------------------------------------------------
Component                 Status          Details
---------------------------------------------------------------------------------
Liberty Server            RUNNING         -
Agentic AI Service        RUNNING         PID: 612459  | Port(s): 11108
Anomaly Detection Service RUNNING         PID: 610846  | Port(s): 11109
DRS Agent Service         RUNNING         PID: 607975  | Port(s): 11096
Job Scheduler Service     RUNNING         PID: 608050  | Port(s): 11107
Redis Service             RUNNING         PID: 608562  | Port(s): 6379
---------------------------------------------------------------------------------

Overall Status: [OK] All components are running

Db2 Genius Hub停止方法

計画的なOS再起動などに先立ち稼働中のプロセスを停止するには、stop.sh を実行します。

stop.shコマンド
# Genius Hub起動ユーザーで実行
$ su - [GeniusHub起動ユーザー]

# Genius Hub停止コマンド実行
$ /opt/ibm/geniushub/ibm-db2GeniusHub/bin/stop.sh
stop.sh実行結果例
$ /opt/ibm/geniushub/ibm-db2GeniusHub/bin/stop.sh
2026年  6月 16日 火曜日 20:50:09 JST Stopping IBM Db2 Genuis Hub

サーバー dsweb を停止中です。

サーバー dsweb は停止しました。
2026年  6月 16日 火曜日 20:51:03 JST Successfully stopped IBM Db2 Genuis Hub.

参考情報

3
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?