56
7/21/2019 APM_for_Worklight_v1.0 http://slidepdf.com/reader/full/apmforworklightv10 1/56 IBM® Cloud and Smarter Infrastructure Application Performance Management for IBM Worklight mobile applications Document version 1.0 John Griffith Larry McWilliams Mark Weatherill Ren Fu Ma Qi Gang Zhu

APM_for_Worklight_v1.0

Embed Size (px)

DESCRIPTION

Worklight

Citation preview

Page 1: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 1/56

IBM® Cloud and Smarter Infrastructure

Application Performance

Management for IBM Worklightmobile applications

Document version 1.0

John GriffithLarry McWilliams

Mark WeatherillRen Fu MaQi Gang Zhu

Page 2: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 2/56

© Copyright International Business Machines Corporation 2013. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP ScheduleContract with !" Corp#

Page 3: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 3/56

 Application Performance Management for IBM Worklight mobile apdddpl  Application Performance Management for IBM Worklight mobile apps

CONTENTS

Contents.............................................................................................................................iii

List of Figures....................................................................................................................vi

List of Tables......................................................................................................................ix

Revision Histor..................................................................................................................x

!Introduction.......................................................................................................................!

"#se Case Scenarios........................................................................................................."

".!#se Case !$ Real%user monitoring...................................................................."

"."#se Case "$ Snt&etic transaction monitoring..................................................'

".(#se Case ($ Resource monitoring....................................................................)

