ovm_poolcontrol
ユーティリティを使用すると、管理者は、Oracle VM Managerによって制御される特定のサーバー・プールのステータス情報を簡単に取得することができ、サーバー・プールおよびそのOracle VM Serverメンバーの両方に登録されているイベントを表示して承認できます。
ovm_poolcontrol
ユーティリティには、次のコマンドライン・オプションがあります。
-u Oracle VM Manager管理ユーザーのユーザー名(必須)
-p 管理ユーザー名に対応するパスワード(必須)
-h Oracle VM Managerを実行しているサーバーのホスト名(必須)
-X SSLを使用してOracle VM Managerに接続
-s サーバー・プール名
-I サーバー・プールUUID(コロン区切りの一続きの16進数)
-S Oracle VM Server名(-c addserver/removeserverと同時に使用)
-A イベントの承認(-c eventsと同時に使用)
[all, pool]: サーバー・プールおよびサーバーの両方のイベント、またはサーバー・プールのみのイベントを承認
-c コンソール・コマンド(必須)
[コマンド: list、addserver、removeserver、events、status、info
]
addserver
およびremoveserver
コマンドでは、サーバーの追加/削除という非常に基本的な動作のみが実行され、ネットワークおよびリポジトリの割当てや割当て解除は実行されません。
ovm_poolcontrol
コマンドおよびそれぞれの出力の例は次のとおりです。
すべてのサーバー・プールとそれらのステータスを表示します。
# ./ovm_poolcontrol -u admin -p password
-h localhost -c list
Oracle VM Pool Control utility 0.5.0.
Connected.
Command : list
Repository : 'MyServerPool1'
ID : '0004fb0000020000d2ee5d9394b371c5'
Status : 'Online'
Repository : 'MyServerPool2'
ID : '0004fb0000020000183c51866b2fa4a1'
Status : 'Online'
Exit...
サーバー・プールの詳細情報を表示します。
# ./ovm_poolcontrol -u admin -p password
-h localhost -s MyServerPool1 -c info
Oracle VM Pool Control utility 0.5.0.
Connected.
Command : info
Server Pool : MyServerPool1
Status : Online
ID : 0004fb0000020000d2ee5d9394b371c5
Virtual IP : 10.172.77.172
Clustered : true
Master Server : MyServer1
KeyMap : en-us
Load Balancer : Off
Pool Memory : 57342
Available Memory: 54631
Total Threads : 8
CPU Utilization : 23%
Servers in this server pool :
Name : 'MyServer1'
Status : 'Running'
Name : 'MyServer2'
Status : 'Running'
Name : 'MyServer3'
Status : 'Running'
Exit...
サーバー・プール・イベントを承認します。
# ./ovm_poolcontrol -u admin -p password
-h localhost -s MyServerPool1 -c events -A pool
Oracle VM Pool Control utility 0.5.0.
Connected.
Command : events
Server Pool Events for pool 'MyServerPool'
Exit...