您可以将服务器设置应用程序手动部署到电子邮件扩展上,方法是通过运行 Jython 脚本来将服务器设置应用程序置于集群的电子邮件扩展服务器上。
关于此任务
在 V7.5 之前,需要将服务器设置应用程序直接安装到集群的电子邮件扩展中。在 V7.5 或更高版本中,将服务器设置应用程序安装至集群中的应用程序服务器中。
过程
- 在
Rational_Asset_Manager 安装目录\ram\conf\bin
文件夹中查找以下脚本:
- 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 cluster_name 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 cluster_name context_root
其中:
- user_name 是 IBM WebSphere Application Server 管理员的名称
- password 是管理员的密码
- install_dir 是 Rational Asset Manager 安装目录的名称
- cluster_name 是 Rational Asset Manager 集群的名称
- context_root(可选)是要用于服务器设置应用程序的上下文根;如果没有指定值,那么服务器设置应用程序的上下文根将为缺省值 ram.setup
注: Jython 脚本的路径应包含反斜杠 (\)(在 Windows 上)和正斜杠 (/)(在 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