(Solution *nvironment +vervie, and -eloment............................................................./

(.!Tical 0or1lig&t *nvironment........................................................................../

(."2&ase !$ Real #ser Monitoring........................................................................./

(.".!3rc&itectural +vervie,.....................................................................................4

(."."Real #ser Monitoring Comonent -eloment................................................4

(.(2&ase "$ Snt&etic Transaction Monitoring.....................................................!5

(.(.!3rc&itectural +vervie,...................................................................................!5

(.(."Snt&etic Transaction Monitoring Comonent -eloment...........................!"

(.'2&ase ($ Resource Monitoring........................................................................!"

(.'.!3rc&itectural +vervie,...................................................................................!(

(.'."Resource Monitoring Comonent -eloment...................................... ........!(

iii

Page 4: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 4/56

 Application Performance Management for IBM Worklight mobile applicationsdfsdf  Application Performance Management for IBM Worklight mobile apps

'Configuring Real #ser Monitoring...................................................................................!)

'.!-efining a 0or1lig&t 3lication in t&e 3lication Management Configuration*ditor...................................................................................................................!)

'."Configuring user and session trac1ing............................................................!6

'.(-efining 0or1lig&t Transactions......................................................................!7

'.'Create a monitoring rofile..............................................................................!4

'.)-efining client grous......................................................................................"5

'.68erifing 0RT is caturing data using t&e console........................................."5

)Configuring Snt&etic Transaction Monitoring................................................................""

).!Installing t&e 0or1lig&t 3lication onto a test device.....................................""

)."Configuring t&e test device to use t&e Rational 2erformance Tester rox.....")

).(Recording a scrit in Rational 2erformance Tester........................................."7

).'Modifing t&e scrit for labac1.....................................................................("

).'.!Handling 0or1lig&t aut&entication realms......................................................("

).'."+rgani9ing re:uests into &ig&%level transactions stes..................................(6

).'.(3dding verification oints...............................................................................(6

).)#loading and sc&eduling robotic labac1 in ITC3M for Transactions..........(/

6#sing t&e 3lication 2erformance Management #ser Interface....................................'5

6.!Configuring t&e data rovider..........................................................................'5

6."Creating an alication from a temlate..........................................................'!

7Conclusion......................................................................................................................'(

iv

Page 5: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 5/56

 Application Performance Management for IBM Worklight mobile apdddpl  Application Performance Management for IBM Worklight mobile apps

 3endix 3........................................................................................................................vi

 3endix B........................................................................................................................vii

v

Page 6: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 6/56

 Application Performance Management for IBM Worklight mobile apps Application Performance Management for IBM Worklight mobile apps

LIST OF FIGURES

Figure !$ 3lication -as&board........................................................................................."Figure "$ Client -as&board.................................................................................................(

Figure ($ Transaction -as&board.......................................................................................'

Figure '$ Transaction Status ,or1sace.............................................................................)

Figure )$ Tical 0or1lig&t toolog.................................................................................../

Figure 6$ Real user monitoring using t&e 0eb Resonse Time agent................................4

Figure 7$ Snt&etic transaction monitoring using t&e Robotic Resonse Time agent........!!

Figure /$ Recording snt&etic transactions ,it& Rational 2erformance Tester.................!!

Figure 4$ Resource monitoring using alication and +S agents.....................................!(

Figure !5$ Creating an alication in t&e 3MC*...............................................................!)

Figure !!$ #ser and session trac1ing...............................................................................!6

Figure !"$ Creating a transaction......................................................................................!/

Figure !($ Creating a Filter...............................................................................................!4

Figure !'$ Configuring reorting arameters....................................................................!4

Figure !)$ Creating 0RT rofile.......................................................................................!4

Figure !6$ Configuring agent distribution.........................................................................!4

Figure !7$ 3ndroid client grou........................................................................................."5

Figure !/$ Configuring reorting for client grous............................................................."5

Figure !4$ 3lication Interactions ,or1sace.................................................................."!

Figure "5$ 3ndroid 8irtual -evice Manager......................................................................""

Figure "!$ 3ndroid 8irtual -evice Manager......................................................................"(

Figure ""$ *dit 3ndroid 8irtual -evice ;38-<..................................................................."(

Figure "($ Launc&............................................................................................................."'

Figure "'$ 38- screen disla........................................................................................."'

Figure ")$ 3ndroid alication anel................................................................................")

Figure "6$ Settings...........................................................................................................")

Figure "7$ 0ireless = net,or1s........................................................................................"6

Figure "/$ 0ireless = net,or1s........................................................................................"6

Figure "4$ Mobile net,or1 settings..................................................................................."6

Figure (5$ 3ccess 2oint >ames........................................................................................"7

Figure (!$ *dit access oint............................................................................................."7

vi

Page 7: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 7/56

 Application Performance Management for IBM Worklight mobile apps Application Performance Management for IBM Worklight mobile apps

Figure ("$ Selecting an #nmanaged 3lication.............................................................."/

Figure (($ 2rox Recorder Settings.................................................................................."4

Figure ('$ 3lication recording......................................................................................."4

Figure ()$ Launc& Flig&tTic1et a...................................................................................(5

Figure (6$ Monitoring t&e recording..................................................................................(!

Figure (7$ Test contents...................................................................................................("

Figure (/$ 3ut&ori9ation &eading in t&e recording.............................................................((

Figure (4$ Manuall adding &eader..................................................................................((

Figure '5$ Re:uest &eaders contain t&e 3ut&ori9ation &eader.........................................((

Figure '!$ Creating substitutions......................................................................................('

Figure '"$ Creating substitutions......................................................................................('

Figure '($ Reference name..............................................................................................()

Figure ''$ C&ec1ing substitution sites..............................................................................()Figure ')$ 2ost%substitution..............................................................................................()

Figure '6$ Modified scrit.................................................................................................(6

Figure '7$ S,itc& to ITC3M ersective...........................................................................(6

Figure '/$ 3dding verification oints.................................................................................(7

Figure '4$ Running our scrit ,it&in R2T.......................................................................(7

Figure )5$ R2T test results...............................................................................................(/

Figure )!$ Robotic data in t&e T*2 console......................................................................(4

Figure )"$ Connection 2anel in TI2.................................................................................'5

Figure )($ Connection Summar in TI2...........................................................................'5

Figure )'$ 2rovider Configuration in 32M #I...................................................................'5

Figure ))$ 3lication Configuration 2anel in 32M #I......................................................'!

Figure )6$ Resource -as&board......................................................................................'"

vii

Page 8: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 8/56

 Application Performance Management for IBM Worklight mobile apps Application Performance Management for IBM Worklight mobile apps

LIST OF TABLES

Table !$ 0or1lig&t aut&enticators.....................................................................................!6Table "$ 0or1lig&t login modules......................................................................................!6

Table ($ Transaction definition for 3dater re:uests.........................................................!7

Table '$ Transaction definition for 3lication 32I re:uests.............................................!7

Table )$ Transaction definition for Logout.........................................................................!7

viii

Page 9: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 9/56

 Application Performance Management for IBM Worklight mobile apps Application Performance Management for IBM Worklight mobile apps

REVISION HISTORY

Date Version evise! B" #omments

"5!(%56%56 !.5 M0 Initial version

ix

Page 10: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 10/56

Solution Environment Overview and eplo!ment 

1 Intro!uction

T&e intended audience for t&is solution aer is t&e alication o,ner t&at needs t&e abilitto manage t&e erformance and availabilit of t&eir mobile alications built on IBM

0or1lig&t. T&is solution utili9es a &ased aroac& for installing and configuring IBMSmartCloud 3lication 2erformance Management 7.6.

In t&e first &ase? real user monitoring is imlemented using t&e 0eb Resonse Timeagent. 0it& real%user monitoring? ou get visibilit into t&e erformance of mobile clientsconnecting to t&e 0or1lig&t server. @ou can differentiate mobile from des1to clients andtrac1 t&e erformance of individual users.

In t&e second &ase? snt&etic transaction monitoring is imlemented using t&e RoboticResonse Time agent. 0it& snt&etic transaction monitoring? ou are activel testing,&et&er 1e transactions are available and erforming. @ou can identif issues before t&eimact our end%users.

In t&e final &ase? resource monitoring is imlemented using +S and 3lications agents.0it& resource monitoring? ou gain visibilit into t&e infrastructure ,&ic& suorts ouralications. T&is visibilit is essential to :uic1l diagnose issues ,&ic& are imacting t&eend%user exerience.

T&e solution aer contains best ractices for t&e follo,ing 0or1lig&t toics$

• Aranular monitoring of 0or1lig&t adater rocedures

• Trac1ing logged in users for different tes of 0or1lig&t login and aut&enticatormodules

• -istinguis&ing mobile clients according to oerating sstem ;*.g.? i+S vs 3ndroid

vs des1to<

• Recording snt&etic HTT2 transactions using as running on real or simulateddevices

• Modifing snt&etic recordings to &andle 0or1lig&t aut&entication realms

T&is solution demonstrates &ig&l resonsive and intuitive das&boards for managing t&eerformance and availabilit of mobile alications. T&e das&boards are raidl comosedfrom out%of%t&e%box temlates.

T&is solution and t&e use case scenarios? ,&ic& are described in t&e next section? ,eretested and roven in our IBM® lab.

!

Page 11: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 11/56

Solution Environment Overview and eplo!ment 

$ %se #ase &cenarios

In t&is section ,e describe t&ree use cases t&at use t&is solutions caabilities to manageerformance and availabilit in a 0or1lig&t alication.

T&e scenarios are demonstrated using t&e Flig&tTic1et samle alication rovided ,it&0or1lig&t ).5.6. T&e Flig&tTic1et samle a is a business%to%consumer ;B"C< examlet&at demonstrates different caabilities of a &brid alication in an end%to%end scenario.T&e scenario covers an individual ,&o is ma1ing and managing a flig&t boo1ing.

T&e Flig&tTic1et samle alication is available in t&e 0or1lig&t information center$

Aetting started tutorials and samles 

$.1 %se #ase 1' eal(user monitoring

 3 0or1lig&t alication o,ner needs to manage t&e erformance of t&e adaters used b&is alication as a slo, do,n in an adater ,ill directl imact t&e user exerience. Heuses real%user monitoring to monitor t&e resonse time for eac& adater rocedure.

T&e 0or1lig&t alication o,ner receives a trouble tic1et stating t&at t&e Flig&t Tic1etalication is erforming slo,l at times. He uses t&e SmartCloud 32M #I to investigatet&e issue. T&e 3lication +vervie, s&o,s &is list of alications and reveals t&at t&eFlig&tTic1et alication is in a ,arning state.

"igure #$ Application ashboard 

Page 12: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 12/56

Solution Environment Overview and eplo!ment 

He navigates to t&e Client -as&board ,&ic& reveals t&at bot& i+S and 3ndroid users areexerience slo, transactions.

"igure %$ &lient ashboard 

He navigates to t&e Transactions -as&board ,&ic& s&o,s t&e erformance of eac&

adater rocedure.

(

Page 13: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 13/56

Solution Environment Overview and eplo!ment 

"igure '$ (ransaction ashboard 

From t&is vie, &e can see t&at t&e create+rder and udate+rder rocedures are ta1ingover 6 seconds? ,&ic& exceeds t&e SL3. T&is directl imacts t&e end%users t&at areboo1ing flig&ts and ,ill result in user frustration and ossibl lost sales. He transfers t&etic1et to a 0or1lig&t SM* to resolve t&e erformance issue ,it& t&e adater.

$.$ %se #ase $' &"nthetic transaction monitoring

 3 0or1lig&t alication o,ner needs to activel test t&e 1e functions of &is alication toensure t&e are available "'7. He uses snt&etic transaction monitoring to labac1 testscrits t&at exercise t&e 1e functions of t&e alication. 0it& t&is aroac&? issues can beidentified and corrected before end%users are affected.

 3n oerator receives a trouble tic1et because t&e scrit for boo1ing a flig&t is failing. Helaunc&es t&e Tivoli *nterrise 2ortal to dive into t&e issue.

T&e Transaction Status ,or1sace reveals t&at all stes of t&e transaction are failing ,it&an incorrect HTT2 return code.

Page 14: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 14/56

Solution Environment Overview and eplo!ment 

"igure )$ (ransaction Status workspace

He &as identified a critical issue ,it& t&e 0or1lig&t server ,&ic& is imacting users. Hetransfers t&e tic1et to a 0ebS&ere SM* to restore t&e server.

$.) %se #ase )' esource monitoring

Resource monitoring can &el t&e 0or1lig&t alication o,ner determine ,&et&er t&einfrastructure is imacting alication erformance.

T&e alication o,ner can use t&e 3lication +vervie, to identif alications t&at areencounter resource issues.

)

Page 15: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 15/56

Solution Environment Overview and eplo!ment 

"igure )$ Application Overview 

He susects t&at t&e resource issue mig&t be affecting t&e alication erformance? so &eclic1s t&e resource lin1? ,&ic& oens t&e Resource -as&board. He notices t&e status forone of t&e alication servers is critical ,it& a &ig& resonse time.

Page 16: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 16/56

Solution Environment Overview and eplo!ment 

"igure *$ +esource ashboard 

T&e o,ner clic1s on t&e offending 0ebS&ere alication server for drill%do,n into t&edas&board.

"igure ,$ WAS etails ashboard 

He notices one of t&e data sources is unavailable. He navigates bac1 to t&e resourcesummar and drills do,n into t&e database das&board. He notices t&e S@SC3TS23C*tablesace is close to being full as s&o,n in t&e follo,ing figure$

"igure -$ B% etail ashboard 

He confirms ,it& t&e -B administrator t&at t&e database needs servicing to restore accesserformance. 3fter servicing? t&e Flig&tTic1et alication erformance is restored and ingood &ealt&.

7

Page 17: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 17/56

Solution Environment Overview and eplo!ment 

) &olution *nvironment +vervie, an!Deplo"ment

T&is section rovides an overvie, of t&e soft,are comonents? arc&itecture androcedures to delo t&e solution into an existing SmartCloud 32M infrastructure toac&ieve t&e results in t&e use case scenarios.

T&e deloment is bro1en do,n into t&ree &ases$

Phase 1$ Real user monitoring using t&e 0eb Resonse Time agent

Phase $$ Snt&etic transaction monitoring using t&e Robotic Resonse Time agent

Phase )$ Resource monitoring using t&e ITC3M for 3lications agents

).1 -"pical Worklight *nvironmentT&e 0or1lig&t server can be installed in different net,or1 configurations? ,&ic& mig&tinclude several -MD laers? reverse roxies? >3T devices? fire,alls? &ig& availabilitcomonents suc& as load balancers? I2 sraers? clustering? and ali1e. T&e figure belo,s&o,s a tical 0or1lig&t toolog ,&ic& ,as used in our testing of t&e solution. Mostcomonents ,ere installed as Red Hat *nterrise Linux on 6'%bit sstems and 0indo,s"55/ R" 6'%bit.

"igure *$ (!pical Worklight topolog!.

).$ Phase 1' eal %ser MonitoringReal user monitoring is used to monitor re:uests to t&e HTT2 interface of t&e 0or1lig&tserver. T&is catures t&e end%user resonse time for 0or1lig&t adaters and ot&erre:uests suc& as a initiali9ation and aut&entication.

T&is section describes t&e arc&itectural overvie, and deloment rocedures for t&e realuser monitoring caabilit of t&is solution.

 

IBM HTT2Server

0or1lig&tCluster

LegacBac1end "

LoadBalancer

0or1lig&tdatabase

Mobile Clients

LegacBac1end !

Page 18: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 18/56

Solution Environment Overview and eplo!ment 

).$.1 Architectural +vervie,

T&e figure belo, s&o,s ,&ere monitoring agents are laced in t&e 0or1lig&t environment.T&e items in orange are t&e comonents needed to enable t&e real user monitoringcaabilit.

"igure ,$ +eal user monitoring using the Web +esponse (ime agent.

T&e figure s&o,s an agent%less setu for t&e 0eb Resonse Time ;0RT< agent? ,&ic& isinstalled on a remote sstem to monitor HTT2 traffic. For agent%less monitoring? t&e 0RTagent s&ould be on t&e same net,or1 s,itc& as t&e load balancer for t&e HTT2 server.T&e s,itc& must be configured ,it& ort mirroring.

).$.$ eal %ser Monitoring #omponent Deplo"ment

In t&is section? ,e summari9e t&e basic installation for t&is caabilit. If alicable? secialnotes or nuances are exlained.

I-#AM for -ransactions' Application Management #onsole agent

T&e 3lication Management Console ;3MC< agent is re:uired ,&en ot&er ITC3M forTransactions agents are installed. T&e 3MC agent manages and distributes monitoringrofiles? client grouings and transaction recordings.

For more details on roduct version and maintenance levels? refer to t&e ITC3M forTransactions entr in 3endix 3.

For more details on installing and configuring t&e 3MC agent? refer to t&e follo,ingsections from t&e SmartCloud 32M information center$

4

 

IBM HTT2Server

0or1lig&tCluster

LegacBac1end "

LoadBalancer

0or1lig&tdatabase

Mobile Clients

LegacBac1end !

SmartCloud 32M infrastructure

0or1lig&t *nvironment

 3.. licationManagement

Conso le agent

0ebRes.onseTime agent

Page 19: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 19/56

Solution Environment Overview and eplo!ment 

Installing Resonse Time monitoring agents and related soft,are

Configuring 3lication Management Console

I-#AM for -ransactions' Web esponse -ime agent

For agent%less monitoring using 0RT? ou must &ave a single dedicated sstem for t&e0RT agent. 0e recommend using t&e agent%less configuration if ou desire to off%load t&eanalsis over&ead from t&e ,eb server.

For more details on roduct version and maintenance levels? refer to t&e ITC3M forTransactions entr in 3endix 3.

For more details on installing and configuring t&e 0RT agent? refer to t&e follo,ingsections from t&e SmartCloud 32M information center$

Installing Resonse Time monitoring agents and related soft,are

Configuring 0eb Resonse Time

).) Phase $' &"nthetic -ransaction Monitoring

Snt&etic transaction monitoring is used to activel test t&e 1e functions of an alication.SmartCloud 32M includes Rational 2erformance Tester for recording monitoring scritsbased uon t&e HTT2 traffic bet,een t&e client and server. T&e monitoring scrits areeriodicall relaed using t&e Robotic Resonse Time agent ,&ic& reorts on t&eerformance and availabilit.

T&is section describes t&e arc&itectural overvie, and deloment rocedures to enable t&esnt&etic transaction monitoring caabilit of t&is solution.

).).1 Architectural +vervie,

T&e figure belo, introduces t&e snt&etic transaction monitoring caabilit ,it& t&e RoboticResonse Time agent t&at ou use la bac1 1e transactions of our alication. RoboticResonse Time agents can be deloed to different geogra&ic locations in order todistinguis& client and server issues.

Page 20: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 20/56

Solution Environment Overview and eplo!ment 

"igure -$ S!nthetic transaction monitoring using the +obotic +esponse (ime agent.

T&e snt&etic transaction test scrits are recorded using Rational 2erformance Tester. T&efigure belo, s&o,s &o, Rational 2erformance Tester is used as a HTT2 rox to recordtraffic bet,een a mobile device and t&e 0or1lig&t server. T&e test scrit is exorted to t&e

 3lication Management Console agent ,&ere it can t&en be distributed to RoboticResonse Time agents for labac1.

"igure /$ +ecording s!nthetic transactions with +ational Performance (ester.

!!

 

IBM HTT2Server

0or1lig&tCluster

LegacBac1end "

LoadBalancer

0or1lig&tdatabase

Mobile Clients

LegacBac1end !

SmartCloud 32M infrastructure

0or1lig&t *nvironment

 3.. licationManagement

Console agen t

0ebRes.onseTime agent

RoboticRes.onseTime age nt

Real or virtualdevices

 3.. licationManagement

Console agent

Rational

2erformanceTester

LoadBalancer

Page 21: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 21/56

Solution Environment Overview and eplo!ment 

).).$ &"nthetic -ransaction Monitoring #omponent Deplo"ment

In t&is section? ,e summari9e t&e basic installation for t&is caabilit. If alicable? secialnotes or nuances are exlained.

I-#AM for -ransactions' obotic esponse -ime agent

@ou can use t&e Robotic Resonse Time ;RRT< agent to la bac1 our recorded0or1lig&t transactions. T&e RRT agent can be installed along ,it& t&e 3MC agent. T&eRRT agent can be installed in different locations ,&ere clients are accessing ouralications.

For more details on roduct version and maintenance levels? refer to t&e ITC3M forTransactions entr in 3endix 3.

For more details on installing and configuring t&e RRT agent? refer to t&e follo,ing sectionsfrom t&e SmartCloud 32M information center$

Installing Resonse Time monitoring agents and related soft,are

Configuring Robotic Resonse Time

ational Performance -ester 

To record snt&etic transactions? install Rational 2erformance Tester ;R2T< on eit&er adeveloerEs ,or1station or on a dedicated sstem. In our tests? ,e installed R2T on0indo,s "55/ R" 6'%bit.

T&e ITC3M for Transaction Integration Suort *xort 2lugin is installed into R2T. T&islugin allo,s ou to exort test scrits to t&e 3lication Management Console agent.

For more details on roduct version and maintenance levels? refer to t&e ITC3M forTransactions entr in 3endix 3.

For more details on installing R2T? refer to t&e follo,ing sections from t&e Rationalinformation center$

Installing Rational 2erformance Tester 

For more details on installing t&e ITC3M for Transactions Integration Suort? refer to t&efollo,ing sections from t&e SmartCloud 32M information center$

Installing integration suort for Rational 2erformance Tester 

). Phase )' esource Monitoring

