將伺服器設定應用程式部署到 WebSphere Application Server 叢集中的「部署管理程式」

您可以執行 Jython Script,以便將伺服器設定應用程式放置在叢集的「部署管理程式」伺服器上,來手動將伺服器設定應用程式部署到「部署管理程式」。

開始之前

限制: 如果要建立及使用應用程式伺服器叢集,您必須具備 IBM® Rational® Asset Manager 未隨附的 IBM WebSphere® Application Server 網路部署 (ND)。

如果您使用 IBM Installation Manager,Installation Manager 已為您將伺服器設定應用程式部署至您的伺服器。如需相關資訊,請參閱利用 Installation Manager 來安裝 Rational Asset Manager 伺服器

您必須有權存取檔案,才能手動安裝與部署 Rational Asset Manager。如需相關資訊,請參閱直接從安裝媒體擷取伺服器應用程式檔案

您必須能夠將應用程式部署到叢集的「部署管理程式」伺服器。

部署並啟動伺服器設定應用程式之後,您將用它來部署和配置其他的應用程式

關於這項作業

在 7.5 版之前,您必須將伺服器設定應用程式直接安裝到叢集的「部署管理程式」。在 7.5 版或更新的版本中, 請將伺服器設定應用程式安裝到叢集的應用程式伺服器中

程序

  1. Rational_Asset_Manager_install_directory\ram\conf\bin 資料夾中找出下列 script:
    • deployClusterSetup.py
    • UninstallSetup.py
  2. 如果要將 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 檔的路徑都應包含正斜線。
  3. 啟動「WebSphere Application Server 管理主控台」,並以管理者身分登入。
  4. 啟動應用程式:
    1. 在導覽窗格中,按一下應用程式 > 應用程式類型
    2. 按一下 WebSphere 企業應用程式
    3. 選取 com.ibm.ram.repository.setup.web.ear 應用程式,並按一下啟動
  5. 現在,您可以利用伺服器設定應用程式來部署其他應用程式檔案,以及配置您的系統。 請參閱使用伺服器設定應用程式來部署與配置應用程式檔案

下一步

如果要將伺服器設定應用程式從「部署管理程式」伺服器解除安裝,請執行下列指令 (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

意見