本节描述如何配置“系统监视器”和“失败事件管理器”以使用 WebSphere Application Server 或 WebSphere Application Server Express。有关使用 Tomcat 的指示信息,请参阅配置系统监视器和失败事件管理器以使用 Tomcat。
要配置“系统监视器”和“失败事件管理器”以使用 WebSphere Application Server 或 WebSphere Application Server Express,可以运行 WebSphere Business Integration Server Express 和 Express Plus 附带提供的脚本。该脚本称为 CWDashboard.sh,位于 ProductDir/bin目录中(其中,ProductDir 在缺省情况下表示目录 Home_directory/IBM/WebSphereServer)。可以运行此脚本以将工具配置为与 Web 服务器(例如,IBM HTTP Web Server)一起使用或不与 Web 服务器一起使用。
在继续之前,请确保已经安装了 WebSphere Application Server 或 WebSphere Application Server Express V5.0.2 或 5.1。(可以从 WebSphere Business Integration Server Express 或 Express Plus 启动板安装 WebSphere Application Server Express V5.1。)然后继续下列其中一节,这取决于您安装时是否想使用 Web 服务器:
WebSphere Application Server 是 Web 服务器附带提供的;而 WebSphere Application Server Express 不是 Web 服务器附带提供的。如果正在使用 WebSphere Application Server Express 并且还想使用 Web 服务器,则必须获取并安装 IBM HTTP Server(IBM Web 站点中免费提供)和 WebSphere Application Server Express 的 Web 服务器插件。有关更多信息,请参阅 WebSphere Application Server Express 文档。
要配置“系统监视器”和“失败事件管理器”以使用 Web 服务器,执行下列步骤:
以下是一个命令示例:
Home_directory/IBM/WebSphereServer/CWDashboard.sh \ "opt/IBM/WebSphere/Express502/AppServer" \ hostname.ibm.com "Home_directory/IBM/WebSphere/Server" \ "DB2_Installation_Dir/java" y
/opt/IBM/WebSphere/Express502/AppServer/bin/stopServer.sh ICSMonitor
. /home/db2inst1/sqllib/db2profile
/opt/IBM/WebSphere/Express502/AppServer/bin/startServer.sh ICSMonitor
http://hostname/ICSMonitor
其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。
http://hostname/FailedEvents
其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。
如果您安装时不使用 Web 服务器,则必须将“系统监视器”和“失败事件管理器”配置为使用另一个端口号。执行以下操作:
以下是一个命令示例:
Home_directory/IBM/WebSphereServer/CWDashboard.sh \ "/opt/IBM/WebSphere/Express502/AppServer" \ hostname.ibm.com "Home_directory/IBM/WebSphereServer \ "DB2_Installation_Dir/java" n 7089 7043
/opt/IBM/WebSphere/Express502/AppServer/bin/stopServer.sh ICSMonitor
. /home/db2inst1/sqllib/db2profile
/opt/IBM/WebSphere/Express502/AppServer/bin/startServer.sh ICSMonitor
http://hostname:portnumber/ICSMonitor
其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。
http://hostname:portnumber/FailedEvents
其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。