付録A.1 Smart Composer機能が実行するBIG-IPのCLIコマンド

Smart Composer機能が実行するBIG-IPのCLIコマンドを製品ごとに説明します。BIG-IPのCLIコマンドの詳細については,使用する製品のドキュメントを参照してください。

<この項の構成>
(1) BIG-IP v9またはBIG-IP v10.1の場合
(2) BIG-IP v10.2の場合

(1) BIG-IP v9またはBIG-IP v10.1の場合

負荷分散機としてBIG-IP v9またはBIG-IP v10.1を使用する場合に,Smart Composer機能が実行する負荷分散機のCLIコマンドを次の表に示します。

表A-1 Smart Composer機能が実行する負荷分散機のCLIコマンド(BIG-IP v9またはBIG-IP v10.1の場合)

Smart Composer機能のコマンド実行する負荷分散機のCLIコマンド
共通b save
b version
cmx_build_system(Webシステムを構築する場合)cookieスイッチングの使用なしb pool <仮想サーバ名> {member <実サーバIPアドレス>:<実ポート>}
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session disable
b virtual <仮想サーバ名> {destination <仮想サーバIPアドレス>:<仮想ポート> pool <仮想サーバ名> profile http enable}
cookieスイッチングの使用ありb pool <仮想サーバ名> {member <実サーバIPアドレス>:<実ポート>}
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session disable
b profile persist <仮想サーバ名> {mode cookie cookie mode insert cookie name <cookie名>}
b virtual <仮想サーバ名> {destination <仮想サーバIPアドレス>:<仮想ポート> pool <仮想サーバ名> profile http persist <仮想サーバ名> enable}
cmx_build_system(スケールアウトする場合)b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session disable
cmx_build_system(実ポートを変更する場合)b pool <仮想サーバ名> member <実サーバIPアドレス>:<変更後の実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<変更後の実ポート> session disable
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> delete
cmx_build_system(負荷分散機の仮想サーバを初期化しないでWebシステムを構築する場合)cookieスイッチングの使用なしb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session disable
b virtual <仮想サーバ名> {destination
<仮想サーバIPアドレス>:<仮想ポート> pool
<仮想サーバ名> profile http enable}
cookieスイッチングの使用ありb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session disable
b profile persist <仮想サーバ名> {mode cookie cookie mode insert cookie name <cookie名>}
b virtual <仮想サーバ名> {destination <仮想サーバIPアドレス>:<仮想ポート> pool <仮想サーバ名> profile http persist <仮想サーバ名> enable}
cmx_delete_system(サービスユニットを削除,およびホスト単位管理モデルをスケールインする場合)b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> delete
b node <実サーバIPアドレス> delete
cmx_delete_system(Webシステムを削除する場合)cookieスイッチングの使用なしb virtual <仮想サーバ名> delete
b pool <仮想サーバ名> delete
b node <実サーバIPアドレス> delete
cookieスイッチングの使用ありb virtual <仮想サーバ名> delete
b pool <仮想サーバ名> delete
b node <実サーバIPアドレス> delete
b profile persist <仮想サーバ名> delete
cmx_start_targetb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session enable
cmx_stop_targetb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session disable
参考
BIG-IP v9,BIG-IP v10.1の場合,仮想サーバ名をプール名として使用します。

(2) BIG-IP v10.2の場合

負荷分散機としてBIG-IP v10.2を使用する場合に,Smart Composer機能が実行する負荷分散機のCLIコマンドを次の表に示します。

表A-2 Smart Composer機能が実行する負荷分散機のCLIコマンド(BIG-IP v10.2の場合)

Smart Composer機能のコマンド実行する負荷分散機のCLIコマンド
共通b save
b version
cmx_build_system(Webシステムを構築する場合)cookieスイッチングの使用なしb pool <仮想サーバ名> {member <実サーバIPアドレス>:<実ポート>}
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session user disabled
b virtual <仮想サーバ名> {destination <仮想サーバIPアドレス>:<仮想ポート> pool <仮想サーバ名> profile http enable}
cookieスイッチングの使用ありb pool <仮想サーバ名> {member <実サーバIPアドレス>:<実ポート>}
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session user disabled
b profile persist <仮想サーバ名> {mode cookie cookie mode insert cookie name <cookie名>}
b virtual <仮想サーバ名> {destination <仮想サーバIPアドレス>:<仮想ポート> pool <仮想サーバ名> profile http persist <仮想サーバ名> enable}
cmx_build_system(スケールアウトする場合)b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session user disabled
cmx_build_system(実ポートを変更する場合)b pool <仮想サーバ名> member <実サーバIPアドレス>:<変更後の実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<変更後の実ポート> session user disabled
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> delete
cmx_build_system(負荷分散機の仮想サーバを初期化しないでWebシステムを構築する場合)cookieスイッチングの使用なしb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session user disabled
b virtual <仮想サーバ名> {destination <仮想サーバIPアドレス>:<仮想ポート> pool <仮想サーバ名> profile http enable}
cookieスイッチングの使用ありb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> add
b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session user disabled
b profile persist <仮想サーバ名> {mode cookie cookie mode insert cookie name <cookie名>}
b virtual <仮想サーバ名> {destination <仮想サーバIPアドレス>:<仮想ポート> pool <仮想サーバ名> profile http persist <仮想サーバ名> enable}
cmx_delete_system(サービスユニットを削除,およびホスト単位管理モデルをスケールインする場合)b pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> delete
b node <実サーバIPアドレス> delete
cmx_delete_system(Webシステムを削除する場合)cookieスイッチングの使用なしb virtual <仮想サーバ名> delete
b pool <仮想サーバ名> delete
b node <実サーバIPアドレス> delete
cookieスイッチングの使用ありb virtual <仮想サーバ名> delete
b pool <仮想サーバ名> delete
b node <実サーバIPアドレス> delete
b profile persist <仮想サーバ名> delete
cmx_start_targetb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session user enabled
cmx_stop_targetb pool <仮想サーバ名> member <実サーバIPアドレス>:<実ポート> session user disabled
参考
BIG-IP v10.2の場合,仮想サーバ名をプール名として使用します。