Resource monitoring gives visibilit into t&e erformance and availabilit of t&einfrastructure ,&ic& suorts 0or1lig&t alications.

T&is section describes t&e arc&itectural overvie, and deloment rocedures to enable t&eresource monitoring caabilit of t&is solution.

Page 22: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 22/56

Solution Environment Overview and eplo!ment 

)..1 Architectural +vervie,

Resource monitoring can be &ased in as s&o,n in t&e figure belo,. It is imortant to notet&at t&e resource monitoring can be added at an &ase of t&is solution. Resource agentscan include +S agents to monitor t&e underling oerating sstem ,&ere t&e alicationserver resides? database agents to monitor t&e alication server data reositor? HTT2

agents to monitor t&e ,eb server? and 0ebS&ere agents to monitor t&e 0or1lig&t server.

"igure 0$ +esource monitoring using application and OS agents

)..$ esource Monitoring #omponent Deplo"ment

In t&is section? ,e summari9e t&e basic installation for t&is caabilit. If alicable? secialnotes or nuances are exlained.

I-M' +perating s"stem agent

+S agents can be installed on t&e 0or1lig&t infrastructure. Remote +S monitors could beused instead? t&oug& t&e do not rovide as muc& detail as agent%based monitors. In ourtests? ,e installed Linux +S agents on all of our servers in our test environment.

