配置系统监视器和失败事件管理器以使用 WebSphere Application Server 或 WebSphere Application Server Express

本节描述如何配置“系统监视器”和“失败事件管理器”以使用 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 服务器:

配置系统监视器和失败事件管理器(使用 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 服务器,执行下列步骤:

  1. 带有下列参数运行 CWDashboard.sh

    以下是一个命令示例:

    Home_directory/IBM/WebSphereServer/CWDashboard.sh        \
     "opt/IBM/WebSphere/Express502/AppServer"                 \
     hostname.ibm.com "Home_directory/IBM/WebSphere/Server"   \
     "DB2_Installation_Dir/java" y
     
    重要提示:
    此过程中的某些步骤将命令分开显示在一行或多行上。插入了这些换行符以使文本能够适合页面大小。输入实际的命令时,在这些位置插入空格,而不是换行符。
  2. 从 WebSphere 管理员的控制台(可从远程 Windows 机器上的 Web 浏览器中访问)中,在左边导航窗格中展开环境,选择更新 Web 服务器插件链接,然后选择确定
  3. 如果启动了 ICSMonitor Application Server,则停止它:
    /opt/IBM/WebSphere/Express502/AppServer/bin/stopServer.sh ICSMonitor
     
  4. 运行以下命令:
    . /home/db2inst1/sqllib/db2profile
     
  5. 启动 ICSMonitor Application Server:
    /opt/IBM/WebSphere/Express502/AppServer/bin/startServer.sh ICSMonitor
     
  6. 要访问“系统监视器”,输入 URL:
    http://hostname/ICSMonitor
     

    其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。

  7. 要访问“失败事件管理器”,输入 URL:
    http://hostname/FailedEvents
     

    其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。

配置系统监视器和失败事件管理器(未使用 Web 服务器时)

如果您安装时不使用 Web 服务器,则必须将“系统监视器”和“失败事件管理器”配置为使用另一个端口号。执行以下操作:

  1. 带有下列参数运行 ProductDir/bin/CWDashboard.sh

    以下是一个命令示例:

    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
     
    重要提示:
    此过程中的某些步骤将命令分开显示在一行或多行上。插入了这些换行符以使文本能够适合页面大小。输入实际的命令时,在这些位置插入空格,而不是换行符。
  2. 如果启动了 ICSMonitor Application Server,则停止它:
    /opt/IBM/WebSphere/Express502/AppServer/bin/stopServer.sh ICSMonitor
     
  3. 运行以下命令:
    . /home/db2inst1/sqllib/db2profile
     
  4. 启动 ICSMonitor Application Server:
    /opt/IBM/WebSphere/Express502/AppServer/bin/startServer.sh ICSMonitor
     
  5. 要访问“系统监视器”,输入 URL:
    http://hostname:portnumber/ICSMonitor
     

    其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。

  6. 要访问“失败事件管理器”,输入 URL:
    http://hostname:portnumber/FailedEvents
     

    其中 hostname 是安装了 WebSphere Application Server 或 WebSphere Application Server Express 的计算机的名称。

Copyright IBM Corp. 2004