




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、使用itcam for was对websphere进行监控管理和问题诊断itcam forwcbsphere(r)是ibm(r)提供的针对websphere的一种全面的性能和可 用性解决方案,可为企业websphere应用程序提供有效的应用管理,同 时itcam for websphere是一个集成的应用诊断工具,它包itcam forwebsphere (r)是ibm(r)提供的针对websphere的一种全面的性能和可用性 解决方案,可为企业websphere应用程序提供有效的应用萱理,同时itcam for websphere是 一个集成的应用诊断工具,它包括对websphere应用服务
2、器的堆分析和内存泄漏的检测,帮助 管理员在生产系统中解决那些在测试过程中难以重现的问题。一、引言当前,基于j2ee (java(r)2 enterprise edition)平台开发的应用越来越多,网上银行、 电子商务等等已经成为了不可或缺的业务:形式,而随着j2ee成为应用开发的主流,支撑它 的关键技术部件屮间件也越来越丰富和复杂,这给中间件和应用的管理提出了更高的要 求和难度。如何管理好这些中间件以及在这基础上搭建的复合应用(compositeapplicatio nmanagement)是一个复杂且又非常'重要的事情。itcam (ibm tivoli composite app
3、lication management) (r)是对复合应用的管理,即管 理在复杂、界构环境中运行的复合应用,这些应用是复合性的,也就是说它们是作为分区业务逻辑和数据进行部署,懺 web服务器、j2ee应用服务器、集成屮间件以及人型机系统,其中包括cics(r)和imso用于监控单个遞的传统工具和方法般不能解决复合应用的性能与可用性问题。因此,系统管理员和开发人员要花费大最时间识别、隔离和解决这些问 题。本文就以websphere的管理为例,阐述如何使用ibm tivoli (r)的复介应用管理软件itcam for websphere (ibm tivoli composite applic
4、ation manager for websphere)对websphere进行管理、维护以及应用问题的分析、诊断。图11典型的复合应用的技术架构一般来讲,对于websphere的管理分为三个层面:1、对websphere的资源和可用性进行管理在这个层面,管理员需要对websphere的资源信息,例如websphere中jvm的cpu、内 存、jdbc连接池、线程池、ejb调用情况、gc的情况、session的连接情况等做实时的信 息监控,并且将这些数据收集起来,作为氏期的性能趋势或者容量分析使用。2、对websphere用户请求信息的监控对于用户的请求信息,如request需耍进行实时的监控
5、,对于关键的请求信息以及那些持 续占川系统资源比较高的请求要进行告警处理。例如在一个网银系统屮,详单信息的查询是 非常重要的,可以设置对查询请求的request进行监控来实时检査这项关键请求是否运作 良好。另外,通过历史信息的收集和分析,可以分析出哪些请求在哪些时间段是频繁的,哪 些业务是用户最多关心和访问的,以帮助优化业务过程,提高服务质量。3、对应用问题的深度诊断和分析在实际的应用开发屮,由于对j2ee组件使用不当,或者是代码编写的不规范,开发出來的 应用可能会出现一些很难发现h难以解决的问题,比如线程死锁、内存泄漏、内存溢出等。这些问题儿乎让每位websphere管理员头疼,多数情况卜这
6、种问题难于衣测试屮发现,也 很难诊断,通常的做法都是在websphere宕机后做heapdump,然后分析dump出來的数据, 过程复杂、繁琐,而且需要比较深的j2ee的知识和耐心。itcam for websphere能够帮助websphere的管理员解决上述三个层而上的管理问题,不 仅能够做h常的运维管理,而且能对内存泄漏进行分析、诊断,发现造成内存泄漏的java 的类和方法。二、itcam for websphere的技术架构和介绍itcam for websphere是一种全而的性能和可用性解决方案,提供应用服务器和j2ee应用 的多方面的监控,可为企业j2ee应用程序提供冇效的应用竹
7、理,同时itcam for websphe ro是一个集成的j2ee应用诊断工具,使用itcam for websphere可以替代一大堆零散的j2ee开发诊断工具,它包括对j2ee应用服务器的堆分析和内存泄漏的检测,帮助管理员 在工产系统中解决那些在测试过程中难以重现的问题。图 2. 1 itcam for websphere 的技术架构itcam for websphere主要包含以下组件:1、管理服务器itcam for websphere managingserver (以卜简称 ms)ms其实本身是一种在ibm websphere application server中运行的j2ee
8、应用程序。ms 是控制管理的屮心,它收集、处理来自各个数据收集器(dc)的数据,进行数据的分析、关 联,并通过这个管理中心向各个dc发送管理指令,对被管websphere进行控制,例如撤 销请求、调整线程的优先级等。图2. 2 个ms管理多个dcfk am ik forweb console (ms)ms由一个websphere server、一个j2ee应用和一个关系数据库组成。2、数据收集器data collector (以下简称dc)dc在每个受管理的websphere application server上安装、配置、运行,并与ttcam f or websphere管理服务器进行数据
9、通信,将收集到的数据传送到ms。dc在配置过程中需 要针对每个websphere的实例进行配置,dc修改了这个websphere实例的jvm启动参 数,并且增加了一些websphere的环境变量。3、temativoli enterprise monitoring agenttema 是 ibm tivoli monitoring 6 产品中的一个组件,tema 一方面收集 websphere app1 ication server的某些配置和口志数据,另一方面tema作为数据转换接口,它接收來自dc收集到的数据并进行相应的转换处理,然后将数据传送给temso4、temstivoli ente
10、rprise monitoring servertems是ibm tivoli monitoring 6产品中的核心组件,tems为tivoli企业服务器和各 种代理程序提供了框架和数据丿牟操作。代理程序将数据传递给tems,然后通过teps服务 器请求该数据。5、teptivoli enterpriseportaltep是ibm tivoli monitoring 6产品中的数据管理和显示组件,是一个统一的用户界面。 它提供了显示和处理各种tema所收集的数据的视图。在tep中,可以定义“执行操作” 控制被管理的服务器或者设置惜境和阀值等进行报警处理。tep有两种形式:客户机和浏览器。图2.
11、 3通过tep进行websphere管理的界面询而提到对于websphere管理的三个层而:1、对websphere的资源和可用性进行管理,2、 对websphere用户请求信息的监控,3、对应用问题的深度诊断和分析。在这里我们使用 dc通过tema向tems传送数据并通过tep进行管理的方式來对websphere进行第1、2层面上的管理;而对第3层面的管理我们使用ttcam for websphere独有的管理平台ms进行问题的分析和诊断。图2.4对websphere进行第1、2层面的管理架构manage system图25对websphere进行第3层面的管理架构三、itcam for w
12、ebsphere的安装和配置 在安装ttcam for websphere之询要安装以下组件:安装db2用來存储数据 安装 websphere server 作为发布 itcam for websphere ms 管理应用的 中间件 安装 ibm tivoli monitoring 6 的 server 来管理 itcam for websphere 的 tema 如果在windows平台安装ttcam for websphere,还需要在此windows 上安装sfu (services for unix)作为模拟unix命令的环境因为这里重点介绍的是itcam for websphere,
13、所以上述这些软件的安装过程就 不再描述,读者可以通过redbook来查看详细的安装步骤。f面开始安装 itcam for websphere1、安装 itcam for websphere 的 ms在安装文件口录运行setup_ms. exe进入安装界面,连续点击“下一步” ,« 安装路径,接着在“数据库选项”选择“现有db2” ,并输入“数据库实例用 户”和“数据库模式用户”的用户名及密码 图 3. 1 安装 itcam for websphere 的 msi ibm.»x*mar 卿£;a使用以可放霍氏上-步回q laamcib< server f
14、74;. 1tivoh composite application manager* itihf时证阳冋vcd安m算 分侨案钱的先直豪样| w途h安義荧出讨定制安侵片 v汝择妙陀沖/ &择目岳目汞c欣入腋隔庫(1wx websphere applic atloo server fli a生sw迴文洋i 3査*安林.安賽血ifilx样a 55«继续“下一步”,选择要部署itcam for websphere管理应用程序的websphere server,即itcam for websphere的管理应用程序会部署在这个websphere server上,接着输入这个websph
15、ere实例的soap连接信息接着选择要部署的websphere实例,然后连续点击“下一步”,完成安装。 itcam for websphere的ms安装完毕后在ms管理控制台输入用户名和密码登 陆管理界面进行安装确认。在系统菜单启动“am-start.sh”,这个shell作为后台接口服务运行,它是连 接dc和ms之间的作为数据通信的接口。ie® db2ibm jwt y«b sttrl vl 4.2ibm tivoli non: trin(ibm y«vsph«rei mj java pluj-in control pwelwindows servic
16、ex for vxixfor websphere 的 ms14 2令 m'rxtart- xh问 itcam for ytbspber and j2eeserver w. 1»图3. 4安装itcamfindoirs cti<lo<findowx upd«t<uhr 辽 dit72嚅程序q)i /文档如 ic设董程)2、安装 itcam for websphere 的 tema在安装目录运行setup, exe,然后选中所有的“复选框”,因为tems、teps、 tep都在本机,所以这里我们将安装所有对的itcam for websphere te
17、ma的 support,当然还冇 itcam for websphere tema图 3. 5 安装 itcam for websphere 的 tema继续“下一步”,选择默认配置,接下来配置tema与tems的连接,这里默认 选项不做修改图 3. 6 安装 itcam for websphere 的 tema然后配置itcam for websphere tema的参数,可以配置“请求数据监控的级 别”、“数据收集间隔”等,同吋可以调整数据采样率(注意:采样率越高对websphere的资源消耗就越多)图 3. 7 安装 itcam for websphere 的 tema图 3 8 安装
18、itcam for websphere 的 tema3、安装 itcam for websphere 的 dc在安装目录运行setup_dc_w32.exe, o “下一步”,输入安装路径,选择“在 此计算机上安装数据收橐器”,点击“下一步”图 3. 9 安装 itcam for websphere 的 dcw豪时可证协议主成换文件0爰安林j e wk 件> .安冶&成总导町在您的计jw1上曲比产2并辂总保存鳏嫂文件.極文件可用于在就计jc科0他计算机 上执即歌处.即使您左£1«不安義就产品"也时断阳号采锚网&文件.f在住计11机上安1u
19、187;k收8h厂将设保厚贡用&文伴fn&1alls»nelfl上一步回选择“将配置延迟到以后”,稍后我们再进行dc的“配置”图 3. 10 安装 itcam for websphere 的 dcbeta cellecter w. itivob composite application manageribm.7豪署许闻证协议同w选篝r标p量"生成磁文件m和配豎文件 8wsa««1tai a球茹成选弄*若現在启却工民击节一步启动配工良和足用am.(?俗配圧迟到炯31垃运行仗于co响ldc文帜的藏安費目录中的e工n,瞅炯吋启用am.4、配置
20、 ttcam for websphere 的 dc 与 ms 和 tema 连接在进行dc的配置zmj,新建一个websphere的实例,并且部署websphere的 样例程序,接下来dc的配置就针对这个新建实例以及监控这个实例上的 websphere样例应用。新建websphere实例的过程请参考websphere的 redbook,这里不再描述,但是务必记住在新建实例过程小的soap端口号。图3. 11新建websphere实例的soap端口号下而开始进行dc的配置,将dc连接到ms和tema 在"开始”菜单选择"dc configurationn图 3. 12 配置
21、itcam for websphere 的 dc 与 ms 和 tema 连接i>n<kwjyindirk updateultrohdit-32itcam for tevsptiert dt. collector cnficuration tool 6 1tinrarim db2ibs javt “bvl 4 2ibn tivoli monitor incibs yebshereib! jv plxi-ia control panel 1.4 2t3h4oiri services fr whitcmi fx yelsphert 51 j2mserver vs idc cnficur
22、atorcomposite appltcalioii manager古 beta c«ll«et«r c»ficwatieb vu. itivoh席咖-c务窈信入普理眼务漏加 主幅录 散敵-p改算反用时駅务 i&m websphere 主目录 mwebsptwrv/ib 卜 websphere kk9wetspbereks ';ifi用取霍收集瞬 c芫成ra 3文档©) h0-设 慟/丿挟素©h 咖和支苻选择“配置用于数据收集的服务器”,然后将2个复选框都选中,因为这里dc 既要和tema连接,又要和1tcam的ms连
23、接图 3. 13 配置 itcam for websphere 的 dc 与 ms 和 tema 连接wwt教療g代册8序? ilaisfi用邸有内环.p itcam tor wesphwt 的 tm)h enterprise portal 界面的越 18收hftcam fcr w»t>spmw« 的 twfc enwrpeg pon® 界3&的孜孙ku京sffibi (tcam for websphere so trvoh enlwprwe monitwing agenlp itcam for websphere 的 applic abon mon
24、itor 界面的対j8收鼻itcam for websohere 的 appi 忙monrtw 界面的jjjwwmjmlft灵鏡 itcam fotwebspmrend j2ee managing serwr v8 u输入“管理服务器标准主机名”,端口保持为“9122”图 3. 14 配置 itcam for websphere 的 dc 与 ms 和 tema 连接点击“下一步”,输入和“tema”连接的信息:主机名和端口(端口就是之前建 立的63335侦听端口)图 3. 15 配置 itcam for websphere 的 dc 与 ms 和 tema 连接选择要监控的服务器类型webs
25、phere application server,这里itcam forwebsphere可以监控以下websphere服务器类型:websphere application serverwebsphere process serverwebsphere esb serverwebsphere portai serverworkplace server选择刚才新建的websphere server,对此server进行监控,选择"下一步” 确认并修改websphere的配置项,这里保持默认值图 3. 16 配置 itcam for websphere 的 dc 与 ms 和 tema
26、 连接配置与websphere的soap连接图 3. 17 配置 itcam for websphere 的 dc 与 ms 和 tema 连接右 bat<te«l vb. itnroh composite application manageribm.rj m冇耳收鼻樹配*v也算裁碗期81血件i - v w temafft trsiatemafia*匕择应用li序駅务ib英si ftwwbspmn?主日录 >* websphere fl* wetosptwre 谨摘生感硼文悴 -websphere kia克成nd环"編入恋航bm的甩用思序il务福实附&
27、用18序駅务81主風名 jr ip堆址)以艮 sw>ma.力乞jmm®初每个应用雄序嚴另送丹致踊jmifiw工jl对于nd 环壊 ©龙nr定剧i曾&昌主机名<<ipttm)和soap氓口.注:安刻胸格安鬟玫实收翊的n务ii必理正在运行.对于nd 环壊圧点代住宀序ww制w8也必镇血呱主机名s0ap3h®ma|ihrmm com cn下一苗”|接着选择要配置的websphere实例,最后点击“完成” ,dc配置结束,然后重 启 websphere配置完成后,打开tep查看,我们看到已经有websphere的监控信息显示图 3. 18 配置 i
28、tcam for websphere 的 dc 与 ms 和 tema 连接接着在ms上将刚才配置的dc纳入ms的管理区域。打开ms管理控制台,选 择菜单"管理” userver managementn udata col lectorconfiguration ,在 aunconfiguration data collections” 选中刚才配置的 dc,点击 “apply”图 3. 19 配置 itcam for websphere 的 dc 与 ms 和 tema 连接我们发现在aconfiguration data collectors”中已经将此dc纳入到ms的 管理区域
29、 图 3. 20 配置 itcam for websphere 的 dc 与 ms 和 tema 连接选择"可用性” “systems overviews” “server” ,可以看到从 dc收集到的数据已经可以显示了 图 3. 21 配置 itcam for websphere 的 dc 与 ms 和 tema 连接四、用 ttcam for websphere 的 tema 和 tep 对 websphere 进行监控管理 前面说过webshpcrc管理的三个层面,这里我们用itcam for websphere的 tema和tep的方式来对websphere进行资源、可用性的
30、管理和用户请求信息 的管理维护。登陆tep管理控制台,可以看到在安装了 itcam for websphere的tema后, 已经自动生成了大量的“属性组”,每个属性组出多个“工作空间”组成,而每 个工作空间就如卜图所示表达各种监控信息和数据,例如从卜图中可以杳看此 webshpere的“总体响应时间”、“总体请求频率”、“cpu使用率”以及 websphere server 当前的信息。图 4. 1 用 itcam for websphere 的 tema 和 tep 对 websphere 进行监控管 理 q s © ?a e s s ao4 jiosldkaaaas d 7&l
31、t;3v»ewr |phym2j 自寸jwebsphere监控节点0监控属性组lexkkdx & ,kkpozjtrts5p?m cpu二好 ftrfftc*我们可以用此管理控制台做很多管理操作,这里仅用下而的例子来说明管理员如 何通过tep对websphere进行维护管理:监控活动的应用(application) gc (garbage col lection)监控用户request监控1、监控活动的应用(application)在平常的运维管理中websphere的管理员要维护大量的app应用,有时app 应用会因为异常错误或者人为原因而down掉,这吋候如果能对应用进行
32、监控, 那么对管理员将非常方便。itcam for websphere的tema内置了对应用的监控,可以通过属性组 “application health”来对websphere上的全部应用进行管理、监控。图4.2监控活动的应用file edit view help4 = : 口 o回 e5?g 金 8)510 o <1 口易 lil 近口dq且国口 i><r科巫亟亟回 request anahis 冏 carbage collection mamb&4 log m 餌$1$ 已 pool 4nam«s £> datasources !m&g
33、t; jms summary £> web applications 胡 ejb containers 厨 db connection poolsaoplicwignname schedulercajendars def/julrjdi-aiion® mx)pl 噸 pity hal oapnr»cation i status (sample ate and timeiniervaj(set):runninji_ running -unningrunningd. mjbserviceprojeaear . running门川打 les&btry_ru
34、nning»running camdemowet>cliem£ar running 空一 iscmerunmu plamsbywetospherec £ s-.-1s c(s- $ vlc £0 6 o o 0-0 o o o o o;29/o7jx>4 /29/07 <x> 4. /29/07 00 4 /25/07 00 4 /29/07 00.4 . /29/07 00 4; 29/074/29/07 00 4 ,29/07 00 4 ± /29/07 004 /29/07 00 4 * / view physlc
35、ilb ?s appllculon heaiui summanm s x «1血这里我们手工从 websphere管理控制台停掉某个应用,如 “plantsb艸ebsphete” ,可以立刻在tep看到此应用显示红色状态,告知此应 用的状态为“stopped”图4.3监控活动的应用一一在websphere控制台停止应用图4.4监控活动的应用file edit view helpq": l! 0 e3 © ?q 8« e s 0 <$ 0ej®lil 也 口卫囚国<s view: riyskalesphuilon health sum
36、maryiiijappilcion heart h| 冏 requesi anamis 厠 garba低 cowecnon analysis 6> log analyse£> poold)datasources jms summary© web 邛 piicaikmisqj ejb container 酬 db connection poolsrapplicationln applicationname ® sgw. j manamemejerunnma:0letran5ferheduiercalenclarsrunningdefiultappiica
37、llotiirjwrtfcirunrengsampleddw ana timee/29/07 00 4 .0/29/07 00 409/29/07 00 4 .09/29/07 00 4interval紳)queryrunmnj)mapprunrungm>jrserceprojectea punrung samplwdzilqtvrpruimgpams 应血sphere cahdernoweocliewea" running 上li isditerunm叩stopped09/29/07 00 409/29/07 00 4,.09/29/07 004 茁,6d d 血>、
38、2丿29/07 00 4 g/29/07 00 09/29/乔6&4二卷 physical而fl,在tep我们还可以通过定义情境(situation)设置阀值进行告警,告警可以通过短 信、邮件方式告诉管理员。如下图,鼠标右键点击"application health",然后选择"properties"图4.5监控活动的应用file edit view hrlpo-*=tn(2)ei3ro?q*8l|3 g 00|毎也<&111幺口匸3夙阴口4>£三、吹 physical ' (d bapphcatlon he
39、alth summiiygj s xfi> request ;fia> garbage<£> log anai: © pool anal 一datasour ly i£k| jms surwl q web app & pnm preview. h日bco叫 g, print. imhii q3 propcmes.take aawr -乞7workspace >link to,c3 uunchsituaii«n$nieuansfer schecfcjtercarendars defaufl application 妙r
40、v二 mjjp tm£jkfrfmcepro)eaear jlj sarnple心h&ty . i piamsbywedsphwe ;d. cam demowebc lieniear . i' isdrteffi plicationw_ $ 邱 m.runningrunningrunningrunningiinninqrunning ijnninjrunningsloppedrjunmngrunningsampledate and time09/29/07 00:57 4809/29/07 00 57 48*07 00 57 4809/29/07 00 57 48 0
41、9/29/07 00.57 48 09/29血 00 57 48 0/29/07 00 57 48 w2w7 00 57 48 09/29/07 00 57 48 09/29/07 00.57 48 j 00/29/6*60<7 48piiysicalr situation event console新建一个situation,并给这个情景起名"application_stop" 图4.6监控活动的应用选择“ok",后在弹出的对话框中选择需要进行设定的“属性组"和"属性项 图4.7监控活动的应用condition tvpe胡 applic
42、ation health auribme comparisionsituation comparisionj-aitribuie groupapplication health statuslocal timeuniversal messagesuniversal timeaitnbute hemapplication health application id application name applicaition status application tier health backend tier health client tier health completion level
43、cusiom/requests ejb containei intenal ($eoicaselect aii deselea alldescriptionapplication namethe name of the applicanon to which the request belongs.application statusthe current staius of the monitored applicationokcancel help选择“ok",然后设置上面两个属性组的条件表达式,这里选择“scan for string within a string"
44、, 意思是检査这个字段是否包含指定的字符串。图4.8监控活动的应用formulaipplication.appli匚就ion name v j! =,1!v 1=|2 1v value of expression枫 count of group membersrpturn a <:uh<pt nf thp qtrinq3 1application alphanumesean for string within a stringstatusthe reques旬 check for missing itemsapplicatiorunknown,application applica
45、tion name输入耍监控的特处应用名称如“plantsbywebsphere,另一字段选择应用状态为"stopped", 然后选择“0k 图4.9监控活动的应用 厂 f orrnulaapplication name 血=piantsbywebsphereapplicatio napplicationib( = plantsbywebsphere=stopped3 i刷新tep当询视图,可以看到一个报警产生了,这就是刚才通过阀值定义的报警。图4.10监控活动的应用file edit view help<j35*|uq|3®3?(180e|a®o
46、<j 金田® 師區 qcjw邑国口9:(2、gc (garbage collection)监控gc是jvm的关键过程,gc的一些信息直接反映了 websphere的运转是否止常,例如gc后使用的堆人小,还有多少堆能用等等,下面来看看对gc的监控。在tep开始监控gc前,需要先对历史数据的收集进行调整。点击下面的图标“历史信息 配置" 图4.11 gc监控egarb collection kn&lysi s 一 ibl« - stsabiiibeile edit yiew helpa ® oq 姿皿吃 qtaphyxai ba灵倉 websp
47、here agent pnmary上j=f 駁 websphere app server appsr-request aneiysisl.ikii nn ahaivji径 gatbw colecbon rat(d曰 xml heap ifew hstoryq100 ?100000i 80000配置和gc相关的历史数据的收集:选中需要收集的项,然后选择“configure groups",接 着选择"start collection"。图4.12 gc监控等待儿分钟后,gc的数据开始被收集。gc的监控如下图所示图4.13 gc监控garb“ colltetaao1”
48、、stsmv1i>151 xj2il« e4it ti«v k«lpq) oq c3c0?aagl s oq j» id ® ldi s3 q a q ca p £7 foh«om0.0<0wwi>*« oow>t m殛兰込»心: hmycd b g x |ifn hrosjw仙vd «<5 vtew prsicai ;interval p(oce$s times otojeetil obreds mh«estoeaireal time 0c rateoo
49、c c5&* xb 加 um4 bxbflef140 msmpeekbyte9kwes ; real timesrwr ailaoiewb time sysadmin接着可以对gc设置监控阀值,按照上一节过程在“工作空间最下方鼠标右键选择“属性, 打开阀值设定界面,设定"kbytes used"大于1000000k并且小于256000k时报critical的 错谋。注意字段横向表示与(and)的关系,纵向表示或(or)的关系。图4.14 gc监控勺 gmjery | 中 filters 0 thresholds | a; style |通过上而的设置,当gc厉使用的
50、内存超过人约1g,)住l free的内存只有256m左右时, 系统就进行报警。3、用户request监控対用户请求的监控不仅町以分析最近一段时间内响应速度來体现服务水平,另一方面对以监 视我们非常关注的关键请求的响应速度,并且能发现响应时间非常慢的请求,然后对此请求 进行优化和调整。图4. 15用户request监控 sts1dbii>101 x|liu hit ti” k<lpq 5o 0 o ?q a 0 裁 o a 必! ® lil 幺 q e3 51 匸 ts b 3 q s<3 vtew 怖攻事zjcd slhk2jg心 w»bsphefe ao
51、efi pdmyy j9- ft* v>his<0mrt aw servw apdsno»kw<vfr1wwcmsi"丄3冲29ih jtw time (e) sjca timt (mi)jm$ tim* (.cm)jnd< i.im (im) p«<h p祕zu osou cqnn«<| (mrt iol qvkv time (mc) &ql updm time (mi)awope &存oftf* (rvtf)requesi labe*request namerequest detahrequest
52、typerequest countreuesira 俺(per set)am«rag6 response (ms)res吕ocurtjnra$cnpttose$tion jsph!i)xnqc*»host 90.a6nvconso1e/»»cusoortelurwiaywts/contentlarout |$p惦p0o“u>st9o.at)mfconsolb/secusetel2942口deaattwcueatsheeinisprirpjtnocaihostw.atrrutonsole/ouidserrfe!l203e3 口rrucon$oiwa&
53、#187;pm»mg*mtntst4«5u$m»jmocwost90,aorivwn$oiafappstrati15uedactmbrc heaheemew jsphsdanociihast :wa&mrconboiejguidsergei1口9qhere/seme¥shoppin!)serv1e!hto-wocamost.90.iplanftsbavebsphsemel10834obsphe<e»nfttflmage$tmet _ :hrpjmooihostwifwnisbyvbsphksenfelu67j1<5 hub
54、rm杖叶,02"卞午© setverg胭nereouetanatysis- ibkvm sysadmtn这里我们对用户请求的“平均响应吋间”作监控,创建一个新的situation,选 择属性组"request analysis” ,选择属性 uavarage response"图4. 16用户request监控st tmeti vai f *rstluabon editor as別$tarx设定响应时间超过1秒就报警(这里因为是做测试,所以时间调低能快速看到 效果)图4. 17用户request监控由于上面设置的吋间比较短,可以看到这个situation
55、已满足条件,产生了报 警图4. 18用户request监控tiu uii,虹"k<lp:al currcrtvamescd s o *81 s s i q <i 事口il11 vfew: |physimi(d bibivi sysamh xo -l q 回 0® ?q 命bdxkcrpritsj vw«law® syllemt0 6mvwe绥 lhr<trral aeri fe-w wcfcsphere aijert - piwnary台 5 wtftsphere appsc*v«r awsroptgc&jiavera
56、ge刃 response (ms)ortgin nodeservetnamenode namesarnieddte and th13»|a©psr¥o1l$eiv«rt wvmkynsserved09戏脚7 150lmsapplica&onapplication timerequest肿(%)time (ms)(% of average response)labelccmrmard vk?wd 8 x |m a x 1"pfhubtime llfla. 09/29/2007 03 04 serveravlawe| requesvesponsetime ibmvw sysadmin用同样的方法口j以设定某个关键请求的阀值进行监控,例如“登陆请求”图4. 19用户request监控以上我们通过一些实例演示了 itcam for webshperc通过tep对web
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 大数据时代的健康金融服务与隐私保护平衡研究
- 崩漏的辩证护理
- 商业环境中的数字化转型与文化融合
- 商业智能与决策支持系统的协同发展
- 大数据背景下数字图书馆开放资源的挑战和机会
- 续签劳动合同的重要性说明
- 细木工板项目可行性研究报告(范文)
- 医疗健康数据在政务服务中的应用
- 旅游产业的投资与造价咨询协议
- 自行车普及率统计考核试卷
- 银行消防安全知识培训
- 西安市存量房屋买卖合同
- 2025年硕士研究生政治考研大纲
- 电子商务教师资格证教学理念试题及答案
- 武汉2025届高中毕业生二月调研考试数学试题及答案
- 山东省日照市2024-2025学年高一上学期期末数学试题(原卷版+解析版)
- 人教版四年级数学下册《图形的运动(二)》试题(含答案)
- 换电站工程施工方案
- 2025年易拉罐项目可行性研究报告
- 企业员工分红合同规定
- 2025年交管12123驾驶证学法减分题库与参考答案
评论
0/150
提交评论