For more details on roduct version and maintenance levels? refer to t&e IBM TivoliMonitoring entr in 3endix 3.

For more details on installing t&e +S agent? refer to t&e follo,ing sections from t&eSmartCloud 32M information center$

!(

 

IBM HTT2Server

0or1lig&tCluster

LegacBac1end "

LoadBalancer

0or1lig&tdatabase

Mobile Clients

Legac

Bac1end !

SmartCloud 32M infrastructure

0or1lig&t *nvironment

 3.. licationManagement

Conso le agent

0ebRes.onseTime agent

RoboticRes.onseTime agent

HTT2 agent

-B" agen t

+S agent

0ebS.&ereagent

+S agent

+S agent

Page 23: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 23/56

Solution Environment Overview and eplo!ment 

Installing monitoring agents

I-#AM for Applications' Database agent

T&e ITC3M for 3lications -B" or +racle agent is installed to monitor t&e 0or1lig&tdatabase and ot&er databases used b SL adaters. In our environment? ,e installed t&e

-B" agent to monitor t&e 0or1lig&t data sources.

For more details on roduct version and maintenance levels? refer to t&e ITC3M for 3lications entr in 3endix 3.

For more details on installing t&e -B" agent? refer to t&e follo,ing sections from t&eSmartCloud 32M information center$

Installation and Configuration

I-#AM for Applications' Agent for Web&phere Applications

T&e ITC3M 3gent for 0ebS&ere 3lications is installed on eac& 0ebS&ere node to

rovide t&e deeest and most fine grained monitoring of eac& server on t&at node. In t&eenvironment? t&e 0ebS&ere agent ,as installed on bot& nodes.

For more details on roduct version and maintenance levels? refer to t&e ITC3M for 3lications entr in 3endix 3.

For more details on installing t&e 0ebS&ere agent? refer to t&e follo,ing sections from t&eSmartCloud 32M information center$

 3gent for 0ebS&ere 3lications Installation and Configuration Auide

I-#AM for Applications' Agent for /--P &ervers

T&e ITC3M 3gent for HTT2 Servers is installed on eac& HTT2 server in our 0or1lig&tenvironment. In t&e test environment? t&e HTT2 agent ,as installed on our single noderunning IBM HTT2 Server.

For more details on roduct version and maintenance levels? refer to t&e ITC3M for 3lications entr in 3endix 3.

For more details on installing t&e HTT2 agent? refer to t&e follo,ing sections from t&eSmartCloud 32M information center$

 3gent for HTT2 Servers

Page 24: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 24/56

Solution Environment Overview and eplo!ment 

#onfiguring eal %ser Monitoring

In t&is section? ou configure t&e 0eb Resonse Time ;0RT< agent to enable real usermonitoring of our 0or1lig&t alications. T&is consists of t&e follo,ing &ig&%level stes$

! -efining a 0or1lig&t alication in t&e 3lication Management Configuration*ditor 

" Configuring user and session trac1ing

( -efining 0or1lig&t transactions

' Creating a monitoring rofile

) -efining client grous

6 8erifing data collection

.1 Defining a Worklight Application in the Application

Management #onfiguration *!itor 

From ,it&in t&e Tivoli *nterrise 2ortal? launc& t&e 3lication Management Configuration*ditor ;3MC*< to create a definition for our 0or1lig&t alication. For more details onusing t&e 3MC* refer to t&e follo,ing section of t&e SmartCloud 32M information center$

#sing t&e 3lication Management Configuration *ditor 

For eac& 0or1lig&t alication? create an alication ;e.g. GFlig&tTic1et< as s&o,n in t&efigure belo,$

"igure #1$ &reating an application in the AM&E

!)

