前のトピック: dpmrsi capture_driverset コマンド -- RSI ドライバ セットをキャプチャする

次のトピック: dpmrsi collect_drivers コマンド -- RSI ドライバを追加する

dpmrsi cloud_deploy Command -- [assign the value for appl in your book] グリッドに RSI イメージを展開する

指定された [assign the value for appl in your book] グリッドへの指定されたテンプレートに基づいて、新規アプリケーションに RSI イメージを展開するには、dpmrsi cloud_deploy コマンドを使用します。

このコマンドの形式は、以下のとおりです。

dpmrsi cloud_deploy
[-sc sc_url]
-grid gridname
-template templatename
-application applicationname
-config configurationname
-name imagename
-domain domainname
[-serverid serverid]
[-boot_network bootnetwork]
[-depot depotname]
-img_host RSIserver
-dc_user RSIapplicationuser -dc_password RSIapplicationpassword
[-ws_user username -ws_password password]
[-locale iso639value]
-sc sc_url

(オプション)サービス コントローラ ホスト用の URL を定義します。

例: https://hostname:port/...

hostname

サービス コントローラがインストールされている完全修飾ホスト名を定義します。

例: localhost.ca.com

port

サービス コントローラ ホスト用のリスニング ポートを定義します。

例: 80

-grid gridname

使用するグリッドの名前(gridname)を指定します。

-template templatename

使用するテンプレートの名前(templatename)を指定します。

-application applicationname

アプリケーションの名前(applicationname)を指定します。

-config configurationlist

使用するリソース プロパティのカンマ区切りリストを指定します。

例: 「user=username, password=testpswd, host=hostname」

-name imagename

RSI イメージの名前を定義します。

-domain domainname

RSI ドメインの名前を指定します。

-serverid serverid

(オプション)グリッド内の新規サーバの名前を指定します。 このサーバは、RSI サーバに serverid として登録されます。

デフォルト: serverid が指定されない場合、applicationname が使用されます。

-boot_network networkname

RSI サーバの登録済みブート ネットワークの名前を定義します。 RSI サーバに 1 つ(デフォルト)以上のネットワークが登録されている場合のみ、このパラメータは必須です。 有効なエントリ: 任意の英数字。

-depot depotname

(オプション)RSI デポの名前を指定します。

例: mydepot

デフォルト: -depot スイッチを指定しない場合は、デフォルトのデポが使用されます。

-img_host RSIserver

RSI サーバの名前を定義します。

-dc_user RSIapplicationuser

RSI アプリケーション ユーザ名を定義します。

-dc_password RSIapplicationpassword

RSI アプリケーション ユーザのパスワードを定義します。

-ws_user username -ws_password password

(オプション)Web サービスのセキュリティ チェックで使用する認証情報を指定します。 認証情報が含まれていない場合、入力が求められます。 caaipsecurity を使用して独自のセッションをセット アップすることにより、認証情報のプロンプトを回避します。

-locale iso639value

(オプション)デフォルトの英語出力より優先させるロケールを、IS0 639_3166 の組み合わせ(たとえば フランス語の場合は fr_FR)で指定します。コマンド プロンプトのロケールを使用する場合は "native" を指定します。

例: RSI ドライバ セットをキャプチャする

この例では、ca-grid で新規 CentOS アプリケーションを作成し、それに subth01_RHEL5_OFFLINE_VM イメージを展開します。

dpmrsi cloud_deploy
–grid ca-grid
-template VDS_CentOS54_r1
–application subth01-test
–config “user=subth01,user_pw=subth01,root_pw=ca_admin,primary_ip=174.36.85.41,netmask=255.255.255.224,gateway=174.36.85.33,hostname=wallytest2,dns1=4.2.2.2,dns2=4.2.2.3,cpu.dflt=0.50,mem.dflt=1G,VDS_CENTOS54.boot.size=10G”
-name subth01_RHEL5_OFFLINE_VM
-serverid subth01-test
–domain applogic-domain
-depot image
-boot_network applogic-network
-img_host 174.36.85.60
-dc_user admin -dc_password dynacenter
-ws_user admin -ws_password ca_admin