技术开发 频道

LoadRunner监控websphere 6.1

    【IT168 技术文章】

    首先,需要把目录 【WebSphere安装目录】\AppServer\installableApps 下的PerfServletApp.ear 部署在WebSphere目录下。

    根据该应用程序的部署描述符 Context-root: /wasPerfTool ,以及Url pattern: /servlet/perfservlet  ,

    输入地址 http://10.195.1.22:9080/wasPerfTool/servlet/perfservlet/PerfServletApp

    【其中128.128.6.195为本应用所在的IP地址,使用时需作相应的改动】即可看到各种资源的使用情况。

    另外:在 http://10.195.1.22:9080/wasPerfTool/servlet/perfservlet/PerfServletApp

    也可以监控到websphere的瞬时资源情况.

    若要在loadrunner中监控websphere 6.1,

    需要做以下配置:

    在websphere的web console上,

    点菜单

    应用程序服务器 > server1 > 配置 > 性能和诊断顾问程序配置

    点选

    启用性能和诊断顾问程序框架(运行时性能顾问程序)

    点菜单

    监视和调整

    请求度量值

    要检测的组件 点选全部

    请求度量值目标

    选择标准日志

    重新启动WebSphere服务,

    在loadrunner中选择 WebSphere 4.x or 5.x,(WebSphere不能用)

    monitor machine 设置为 10.195.1.22:9081

    platform选择机器的操作系统即后,就可以动态监控到websphere的资源使用情况。
 

0
相关文章