您可以執行 Jython Script,以便將伺服器設定應用程式放置在叢集的「部署管理程式」伺服器上,來手動將伺服器設定應用程式部署到「部署管理程式」。
關於這項作業
在 7.5 版之前,您必須將伺服器設定應用程式直接安裝到叢集的「部署管理程式」。在 7.5 版或更新的版本中,
請將伺服器設定應用程式安裝到叢集的應用程式伺服器中。
程序
- 在 Rational_Asset_Manager_install_directory\ram\conf\bin 資料夾中找出下列 script:
- deployClusterSetup.py
- UninstallSetup.py
- 如果要將 Rational Asset Manager 伺服器設定企業保存檔部署到「部署管理程式」伺服器,請執行下列指令 (Windows):
wsadmin.bat -lang jython -user user_name -password password -f install_dir\ram\conf\bin\deployClusterSetup.py install_dir/ram/apps/was/com.ibm.ram.repository.setup.web.ear com.ibm.ram.repository.setup.web.ear context_root
在 AIX®、Linux 或 Linux for zSeries® 中,執行下列指令:
wsadmin.sh -lang jython -user user_name -password password -f install_dir/ram/conf/bin/deployClusterSetup.py install_dir/ram/apps/was/com.ibm.ram.repository.setup.web.ear com.ibm.ram.repository.setup.web.ear context_root
其中:
- user_name 是 IBM WebSphere Application Server 管理者的名稱
- password 是管理者的密碼
- install_dir 是 Rational Asset Manager 安裝目錄
- context_root(選用)是用於伺服器設定應用程式的環境定義根目錄;如果沒有指定一值,伺服器設定應用程式的環境定義根目錄會是預設的 ram.setup
註: 在 Windows 中,Jython Script 的路徑應包含反斜線 (\);在 AIX 和 Linux 中,則是正斜線 (/)。
不論平台為何,.ear 檔的路徑都應包含正斜線。
- 啟動「WebSphere Application Server 管理主控台」,並以管理者身分登入。
- 啟動應用程式:
- 在導覽窗格中,按一下。
- 按一下 WebSphere 企業應用程式。
- 選取 com.ibm.ram.repository.setup.web.ear 應用程式,並按一下啟動。
- 現在,您可以利用伺服器設定應用程式來部署其他應用程式檔案,以及配置您的系統。
請參閱使用伺服器設定應用程式來部署與配置應用程式檔案。
下一步
如果要將伺服器設定應用程式從「部署管理程式」伺服器解除安裝,請執行下列指令 (Windows):
wsadmin.bat -conntype NONE -lang jython -f install_dir\ram\conf\bin\UninstallSetup.py com.ibm.ram.repository.setup.web.ear
在 AIX、Linux 或 Linux for zSeries 中,執行下列指令:
wsadmin.sh -conntype NONE -lang jython -f install_dir/ram/conf/bin/UninstallSetup.py com.ibm.ram.repository.setup.web.ear