generateConfig コマンドは、指定した構成プロファイルの構成 XML ファイルを生成します。
コマンド名は大/小文字が区別されません。
generateConfig コマンド構文
以下の構文には、コマンドをフォーマット設定して読みやすくするために改行が含まれています。
コマンドとオプションは、改行せずに 1 行で入力してください。
configmgr_cl.exe generateConfig -appserver app_server_type
-profiletype profile_type
-profile path_myprofile_directory [-deploymenttype
ier_websphere_deployment] [-aextdeploymenttype
-aext_websphere-deployment] [-silent] [-help] [-debug]
generateConfig コマンド・パラメーター
- -appserver app_server_type
- -appserver app_server_type パラメーターは、アプリケーション・サーバーのタイプを指定します。このパラメーターは websphere、weblogic、または jboss にする必要があります (webapplication_deployment プロファイルの場合は jboss のみ)。このパラメーターは、webapplication_deployment プロファイル・タイプにのみ適用されます。 その他のプロファイル・タイプでは、このパラメーターは無視されます。
- -profiletype profile_type_profile
- -profiletype profile_type_profile パラメーターは、使用するプロファイルを指定します。 profile_type_profile 値は、以下の項目のいずれかにする必要があります。
- webapplication_deployment - IBM® Enterprise
Records Web アプリケーション・プロファイル。
- objectstore_configuration: 新規インストール用オブジェクト・ストア構成プロファイル。
- objectstore_upgrade: アップグレード用オブジェクト・ストア構成プロファイル。
- -profile path_myprofile_directory
- -profile path_myprofile_directory パラメーターは、作成するプロファイルへのディレクトリー・パスを指定します。 絶対パス (C:¥Program Files¥IBM¥EnterpriseRecords¥configure¥profiles¥WASWebApplicationDeploymentFile など)、または ier_install_path/configure/profiles への相対パス (WASWebApplicationDeploymentFile など) を指定することができます。 パスにスペースを含める場合は、パスを二重引用符で囲みます。
- -deploymenttype ier_websphere_deployment
- -deploymenttype ier_websphere_deployment パラメーターは、WebSphere® への IBM Enterprise
Records のデプロイメントのタイプを指定します。 有効な値として standard、cluster、または network を使用する必要があります。 このパラメーターは、–appserver が websphere に設定されている webapplication_deployment プロファイル・タイプにのみ適用されます。 その他の場合、このパラメーターは無視されます。 このパラメーターが指定されていない場合、デフォルトの standard が使用されます。
- -aextdeploymenttype aext_websphere_deployment
- -aextdeploymenttype aext_websphere_deployment パラメーターは、WebSphere への Application Engine または Workplace XT のデプロイメントのタイプを指定します。 有効な値として standard、cluster、または network を使用する必要があります。 このパラメーターは、–appserver が websphere に設定されている webapplication_deployment プロファイル・タイプにのみ適用されます。 その他の場合、このパラメーターは無視されます。 このパラメーターが指定されていない場合、デフォルトの standard が使用されます。
- -debug
- -debug パラメーターは、コマンドのロギングを可能にします。
制約事項: このパラメーターは、HP-UX のインストール済み環境ではサポートされません。
- -silent
- -silent パラメーターは、コマンド実行中に出力が表示されないことを意味します。
- -help
- -help パラメーターは、コマンド・ヘルプを表示します。
generateconfig コマンドの例
以下の例には、コマンドを読みやすく整えるために
改行が含まれています。
コマンドとオプションは、改行せずに 1 行で入力してください。
- generateconfig コマンドのヘルプを表示します。
- 以下のコマンドは、generateconfig コマンドのヘルプを表示します。
configmgr_cl.exe generateconfig -help
- WebSphere への Web アプリケーションのデプロイメントを生成します。
- 以下のコマンドは、WebSphere へのデプロイメントに対応した新規 Web アプリケーション・プロファイル用の WSWebApplicationDeploymentFile ディレクトリーを C:¥Program
Files¥IBM¥EnterpriseRecords¥configure¥profiles¥ ディレクトリー内に生成します。
configmgr_cl.exe generateConfig -appserver websphere
-profiletype webapplication_deployment -profile
"C:¥Program Files¥IBM¥EnterpriseRecords¥configure
¥profiles¥WSWebApplicationDeploymentFile"
- WebSphere クラスター環境への Web アプリケーションのデプロイメントを生成します。
- 以下のコマンドは、WebSphere クラスター環境へのデプロイメントに対応した新規 Webアプリケーション・プロファイル用の WSWebApplicationDeploymentFile ディレクトリーを C:¥Program
Files¥IBM¥EnterpriseRecords¥configure¥profiles¥ ディレクトリー内に生成します。
configmgr_cl.exe generateConfig -appserver websphere
-profiletype webapplication_deployment -deploymenttype cluster
-aextdeploymenttype cluster -profile "C:¥Program Files¥
IBM¥EnterpriseRecords¥configure¥profiles
¥WSWebApplicationDeploymentFile"
- 新規インストール用オブジェクト・ストア構成プロファイルを生成します。
- 以下のコマンドは、新しいオブジェクト・ストア・プロファイル用の ObjectStoreConfigurationProfile ディレクトリーを、C:¥Program Files¥IBM¥EnterpriseRecords¥configure¥profiles¥ ディレクトリー内に生成します。
configmgr_cl.exe generateConfig -profiletype
objectstore_configuration -profile
"C:¥Program Files¥IBM¥EnterpriseRecords¥configure¥
profiles¥ObjectStoreConfigurationProfile"
- アップグレード用オブジェクト・ストア構成プロファイルを生成します。
- 以下のコマンドは、アップグレード・オブジェクト・ストア・プロファイル用の ObjectStoreUpgradeProfile ディレクトリーを、C:¥Program Files¥IBM¥EnterpriseRecords¥configure¥profiles¥ ディレクトリー内に生成します。
configmgr_cl.exe generateConfig -profiletype
objectstore_upgrade -profile
"C:¥Program Files¥IBM¥EnterpriseRecords¥configure¥
profiles¥ObjectStoreUpgradeProfile"