D.26. tarantella object add_host

アプリケーションを実行できるアプリケーションサーバーのリストに、アプリケーションサーバーの負荷分散用のアプリケーションサーバーを追加します。

構文

tarantella object add_host { --name obj...
                             --host hobj...
                           } | --file file

説明

次の表は、このコマンドで使用可能なオプションを示しています。

オプション

説明

--name

負荷分散のために設定するアプリケーションオブジェクトの名前。

--host

負荷分散プールに追加するアプリケーションサーバーオブジェクトの名前。

--file

アプリケーションサーバーの負荷分散を設定する一式のコマンドを格納したバッチファイル。

注記

空白を含むオブジェクト名はすべて、引用符で囲むようにしてください ("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"