您可以将服务器设置应用程序手动部署到 Deployment Manager 上,方法是通过运行 Jython 脚本来将服务器设置应用程序置于集群的 Deployment Manager 服务器上。
开始之前
限制: 要创建和使用应用程序服务器的集群,您必须具有 IBM® WebSphere® Application Server Network
Deployment (ND),它并未与 IBM Rational® Asset Manager 捆绑在一起。
如果使用了 IBM Installation Manager,那么 Installation Manager 应该已经为您将服务器设置应用程序部署到了服务器。有关更多信息,请参阅使用 Installation Manager 来安装 Rational Asset Manager。
您必须能够访问有关手动安装和部署 Rational Asset Manager 的文件。
有关更多信息,请参阅直接从安装介质中检索服务器应用程序文件。
您必须能够将应用程序部署到集群的 Deployment Manager 服务器上。
部署并启动服务器设置应用程序后,将要使用它来部署和配置其他应用程序。
关于此任务
在 V7.5 之前,需要将服务器设置应用程序直接安装到集群的 Deployment Manager 中。在 V7.5 或更高版本中,将服务器设置应用程序安装至集群中的应用程序服务器中。
过程
- 在
Rational_Asset_Manager 安装目录\ram\conf\bin
文件夹中查找以下脚本:
- deployClusterSetup.py
- UninstallSetup.py
- 要将 Rational Asset Manager 服务器设置企业归档部署到 Deployment 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
注: Jython 脚本的路径应包含反斜杠 (\)(在 Windows 上)和正斜杠 (/)(在 AIX 和 Linux 上)。无论任何平台,.ear 文件的路径都应包含正斜杠。
- 启动 WebSphere Application Server 管理控制台并以管理员身份登录。
- 启动应用程序:
- 在导航窗格中,单击。
- 单击 WebSphere 企业应用程序。
- 选择 com.ibm.ram.repository.setup.web.ear 应用程序并单击启动。
- 现在可使用服务器设置应用程序部署其他应用程序文件并配置系统。请参阅使用服务器设置应用程序来部署和配置应用程序文件。
下一步做什么
要从 Deployment Manager 服务器中卸载服务器设置应用程序,请运行以下命令 (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