LKCLI(コマンドラインインターフェイス)を使用して、WebSphere MQ Recovery Kitをセットアップできます。
コマンドラインからのWebShpere MQリソースの作成/拡張/構成
create mq
例: #lkcli resource create mq --tag <tag> --qmgr <queue manager name> --switchback <switchback type> --protect_listener <YES | NO> --channel <connection channel> --ip <IP tag>
| オプション | デフォルト | 説明 |
|---|---|---|
| --qmgr <str> | キューマネージャーの名前 | |
| [--protect_listener <YES|NO>] | YES | キューマネージャーに関連付けられたMQリスナーを保護するかどうかを指定します。 |
| [--channel <str>] | SYSTEM.DEF.SVRCONN | キューマネージャーの接続チャネル。 |
| [--ip <str>] | リスナーのIPアドレスを保護するLifeKeeper IPリソースタグ。IPリソースは、MQリソースが作成されているサーバーでIn Serviceになっている必要があります。この引数で指定されたIPリソースは、MQリソースの子リソースになります。 |
extend mq
例: #lkcli resource extend pdb --tag <tag> --dest <backup node> --switchback <switchback type> --template_priority <priority> --target_priority <priority>
オプションなし
config mq
例: #lkcli resource config mq --tag <tag> --protect_listener <YES | NO> --test_queue <name of the test queue> --log_level <ERROR | INFORMATION | DEBUG | FINE> --immediate_stop_timeout <seconds> --preemptive_stop_timeout <seconds> --channel <connection channel> --cmd_server_protection <Full | Minimal>
| オプション | デフォルト | 説明 |
|---|---|---|
| [--protect_listener <YES|NO>] | キューマネージャーに関連付けられたMQリスナーを保護するかどうか。 このパラメーターは、MQ リソースが稼働しているサーバー(ISP)でのみ変更できます。 | |
| [--test_queue <str>] | LifeKeeper MQ Recovery KitがPUT/GETヘルスチェックを実行するときに使用するテストキューの名前。 PUT/GET テストを無効にするために、値を空の文字列 (つまり —test_queue “”) に設定できます。 | |
| [--log_level <ERROR|INFORMATIONAL|DEBUG|FINE>] | MQリソースのログレベル | |
| [--immediate_stop_timeout <str>] | キューマネージャーの即時停止を試行するときに使用されるタイムアウト値 (秒単位) | |
| [--preemptive_stop_timeout <str>] | キューマネージャーのプリエンプティブ停止を試行するときに使用されるタイムアウト値 (秒単位) | |
| [--channel <str>] | キューマネージャーの接続チャネル。 このパラメーターは、MQリソースが稼働しているサーバー (ISP) でのみ変更できます | |
| [--cmd_server_protection <Full|Minimal>] | MQコマンドサーバーの保護レベル |



このトピックへフィードバック