您可以從指令行,以單一指令為 IBM® Enterprise
Records Web 應用程式部署設定檔產生必要的配置 XML 檔。
當您執行 generateConfig 指令時,會為單一應用程式伺服器或高可用性安裝架構建立 Web 應用程式部署設定檔的必要配置 XML 檔。
如果要為 Web 應用程式部署設定檔產生配置 XML 檔,請執行下列動作:
- 以有權執行「配置管理程式」的使用者身分,登入 IBM Enterprise
Records 伺服器。
開啟一個指令視窗。
- 將現行目錄切換至 ier_install_path/configure,其中 ier_install_path 是安裝 IBM Enterprise
Records 軟體的位置。
- 視您的環境而定,執行下列其中一項指令。
當您輸入指令時勿鍵入任何換行。
如需 generateConfig 指令的相關資訊,請參閱本主題結尾的鏈結。
- 產生 Web 應用程式部署設定檔。
- 如果是 Windows,下列指令針對要部署的新的 Web 應用程式設定檔,在 ier_install_Path\configure\profiles\ 目錄中產生 WSWebApplicationDeploymentFile 檔:
configmgr_cl.exe generateConfig -appserver appserver_name
-profiletype webapplication_deployment -profile
"C:\Program Files\IBM\EnterpriseRecords\configure
\profiles\WSWebApplicationDeploymentProfile"
- 如果是 UNIX,下列指令針對要部署的新的 Web 應用程式設定檔,在 ier_install_Path/configure/profiles/ 目錄中產生 WSWebApplicationDeploymentFile 檔:
./configmgr_cl generateConfig -appserver appserver_name
-profiletype webapplication_deployment -deploymenttype cluster
-aextdeploymenttype cluster -profile "/opt/IBM/EnterpriseRecords
/configure/profiles/WSWebApplicationDeploymentProfile"
重要: 這個指令區段的其餘部分,您只會看到 Windows 範例。
- 在叢集環境上產生 Web 應用程式部署。
- 如果是 Windows,下列指令針對要部署於叢集環境的新的 Web 應用程式設定檔,在 ier_install_Path\configure\profiles\ 目錄中產生 WSWebApplicationDeploymentFile 檔:
configmgr_cl.exe generateConfig -appserver appserver_name
-profiletype webapplication_deployment -deploymenttype cluster
-aextdeploymenttype cluster -profile "C:\Program Files\
IBM\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentProfile"
- 例如,
- -appserver appserver_name 參數指定應用程式伺服器的類型,且必須是 websphere、weblogic 或 jboss。
如需其他參數資訊,請參閱這個主題結尾的鏈結。
記住: 如果路徑包括的目錄名稱有空格,請以引號括住整個路徑。