アプリケーションを実行できるアプリケーションサーバーのリストに、アプリケーションサーバーの負荷分散用のアプリケーションサーバーを追加します。
tarantella object add_host { --nameobj
... --hosthobj
... } | --filefile
次の表は、このコマンドで使用可能なオプションを示しています。
オプション | 説明 |
---|---|
| 負荷分散のために設定するアプリケーションオブジェクトの名前。 |
| 負荷分散プールに追加するアプリケーションサーバーオブジェクトの名前。 |
| アプリケーションサーバーの負荷分散を設定する一式のコマンドを格納したバッチファイル。 |
空白を含むオブジェクト名はすべて、引用符で囲むようにしてください ("o=例"
など)。
次の例では、アプリケーションサーバー rome をアプリケーション Slide-o-Win 用の負荷分散プールに追加します。
$ tarantella object add_host \ --name "o=applications/cn=Slide-o-Win" \ --host "o=appservers/ou=Sales/cn=rome"
次の例では、グループ WinHosts をアプリケーション Write-o-Win および Slide-o-Win 用の負荷分散プールに追加します。負荷分散は、WinHosts 内のすべてのアプリケーションサーバーで実行されます。
$ tarantella object add_host \ --name "o=applications/cn=Write-o-Win" \ "o=applications/cn=Slide-o-Win" \ --host "o=appservers/cn=WinHosts"