Upload
muath-baioud
View
222
Download
0
Embed Size (px)
Citation preview
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
1/31
IBM Certified WebSphere
Application Server 8.5Administrator
A course to get certified in 7 days
Karun Subramanian, ESIS Consulting LLC
Part 3
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
2/31
Section 7Intelligent Management
and Resilienc
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
3/31
Introd!ction
● Introduced wit !AS "#$
● Pro%ides ser%ices to create %irtuali&ed
A''lication Ser%ing en%ironment wit
minimum administrati%e o%eread
● (etect issues and dynamically cange
runtimes
● )ou configure 'olicies tat go%ern te'erformance and ealt of te en%ironment
● A''lication editions enable rolling out
a''lications witout im'acting users
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
4/31
Components of Intelligent
Management
● *n (emand +outers +e-uests are 'rioriti&ed and
routed based on rules# Can be configured as Ser%ers or
run in !eb Ser%er using Intelligent .anagement
enabled 'lug in
● /ealt .anagement .onitors Ser%ers and ta0es
actions based on ealt 'olicies defined
● (ynamic Clusters1Performance .anagement Cluster
members automatically created1remo%ed,
started1sto''ed based on 'olicies defined
● A''lication Edition .anagement 2o downtime during
A''lication u'date
● *%erload 'rotection Automatically ta0e action based on
CP and1or .emory e4austion
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
5/31
Components of Intelligent
Management Cont...
● Autonomic .anagers5 .a0e decisions for te en%ironment including
A''lication management, traffic sa'ing and ealt
'lacement5 APC 6 A''lication Placement Controller manages
(ynamic Clusters
5 (ynamic wor0load manager (!L.8
5 Autonomic re-uest flow manager A+9.85 /ealt Controller
● Ser%ice Policies Settings tat you define to
go%ern te re-uest 'riority
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
6/31
Components of Intelligent
Management Cont...
● :ree ty'es of Ser%ice Policies5 (iscretionary (efault ser%ice goal# Processed wen
no iger re-uest is waiting
5 A%g res'onse time E4 3$;; milliseconds5 Percentile +es'onse time E4
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
7/31
Components of Intelligent
Management Cont...
● !or0 class re-uest classification rules allow
re-uests to be classified# ses S@L wereB
class style rules using te information from
te re-uest i',user id,eader etc8
● :ransaction Class 'ro%ides te lin0 between
a''lication and ser%ice 'olicy
● A ser%ice 'olicy can a%e multi'letransaction classes ma''ed to it# ut a
transaction class must ma' to only one
ser%ice 'olicy
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
8/31
Components of Intelligent
Management Cont...
Ser%ice Policy
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
9/31
"n #emand Ro!ter $%plained
● ?a%a based 'ro4y ser%er# Sits in front of
A''lication Ser%ers
● +outes re-uests to A''lication ser%ers
based on o'erational 'olicy
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
10/31
&ealth Management
● Policy dri%en management 6 monitors te
system and ta0es actions
● /ealt 'olicies define wat to monitor for
and wat to do wen certain conditions are
met
● /ealt Controller Autonomic manager8
'rocesses te /ealt Policies# Actions canbe done automatically or wit manual
inter%ention
● :ere is one /ealt Controller 'er cell
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
11/31
&ealth Management Cont...
● /ealt Conditions
5 Age ased
5 E4cessi%e re-uest timeout
5 e4cessi%e res'onse time
5 E4cessi%e memory usage
5 E4cessi%e Darbage Collection
5 .emory Lea05 Storm (rain
5 !or0 Load
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
12/31
&ealth Management Cont...
● /ealt Actions
5 +estart Ser%er
5 :a0e :read dum' a%a core8
5 :a0e /ea' dum'
5 Put Ser%er in maintenance mode
5 :a0e out Ser%er from maintenance mode
5 2otify Administrator S.:P85 Send S2.P tra'
5 Custom action
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
13/31
Application $ditions
● Edition Control Center manages A''lication
editions
● Enables u'dating te a''lication witout
interru'ting te users
● +outing 'olicy and on demand router are
re-uired to use two editions simultaneously
● !en you need to %alidate an edition, youcan a%e !AS create a dynamic cluster
automatically and de'loy te edition for you
● )ou must acti%ate an edition before it can
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
14/31
Application $ditions Cont...
● +olling out re'laces te current a''lication
edition wit new edition witout interru'tion
● +e-uests are -uiesced and rerouted to oter
members or tem'orarily -ueued8 wile te newedition is being acti%ated
● )ou can roll out
5 atomically can -ueue re-uests at *(+ toensure two editions do not ser%e at te same
time8# (e'loys on alf of cluster at a time8
5 grou'ed te grou' si&e defined by you8#
(oes not -ueue re-uests
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
15/31
Application $ditions Cont...
● )ou can coose to restart eiter ust te
a''licationsoft8 or te entire a''lication ser%er
ard8
● )ou can s'ecify a drainage inter%al for-uiescing te tt' re-uests
● Concurrent acti%ation of te A''lication editions
'ossible wen a routing 'olicy is defined at te
*(+ *(+ needs to 0now wic grou' of users
to route to a 'articular edition8
● !it %alidation mode, te de'loyment target is
cloned and te new edition is de'loyed for
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
16/31
A!tonomic Managers e%plained
● A+9. Autonomic re-uest flow managers5 Controller Do%erns te re-uest flow# +uns in any
node agent, *(+ or dmgr
5 gateway 'er used combination of 'rotocol family,'ro4y 'rocesses and de'loyment target# 9or /::P
and SIP, runs on *(+# 9or ?.S and II*P, runs on
!AS
5!or0 flow estimator 'er target cell# +uns in anynode agent, *(+ or dmgr
● (ynamic !or0load Controller 5 (ynamically adusts ser%er weigts minimi&e
res'onse time# *ne 'er cluster
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
17/31
A!tonomic Managers e%plained
● A''lication 'lacement controller 5 *ne 'er cell osted in (.D+ or node agent
5 .anages a''licationBs location witin a node grou'
5 Starts and sto's !AS instances to manage/::P,SIP,?.S and II*P traffic
● *n (emand Configuration .anager 5 .aintains cell to'ology information to 0ee' oter
autonomic managers informed
5 Enables *(+ to dynamically configure routing rules
based on configuration canges suc as
A''lications installed1remo%ed,!ASs
started1sto''ed
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
18/31
More on Service 'olic
● Enables classifying, 'rioriti&ing and
intelligently routing wor0load
● Sets 'erformance goals and business
im'ortances of a''lications
● :wo com'onents of a Ser%ice Policy5 Im'ortance identifies most im'ortant wor0 during
resource contention5 Doal(etermines ow wor0 is e%aluated to ensure
ser%ice 'olicy le%el
F (iscretionary, A%erage +es'onse :ime, +es'onse
time 'ercentile
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
19/31
More on Service 'olic Cont...
● Ser%ice Policies are related to wor0load using
transaction classesB
● !or0 classesB ma' wor0load to transaction classesB
● Eac wor0 class is associated to5 *ne ?EE A''lication
5 *ne of te following ty'eB of re-uests
F +L 'refi4 for /::P
F .etod name for II*PF us G (estination for ?.S
● Eac wor0 re-uest belongs to e4actly one transaction
class# Eac transaction class belongs to e4actly one
Ser%ice Policy
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
20/31
Creating a Service 'olic
● !AS Admin Console 6H *'erational Policies
6H Ser%ice Policy 6H 2ew
● Pro%ide a name and Doal :y'e
(iscretionary, A%g res'onse time or
Percentile res'onse time8
● Associate an im'ortance lowest to igest8
● Select .onitor for 'ersistent 'olicy%iolationsJ to setu' runtime tas0 wen 'olicy
%iolation occurs
● Associate a transaction classB or create a
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
21/31
Section 8'erformance Monitoring
and (!ning
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
22/31
'erformance Monitoring overvie)
● P.I Performance .onitoring Infrastructure85 ?S+677 based ?EE .anagement +eference
im'lementation ?.8
5 ?a%a, !E or ?. client can retrie%e te'erformance data collected by P.I#
● :P :i%oli Performance iewer85 iewed in Admin Console
● +e-uest .etrics5 :ool tat uses timing agents to trac0 te indi%idual
re-uest 'rocess time
5
rea0 down of a transaction sowing time s'ent at%arious subsystems
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
23/31
'MI
● P.I can be enabled or disabled using te
!AS Admin Console enabled by default8
● Enabling1(isabling re-uires Ser%er restart
● arious statistics set can be configured5 asic,E4tended,All,Custom,2one
● Performance o%eread of P.I can be from >
to M =
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
24/31
'MI Cont...
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
25/31
Re*!est Metrics
● Can be enabled1disabled using !AS Admin
Console# :is is a cell wide cange
● arious trace le%els
5 2one, /o's, Performance (ebug, (ebug5 9iner te trace le%el, granular te brea0down
of te res'onse time witin a transaction
● /::P Plugin must be regenerated wenenabling +e-uest .etrics
● Additional filters can be configured to target te
metrics collection to a 'articular subsystem
● *ut'ut of +e-uest .etrics can be logged to
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
26/31
+ie)ing 'erformance #ata
● :i%oli Performance iewer is integrated wit
Admin Console
● )ou can %iew data from only one Ser%er at a
time
● Setting to modify refres rate and buffer si&e
● (ata can be %iewed as raw,rate of cange or
cange in %alue● :P data is 'rocessed by dmgr
● :P data can be logged for future use
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
27/31
+ie)ing 'erformance #ata Cont...
● :ree ways in :P5 Summary +e'orts
Deneral %iew in tabular format Ser%lets, E?s,
connection 'ools etc85 Performance .odules
:abular or gra' %iew of real time 'erformance data
5 Ad%isors
Pro%ide tuning ad%ice for well 0nown ots'ots tread
'ool usage, %m settings etc8 based on te P.I data
collected
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
28/31
(ivoli 'erformance +ie)er
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
29/31
'erformance Advisors
● :wo Ad%isors a%ailable5 Performance Ad%isor in :P
5 Performance and (iagnostic ad%isor
● Performance and (iagnostic ad%isor runs inte ?. of te !AS and ence not
e4austi%e# Logs ad%ice in System*ut#
● Performance Ad%isor in :P runs innodeagent in 2(8 and %iewed %ia :P in
Admin console# E4austi%e
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
30/31
Settings that affect performance
● :read Pools Limits te number of treads
tat te 'ool can s'awn# E4cessi%e treads
generally lead to ea%ier CP usage due to
conte4t switcing8● ?(C Connection Pools 2umber of
connections to te bac0end (atabase# :oo
many connections in use may indicateConnection Pool lea0
● ?. DC 'olicy must be cosen based on
re-uirement# 9re-uent DC slows down te
a lication
8/17/2019 IBM Certified WAS 8.5 Administration Intelligent Management
31/31
WebSphere #namic Cache
● Caces out'ut of Ser%lets,?SPs,!eb
Ser%ices and commands
● Enabled by default
● Cace .onitor !eb A''lication lets you
monitor te cace 'erformance comes wit
te 'roduct8
● Accessed at Ser%er 6H Container Ser%ice6H(ynamic cace
● Allows dis0 offload and cace re'lication
● !ebS'ere etreme scale is te strategic