Page 25: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 25/56

Solution Environment Overview and eplo!ment 

.$ #onfiguring user an! session tracking

Configure t&e alicationEs user and session definitions to cature ,&o is visiting ourmobile alication.

0or1lig&t alications running on 0ebS&ere use t&e default session coo1ie called

GS*SSI+>I-. #nder t&e Session tab? add an HTT2 coo1ie te ,it& 1e name ofS*SSI+>I-$

"igure ##$ 2ser and session tracking 

#nder t&e #sers tab? define &o, to identif a user from t&e HTT2 re:uests. T&e secificsetting ,ill deend on t&e te of aut&enticator and login module used in t&e 0or1lig&talication.

#ser identit can be extracted from t&e follo,ing 0or1lig&t aut&enticators$

(able #$ Worklight authenticators

Authenticator -"pe e" name

Basic3ut&enticator Basic aut&ori9ation %

FormBased3ut&enticator HTT2 form ost data JKusername

#ser identit can be extracted from t&e follo,ing 0or1lig&t login modules$

(able %$ Worklight login modules

ogin Mo!ule -"pe e" name

HeaderLoginModule HTT2 &eader   3user4name4header5

6ote$ T&e Flig&tTic1et alication uses 3dater aut&entication in ,&ic& t&e usernameand ass,ord are assed to t&e server in a S+> aload. T&e 0eb ResonseTime agent is unable to extract t&e username for t&is te of aut&enticator. T&eimlication for t&e Flig&tTic1et alication is t&at t&e 0eb Resonse Time agent,ont s&o, er%user metrics.

Page 26: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 26/56

Solution Environment Overview and eplo!ment 

.) Defining Worklight -ransactions

0or1lig&t alications ma1e re:uests to t&e HTT2 interface of t&e 0or1lig&t server. Formore details on t&is interface? refer to t&e 0or1lig&t information center$

HTT2 Interface of t&e roduction server 

In t&e 3MC*? ou ,ant to create transaction definitions so t&at re:uests to t&e 0or1lig&tserver HTT2 interface are resented in a meaningful? actionable ,a. T&e follo,ingtransaction definitions ,ill ensure t&at re:uests to t&e server are reorted consistentl ,it&t&e 0or1lig&t documentation

(able '$ (ransaction definition for Adapter re7uests

-ransaction 2ame  3dater re:uests

-ransaction -"pe HTT2S

3ilter 

2ame Value

#RLFile uer

#RL2at& asservicesaiFlig&tTic1et

eporting

2ame Value

 3lication name Flig&t Tic1et

Transaction name :uerHTT2.2+ST$adaterHTT2.2+ST$rocedure

Server name I2-estination3ddress$-estination2ort

(able )$ (ransaction definition for Application API re7uests

-ransaction 2ame  3lication 32I re:uests

-ransaction -"pe HTT2S

3ilter 

2ame Value

#RL2at& asservicesaiFlig&tTic1et

eporting

2ame Value

 3lication name Flig&t Tic1et

Transaction name #RLFile

Server name I2-estination3ddress$-estination2ort

(able *$ (ransaction definition for 8ogout 

!7

Page 27: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 27/56

Solution Environment Overview and eplo!ment 

-ransaction 2ame Logout

-ransaction -"pe HTT2S

ogoff  True

3ilter 

2ame Value

#RLFile Logout

#RL2at& asservicesaiFlig&tTic1et

eporting

2ame Value

 3lication name Flig&t Tic1et

Transaction name :uerHTT2.2+ST$adaterHTT2.2+ST$rocedure

Server name I2-estination3ddress$-estination2ort

T&e follo,ing ste%b%ste instructions ,al1 t&roug& t&e rocess of creating a transactiondefinition.

"igure #%$ &reating a transaction

>o, configure t&e filter definitions for t&e transaction. Create one filter called G#RLFilebased on t&e fact t&at all 0or1lig&t adater invocation re:uests end ,it& G:uer. T&encreate anot&er filter ,&ere all re:uests for t&e 0or1lig&t alications include t&e #RLsegment GasservicesaiFlig&tTic1et$

Page 28: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 28/56

Solution Environment Overview and eplo!ment 

"igure #'$ &reating a "ilter

T&e name of t&e 0or1lig&t adater and rocedure t&at are being invo1ed are contained int&e HTT2 2+ST arameters. Configure t&e reorting arameters as s&o,n t&en save t&etransaction$

"igure #)$ &onfiguring reporting parameters

. #reate a monitoring profile

Create a 0RT rofile and start our 0or1lig&t alication transaction definitions.

"igure #*$ &reating W+( profile

T&e rofile is distributed to t&e 0RT agents as s&o,n belo,$

"igure #,$ &onfiguring agent distribution

!4

Page 29: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 29/56

Solution Environment Overview and eplo!ment 

.4 Defining client groups

 3s an alication o,ner? ou need to be able to identif client latforms ,&ic& areexeriencing issues. T&e caabilit for defining client grous can be used to model grousof users from secific locations? or organi9ations? or in t&e case of a business%to%consumeralication? suc& as t&is one? to model t&e client latform running t&e alication. T&is is

ac&ieved b filtering clients according to t&e #ser3gent HTT2 &eader ,&ic& is sent inever HTT2 re:uest.

In t&e 3lication Management Console? define our clients in t&e client vie, as s&o,n int&e figure belo,. T&is examle s&o,s an 3ndroid client 1eing off t&e Bro,ser-escrition,it& value An!roi!5.

"igure #-$ Android client group

In a test environment? it can be useful to aend a dnamic identifier suc& as t&e I2address in t&e client name. T&is can &el to validate t&at grous are being allocatedcorrectl according to latform. Ho,ever in a roduction environment t&is ,ill create aver large volume of data and s&ould be avoided.

"igure #/$ &onfiguring reporting for client groups

.6 Verif"ing W- is capturing !ata using the console

+nce ouEve set%u t&e various 0RT configurations described above? ou ,ill see,or1saces li1e t&e 3lication Interactions s&o,n belo,. In t&is examle? ,e can see t&eclient? transactions and servers.

Page 30: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 30/56

Solution Environment Overview and eplo!ment 

"igure #0$ Application Interactions workspace

"!

Page 31: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 31/56

Solution Environment Overview and eplo!ment 

4 #onfiguring &"nthetic -ransactionMonitoring

In t&is section? ou record snt&etic transactions ,it& Rational 2erformance Tester ;R2T<and sc&edule for labac1 in t&e Robotic Resonse Time ;RRT< agent.

T&is section goes t&roug& t&e follo,ing stes$

! Installing t&e 0or1lig&t alication onto a test device

" Configuring t&e test device to use t&e Rational 2erformance Tester rox

( Recording a transaction in Rational 2erformance Tester 

' Modif t&e scrit for labac1

) #loading and sc&eduling scrit labac1 in ITC3M for Transactions

4.1 Installing the Worklight Application onto a test !evice

In t&is examle? ,e run t&e a on an 3ndroid 8irtual -evice ;38-<. Similar stes al,&en using a &sical 3ndroid device or an i+S device.

First? ou need to create an An!roi! Virtual Device to run our mobile alication. 

In t&e 0or1lig&t Studio ,or1benc&? oen t&e An!roi! Virtual Device Manager .

"igure %1$ Android 9irtual evice Manager 

From t&e An!roi! Virtual Devices tab? select 2e,'

Page 32: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 32/56

Solution Environment Overview and eplo!ment 

"igure %#$ Android 9irtual evice Manager 

Fill in our 38- >ame? Target ;t&e desired 3ndroid latform< and S- Card? andt&en clic1 +N to save it$

"igure %%$ Edit Android 9irtual evice :A9;

From t&e 3ndroid 8irtual -evice Manager clic1 Start to launc& t&e 38-$

"(

Page 33: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 33/56

Solution Environment Overview and eplo!ment 

"igure %'$ 8aunch

T&is ,ill launc& t&e 38- screen disla$

"igure %)$ A9 screen displa! 

+en t&e bro,ser in t&e 38- to install t&e native alication from our ublis&edalication site.

*.g.? http$<<3worklight4server5$01/1<appcenterconsole<installers.html 

 3fter installation? ou ,ill see t&e icon in t&e Apps 2anel$

Page 34: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 34/56

Solution Environment Overview and eplo!ment 

"igure %*$ Android application panel 

4.$ #onfiguring the test !evice to use the ational Performance-ester pro7"

 3fter our alication &as been installed on t&e mobile device? ou need to c&ange t&erox settings so t&at t&e HTT2 re:uests sent b t&e alication ,ill be served t&roug& t&eembedded Rational 2erformance Tester HTT2 recording rox.

From &etting(8Wireless an! 2et,orks(8More(8Mobile 2et,ork(8Access Point2ames(8-(Mobile %&$

"igure %,$ Settings

")

Page 35: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 35/56

Solution Environment Overview and eplo!ment 

"igure %-$ Wireless = networks

"igure %/$ Wireless = networks

"igure %0$ Mobile network settings

Page 36: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 36/56

Solution Environment Overview and eplo!ment 

"igure '1$ Access Point 6ames

Modif t&e rox settings to use t&e sstem ,&ere R2T /.( is installed.

*.g.? if R2T /.( is installed on 4.!"(.5.!? t&e use t&e follo,ing settings$

"igure '#$ Edit access point 

4.) ecor!ing a script in ational Performance -ester 

In Rational 2erformance Tester? create a ne, 2erformance Test roJect ;e.g.?GFlig&tTic1et<? t&en create an HTT2 test recording scrit ;e.g.? GBoo1 Flig&ts< under t&is

roJect. In t&e Client 3lication ste? c&oose %nmanage! Application$

"7

Page 37: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 37/56

Solution Environment Overview and eplo!ment 

"igure '%$ Selecting an 2nmanaged Application

Select t&e HTT2 2rox te? and configure t&e rox ort. *nsure t&e ort numbermatc&es ,&at ,as used in t&e rox settings on t&e mobile device.

Page 38: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 38/56

Solution Environment Overview and eplo!ment 

"igure ''$ Pro>! +ecorder Settings

Clic1 >ext? c&ec1 t&e accet box? and clic1 Finis&. 0&en t&e recorder starts? R2T ,illrecord an HTT2 traffic t&roug& t&e ort !5/5.

"igure ')$ Application recording 

"4

Page 39: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 39/56

Solution Environment Overview and eplo!ment 

+n our test device? ensure ou start recording before loading t&e alication as ot&er,iseou can miss imortant initiali9ation traffic.

"igure '*$ 8aunch "light(icket app

0it&in our alication on t&e device? execute some 1e transactions ou ,is& to monitor.In R2T? ou ,ill notice t&e NBtes counter increasing in t&e Recorder Control table as t&ea issues HTT2 re:uests to t&e 0or1lig&t server.

Page 40: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 40/56

Solution Environment Overview and eplo!ment 

"igure ',$ Monitoring the recording 

 3fter ou &ave manuall comleted all of t&e transactions t&at ou ,ant to record from ourmobile client? ou can sto t&e recorder b clic1ing on t&e &top button in t&e RecorderControl tab. T&e recorded scrit ,ill be s&o,n in t&e Test Contents ,indo,$

(!

Page 41: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 41/56

Solution Environment Overview and eplo!ment 

"igure '-$ (est contents

4. Mo!if"ing the script for pla"back

 3fter recording our transaction scrit? ou need to erform some manual modification inRational 2erformance Tester. T&is is tac1led in t&e follo,ing stes$

! Handling 0or1lig&t aut&entication realms

" +rgani9ing re:uests into &ig&%level transaction stes

( 3dding verification oints

4..1 /an!ling Worklight authentication realms

 3ll 0or1lig&t alications are rotected b t,o default aut&entication realms$

• ,l9anti:&3ealm

• ,l9!evice2oProvisioningealm  ;&bridnative smart&one environments onl<

T&e first re:uest to t&e 0or1lig&t server ,ill return HTT2 '5! #naut&ori9ed. T&e contentof t&e resonse contains values ,&ic& must be substituted into HTT2 &eaders insubse:uent re:uests.

T&e second re:uest to t&e 0or1lig&t server needs to contain an G3ut&ori9ation HTT2&eader. T&is &eader is not recogni9ed b R2T and needs to be manuall coied from t&erecording into t&e test scrit.

Page 42: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 42/56

Solution Environment Overview and eplo!ment 

+en u t&e recording file and navigate to G2rox sends to Connection ". @ou can see ont&e rig&t &and side t&at it catured a value for O3ut&ori9ationO as s&o,n &ere$

"igure '/$ Authori?ation heading in the recording 

Manuall add t&at &eader to t&e second re:uest in our test since R2T droed it from t&elabac1$

"igure '0$ Manuall! adding header 

*nsure t&at t&e &eader no, aears in t&e Re:uest Headers.

Figure '5$ Re:uest &eaders contain t&e 3ut&ori9ation &eader 

((

Page 43: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 43/56

Solution Environment Overview and eplo!ment 

>o, t&at ou &ave all of t&e rig&t &eaders in our scrit? ou need to ensure t&e scritsends values ,&ic& are correctl substituted based uon ,&at is returned b t&e server.0&en ou visit a 0or1lig&t mobile alication? t&e server can generate t,o uni:ueidentifiersP

• W9Instance9ID Q t&is value needs to be assed as a HTT2

&eader in all of t&e follo,ing re:uests.• -oken Q t&is value needs to assed in t&e 3ut&ori9ation HTT2&eader 

In t&e testEs resonse bod? find t&e value of t&e uni:ue identifier Q 0LKInstanceKI-$

"igure )#$ &reating substitutions

Hig&lig&t it and rig&t clic1 to create a reference as s&o,n belo,$

"igure )%$ &reating substitutions

T&en name t&is reference as s&o,n$

Page 44: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 44/56

Solution Environment Overview and eplo!ment 

"igure )'$ +eference name

C&oose Select 3ll and clic1 Substitute C&ec1ed as s&o,n$

"igure ))$ &hecking substitution sites

@ou ,ill see t&e ne, substitution ,ill be c&anged to different color$

"igure )*$ Post4substitution

Create a substitution for token using t&e same aroac&.

()

Page 45: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 45/56

Solution Environment Overview and eplo!ment 

4..$ +rgani;ing re<uests into high(level transactions steps

@our recording ma contain man &eartbeat re:uests ,&ic& arent needed duringlabac1. @ou can delete most of t&ese? t&oug& be careful not to delete t&e initial t,ore:uests to t&e 0or1lig&t server as t&ese imlement t&e aut&entication c&allenge.

Since R2T onl observes t&e HTT2 traffic? it is unable to rovide meaningful names for t&etransaction stes in t&e recording. It is ticall useful to create transaction stes for eac&adater invocation.

T&e figure belo, s&o,s an examle of a recorded scrit bro1en u into descritivetransactions$

"igure ),$ Modified script 

4..) A!!ing verification points

8erification oints in t&e scrit ensure t&at t&e server is returning t&e exected data. T&eare needed to accuratel monitor t&e availabilit of our alication.

 3fter ou installed ITC3M for Transaction Integration Suort? ou ,ill see one ne,ersective. S,itc& to t&is ersective to add verification oints to our scrit? eseciallfor Return Code$

"igure )-$ Switch to I(&AM perspective

Page 46: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 46/56

Solution Environment Overview and eplo!ment 

"igure )/$ Adding verification points

 3fter t&at? test our scrit b running it ,it&in R2T$

"igure )0$ +unning !our script within +P( 

T&e results s&ould loo1 li1e t&is$

(7

Page 47: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 47/56

Solution Environment Overview and eplo!ment 

"igure *1$ +P( test results

4.4 %ploa!ing an! sche!uling robotic pla"back in I-#AM for-ransactions

>o, ou are read to uload our scrits and sc&edule labac1 in ITC3M forTransactions.

For details on uloading and sc&eduling scrit labac1 for ITC3M for Transactions?lease refer to t&e follo,ing sections from t&e SmartCloud 32M information center$

*xorting Rational 2erformance Tester scrits

2rocedure$ Selecting transactions for a rofile

6ote$ 0&en uloading our test scrits? set t&e same alication name t&at ou used,it& t&e 0eb Resonse Time agent. *.g.? GFlig&tTic1et. T&is ,ill ensureconsistent resentation in t&e T*2 ,or1saces and 32M #I das&boards.

8erif t&at ou &ave robotic labac1 data in t&e ,or1saces in t&e T*2 console as s&o,nin t&e figure belo,$

Page 48: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 48/56

Solution Environment Overview and eplo!ment 

"igure *#$ +obotic data in the (EP console

(4

Page 49: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 49/56

Solution Environment Overview and eplo!ment 

6 %sing the Application PerformanceManagement %ser Interface

In t&is section? ,e use t&e 3lication 2erformance Management ;32M< #I to manageerformance and availabilit of 0or1lig&t alications. 0e configure and customi9e t&e

 32M #I to use t&e monitoring agents covered in t&e revious sections.

6.1 #onfiguring the !ata provi!er 

To connect t&e 32M #I to Tivoli Monitoring? t&e Common #I Rest Interface ;C#RI< must beenabled on t&e Tivoli *nterrise 2ortal Server. In t&e Tivoli Integrated 2ortal? create aconnection as s&o,n in t&e follo,ing figure$

"igure *%$ &onnection Panel in (IP 

T&e connection in t&e summar table s&ould disla 0+RNI>A as s&o,n belo,$

"igure *'$ &onnection Summar! in (IP 

Launc& t&e 32M #I? and clic1 &ettings to configure t&e data rovider. T&e data rovider isautomaticall dislaed in t&e list of available roviders.

"igure *)$ Provider &onfiguration in APM 2I 

Page 50: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 50/56

Solution Environment Overview and eplo!ment 

>ext? lets create an alication ,it& a das&board.

6.$ #reating an application from a template

 3dd a ne, alication? create a name and descrition? select an alication from t&e list?and select t&e alication temlate. For eac& node? select one or more resources ass&o,n in t&e figure belo,$

"igure **$ Application &onfiguration Panel in APM 2I 

>o,? ou can drill into eac& categor and vie, t&e various das&boards. For instance? t&efigure belo, s&o,s t&e resource das&board for t&e Flig&tTic1et alication$

'!

Page 51: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 51/56

Solution Environment Overview and eplo!ment 

"igure *,$ +esource ashboard 

 

Page 52: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 52/56

Solution Environment Overview and eplo!ment 

= #onclusion

 3fter ou delo t&is &ased solution? ou ,ill reali9e significant value to,ards our overallalication erformance management strateg. @ou ,ill be able to roactivel detect

erformance and availabilit issues t&at imact t&e end%to%end monitoring. In &ases oneand t,o of t&is solution? ,e &ave seen &o, to delo real%user and snt&etic transactionmonitoring. Finall? ,e introduced resource monitoring in &ase t&ree and observed t&eo,erful features of t&e ,eb server? alication server? database and +S monitoring.

'(

Page 53: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 53/56

APPENDIX A

P+D%#- V*&I+2&

Pro!uct>#omponent elease>Version 2otes

SmartCloud 3lication2erformance Management

7.6 For t&e 0eb Resonse Time agent? contactsuort to obtain 323R I8'"(74.

For t&e Robotic Resonse Time agent? contactsuort to obtain7.(.5.!%TI8%C3MRT%L3555".

0or1lig&t ).5.6

Page 54: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 54/56

APPENDIX B

ADDI-I+2A *3**2#*&

&ource %

 3lication 2erformanceManagement #serInterface on-eveloer0or1s

&tts$,,,.ibm.comdeveloer,or1sservicemanagementamscamindex.&tml

0&at is 2ort Mirroring &tt$,,,.miarec.comfa:,&at%is%ort%mirroring

Best 2ractices for 3lication 2erformance

Management

&tts$,,,.ibm.comdeveloer,or1sservicemanagementamscamindex.&tml

#nderstanding t&e 2re%defined 3ut&enticationRealms and Securit Testsin 0or1lig&t

&tt$go,or1lig&t.,ordress.com"5!(5("(understanding%,or1lig&t%aut&entication%realms%and%securit%tests

vii

Page 55: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 55/56

 ®

Corig&t IBM Cororation "5!(IBM #nited States of 3merica2roduced in t&e #nited States of 3merica#S Aovernment #sers Restricted Rig&ts % #se? dulication or disclosure restricted b AS3 3-2 Sc&edule Contract ,it&IBM Cor.

IBM ma not offer t&e roducts? services? or features discussed in t&is document in ot&er countries. Consult our local IBMreresentative for information on t&e roducts and services currentl available in our area. 3n reference to an IBMroduct? rogram? or service is not intended to state or iml t&at onl t&at IBM roduct? rogram? or service ma be used. 3n functionall e:uivalent roduct? rogram? or service t&at does not infringe an IBM intellectual roert rig&t ma beused instead. Ho,ever? it is t&e userEs resonsibilit to evaluate and verif t&e oeration of an non%IBM roduct? rogram?or service.

IBM ma &ave atents or ending atent alications covering subJect matter described in t&is document. T&e furnis&ing oft&is document does not grant ou an license to t&ese atents. @ou can send license in:uiries? in ,riting? to$

IBM irector of 8icensing 

IBM &orporation6orth &astle rive Armonk@ 6 #1*1)4#-/*2.S.A.

-he follo,ing paragraph !oes not appl" to the %nite! ing!om or an" other countr" ,here such provisions areinconsistent ,ith local la,'I>T*R>3TI+>3L B#SI>*SS M3CHI>*S C+R2+R3TI+> 2R+8I-*S THIS 232*R G3S IS 0ITH+#T 03RR3>T@ +F 3>@ NI>-? *ITH*R *2R*SS +R IM2LI*-? I>CL#-I>A? B#T >+T LIMIT*- T+? TH* IM2LI*- 03RR3>TI*S +F>+>%I>FRI>A*M*>T? M*RCH3>T3BILIT@ +R FIT>*SS F+R 3 23RTIC#L3R 2#R2+S*. Some states do not allo,disclaimer of exress or imlied ,arranties in certain transactions? t&erefore? t&is statement ma not al to ou.

T&is information could include tec&nical inaccuracies or togra&ical errors. C&anges ma be made eriodicall to t&einformation &ereinP t&ese c&anges ma be incororated in subse:uent versions of t&e aer. IBM ma ma1e imrovementsandor c&anges in t&e roduct;s< andor t&e rogram;s< described in t&is aer at an time ,it&out notice.

 3n references in t&is document to non%IBM 0eb sites are rovided for convenience onl and do not in an manner serveas an endorsement of t&ose 0eb sites. T&e materials at t&ose 0eb sites are not art of t&e materials for t&is IBM roductand use of t&ose 0eb sites is at our o,n ris1.

IBM ma &ave atents or ending atent alications covering subJect matter described in t&is document. T&e furnis&ing oft&is document does not give ou an license to t&ese atents. @ou can send license in:uiries? in ,riting? to$

IBM -irector of LicensingIBM Cororation'"5) Sout& Miami BoulevardResearc& Triangle 2ar1? >C "7754 #.S.3.

 3ll statements regarding IBMEs future direction or intent are subJect to c&ange or ,it&dra,al ,it&out notice? and reresentgoals and obJectives onl.

T&is information is for lanning uroses onl. T&e information &erein is subJect to c&ange before t&e roducts describedbecome available.

If ou are vie,ing t&is information softco? t&e &otogra&s and color illustrations ma not aear.

Page 56: APM_for_Worklight_v1.0

7/21/2019 APM_for_Worklight_v1.0

http://slidepdf.com/reader/full/apmforworklightv10 56/56

 Application Performance Management for IBM Worklight mobile apps

-ra!emarks

IBM? t&e IBM logo? and ibm.com are trademar1s or registered trademar1s of International Business Mac&ines Cororation int&e #nited States? ot&er countries? or bot&. If t&ese and ot&er IBM trademar1ed terms are mar1ed on t&eir first occurrence int&is information ,it& a trademar1 smbol ;® or <? t&ese smbols indicate #.S. registered or common la, trademar1so,ned b IBM at t&e t ime t&is information ,as ublis&ed. Suc& trademar1s ma also be registered or common la,trademar1s in ot&er countries. 3 current list of IBM trademar1s is available on t&e ,eb at OCorig&t and trademar1informationO at &tt$,,,.ibm.comlegalcotrade.s&tml.

Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft or!oration in the United States, other

countries, or both.

"ava and all "ava#based trademarks and logos are trademarks or registered trademarks of $racle and%or its affiliates.

+t&er coman? roduct? or service names ma be trademar1s or service mar1s of ot&ers.