如果您正将 WebSphere® Application Server 用作运行 IBM® InfoSphere® Master Data Management Collaboration Server 的应用程序服务器,那么必须验证配置设置,启动应用程序服务器,配置组和服务器设置,运行某些脚本,然后启动应用程序服务器。
开始之前
在可以设置
InfoSphere MDM Collaboration Server 之前,必须确保已经对它进行了配置。
过程
- 对 [appserver.websphere] 部分配置以下参数:
- application_server_profile
- WebSphere Application Server 概要文件的名称。
- cell_name
- 安装了 InfoSphere MDM Collaboration Server 的 WebSphere Application Server 单元的名称。
- node_name
- 安装了 InfoSphere MDM Collaboration Server 的 WebSphere Application Server 单元中节点的名称。
- admin_security
- 如果启用了 WebSphere Application Server 管理安全性,那么将此参数设置为 true。
- 对 [appserver.appsvr] 部分配置以下参数:
- port
- InfoSphere MDM Collaboration Server 运行所在的端口。
- appserver_name
- 要在后面步骤中创建的 WebSphere Application Server 组件的名称。
- vhost_name
- 要在后面步骤中创建的 WebSphere Application Server 虚拟主机组件的名称。
- 将安全性参数 username 和 password 添加到 [appserver.websphere] 部分中。 例如:
# Application server admin user name and password. This info is
required WebSphere when admin_security
in [appserver.websphere] section is set to true. If username
and password are not provided in env_settings.ini, user will
need to provide the values in the command line when invoking
scripts like start_local.sh or otherwise the user will be
prompted to enter the values before the execution of the
script will continue.
#username=
#password=
注: 如果选择不在
env_settins.ini 文件中保存凭证信息,那么可以从命令行提供凭证。要从命令行提供凭证,请执行以下步骤:
- 将 InfoSphere MDM Collaboration Server 重新部署到应用程序服务器。应用程序服务器 shell 脚本 install_war.sh 会将 InfoSphere MDM Collaboration Server 安装到 WebSphere Application Server 中。
- 确保缺省 WebSphere Application Server (server1) 已安装且正在运行。还必须确认您可以登录到该服务器上。有关缺省 WebSphere Application Server 的更多信息,请参阅以下文档中的管理信息:WebSphere Application Server V8.5 产品文档
- 运行应用程序服务器 shell 脚本 install_war.sh(带有可选参数),该脚本位于 $TOP/bin/websphere/ 目录中:
- 语法
install_war.sh [ --wsadminUsername=<WAS admin user name>
--wsadminPwd=<password for WAS admin user>]
install_war.sh 脚本会为
env_settings.ini 文件的
[services] 部分中定义的每个应用程序服务器安装 WAR 文件。启用 WebSphere Application Server 安全性时,请将
wsadminUsername 和
wsadminPwd 自变量添加到
install_war.sh 命令中。
注: 未启用 WebSphere Application Server 安全性时,start_local.sh、start_rmi_appsrv.sh、stop_local.sh 和 rmi_status.sh 命令中不需要 wsadminUsername 和 wsadminPwd 自变量。
- 如果想要随 InfoSphere MDM Collaboration Server 安装一起安装 GDS 功能部件,那么必须运行适用于 GDS 的应用程序服务器 shell 脚本 install_gds_war.sh,该脚本位于 $TOP/bin/websphere/ 目录中:
- 语法
install_gds_war.sh