Advantel - Sysplex_WLM

Transcription

Advantel - Sysplex_WLM
SYSPLEX Workload Management
30 Mars 2006
Pierre VANDEMAËLE
Consultant Performance/Métrologie
[email protected]
1
Sommaire
z
z
z
z
z
Workload Manager : Rappels
Sysplex SPI et Local LPI
Batch en Sysplex
Queue Server
Transaction Server en Sysplex
ƒ
ƒ
ƒ
ƒ
z
z
z
z
DB2
I/O
ESCP et DISCP
Etude d’une particularité CICS
Load balancing IP en Sysplex, Sysplex Distributor
IRD (Lpar CPU, CSS Queueing, Channel Path Mgt)
Paramètres associés
Annexes
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 2
WLM : Objectifs Globaux
Maintenir la qualité de service demandée par les Classes de Service dans un SYSPLEX
Gérer tous les types de transactions sur OS/390 et Z/os par des classes de service
Hiérarchiser l’atteinte des objectifs des classes de service par Importance
Décider localement des actions à prendre pour faire respecter ces objectifs
Ajuster dynamiquement les ressources Hardware et Software pour atteindre ces objectifs
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 3
WORKLOAD MANAGER : Objets et Définitions
Service Définition
Goal Policy’
Couple Dataset WLM
Goal Policy
Workload
Workload
Response Time Distribution
Work Manager Delays
Workload
Workload
Report Class
Service Class
Homogeneous
Service Class
Heterogeneous
Service Class
Multiple Periods Inheritance
Period
Resource Group
Importance/Goal
Period
Period
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 4
Sysplex-Name
Sysname
Sous-system
Transaction
Account
Userid
Job
WLM Classifications - Principes
IWMCLSFY
Service Class
Critères
Enclave
Transaction
Category
Service Class
Critères
Service Class
Critères
Connection
CorrelationId
Package
Service Class
Service Class
WEB Transaction
Name
Method
Html Template
Httpd .conf
Was.conf
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management –
auteur : Pierre Vandemaële -
Slide : 5
WLM Classifications spéciales
SAP
LSFM
STC
Fork ,Spawn
SYSTEM
Userid du ICLI Server
TRXNAME :
SYSSTC
• LSFMMMTX
TRXNAME :
• dialog
• Batch
• Update
• Update2
• Genreric
• Spool
• Enqueue
• Unknown
• LSFMFITX
• LSFMAMTX
• LSFMCMTX
BPXAS
Wlm
Adspace
Pool
OMVS Kernel
BPXOINIT
OMVSKERN
OMVS
Default Service Class
SYSH (Linux)
SYSTEM:
USERID:
TRXNAME:
Daemon_1
Daemon_2 …
Period 1 : 85% < 1 sec
Period 2 : 80% < 2 sec
Period 3 : Vel 20%
Vel Goal STC Service Class
SysplexName
SystemName
Vel Goal Service Class
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 6
Types
de Workload gérés par WLM
Espaces Adresses passifs :
Transactions
Servers
:
(Tso,Batch,Stc,Omvs)
(CICS,IMS)
Routage des transactions
Ajustement des ressources fonction des External Service Class Goals
WLM Managed Initiators : ajustement dynamique du Queue Time Batch
Routage des Batchs et Parallélisation + SCHENV
Queue Servers :
WLM Managed Queues avec APPLENV associée
IWEB Scalable Webserver : WebSphere HTTP Servers clonable
WebSphere Application Servers Clonable
CB : Component Broker Region Clonable utilisé par Websphere services
DDF Stored SQL Proc : SPAS SQL Server Address Space Clonable
Enclaves Servers :
DB2,LSFM,SAP R/3,MQ (Workflow),CB,WAS V4/V5/V6
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 7
WLM Classifications - Sous-Systèmes
JES2
TSO
SYSH
NETV
STC
OMVS
DDF
CICS
IMS
DB2
LSFM
ASCH
CB
IWEB
SAP
MQ
SOM
SYSPLEX
SYSTEM
SUBSYSCollection
SI
USERID
TRNNAME
ACCOUNT
TRXCLASS
PACKAGE
COLLECTION
CONNECTION
CORRELATION
ProcedureName
PLAN
LU
NETID
Subsystemparam
Perform
Priority
SCHENV
ProcessName
SYSPLEX
SYSTEM
LU
Priority
SI
TRXCLASS
TRNNAME
USERID
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 8
WLM - Les cycles
Echantillonage général :
1/4 seconde
Policy Adjustment Routine :
10 secondes (Calcul des PI Local et Sysplex)
Transaction Longue
2 x Policy Interval = 20 secondes
:
LPAR Weight Management Change :
jusque
6 x Policy interval
Révision de la Topologie des Transactions Servers :
Websphere model server group refresh :
6 x Policy interval (1 minute)
1 à 10 minutes
Dcom.ibm.corba.requesttimeout = 30 secondes
Dcom.ibm.ejs.wlm.MaxCommFailures = 2
Dcom.ibm.ejs.wlm.Unusableinterval = 900 secondes
Sysplex Routing Services Weight Calculation Interval :
Démarrage et Fermeture des Inits WLM dynamiques
60 à 180 secondes
:
Policy + Historique + Capacité
Révisions des Devices Clusters et I/O Queueing Priority : 10 minutes (minimum 3 min)
Dynamic PAV Goal algorithm : 30 secondes
Dynamic PAV Efficiency algorithm : 1 minute
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 9
WLM Goal Policy : Architecture et Fonctions
Administration Interface
CPU protection
Efficiency Algorythm
Storage protection
Goal Algorythm
INIT Queue analysis
Dispatcher
Intelligent Resource Director
CPU Modeling
VTAM
Policy Adjustment routine
I/O Clustering
Sysplex Distributor
Sysplex Routing Services
MPL Heuristic
JES2
Queue Server Services
Memory Heuristic
Dynamic PAV
Workload delay analysis routine
SRM
RSM
Enclave
Hardware I/O Queues
Displaceable Capacity
IOS Queueing
Transaction Server Services
I/O Velocity
Channel Management
Topology Server
IRD / PRSM
Cross-systems algorythms
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 10
WLM
"Managed"
Ressources
Cpu : Dispatching Priority (service Class/Period ), LPAR Cpu Management
Mémoire :
Pagination interne et externe,Swap Logique (Service Class/Period)
Mpl
Taux de Multiprogrammation (Service Class/Period)
:
IRD : CSS Priority Queueing(ESCP), Dynamic Channelpath Mgt (Global)
Queueing I/O sur UCB (disques) : I/O Queueing Priority (même granularité)
UCB Dynamic PAV : ( + sur ESS internal Control Unit Priority)
Queueing des Batchs avec Init WLM dynamiques : (scope Sysplex ou systemid)
Load Balancing des Logon Applid (CICS) avec VTAM et Goals en Sysplex
Load Balancing des Sessions TCP/UDP par DNS/Sysplex Distributor/MNLB Cisco
WLM Managed Queue servers
(IWEB,DDF,CB….) : démarrage dynamique de clône
WAS Load Balancing : Servlet Redirector (WLM + IIOP),WLM/DNS
EJB Load Balancing WLM Policy :Round-Robin options (DNS/WLM CB en V4V5/V6)
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 11
Policy Adjustment Routine (10 Secondes)
Donneurs
Receveurs
External sc/per or internal
External sc/per or internal
Resource Group > Max
Discretionnary Ressources
Imp 5
Resource Group < Min
Imp 0
Imp 1
External SC/PER
Performance Index > 1
Internal Service Class : DISC
Performance Index < 1
Performance Index <= 1
Imp 3
Imp 2
Imp 1
External sc/per ou internal ou Ad Scpace
Performance Index >> 1
Performance
PerformanceIndex
Index<<<<1 1
Imp 4
Impact/granularité
Sur
Surchaque
chaque
Système
Système
Pour
Pour chaque
chaque
importance
importance et
et
chaque
chaque période:
période:
calcul
calculdes
desSPI
SPI
puis
puisdes
desLPI
LPI
Performance Index 1
Imp 2
Performance Index >> 1
Imp 3
Imp 4
Gestion
Gestionindividuelle
individuelle
par
Espace-Address
par Espace-Address
sisi Transactions
Transactions
longues
longues (>
(>22xxPolicy
Policy
interval
interval) )
,Discretionnary
,Discretionnary, ,
Server
ServerAd
AdSpace,
Space,
pour
pourles
lesressources
ressources
CPU
CPUet
et Isolation
Isolation
Mémoire
Mémoire
Seuil
Seuilde
de
rentabilité
rentabilité== 10%
10%
Imp 5
du
PI
initial
+/du PI initial +/1
action
sinon
etetimpact
1 action sinon
Discretionnary
impactsur
sur
autres
Goals
autres Goals
importance
Réunion GuideShareimportance
MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
suivante
suivante
Slide : 12
WLM Options
CPU = 1
SRB = 1
Qus = ((cpu * Tcbtime) + (srb * Srbtime)) * Kus/sec/proc
+ (ioc * Iocount)
IOC = 0,5
MSO = 0
I/O Priority Management = Yes
Priority byte dans CCW if Yes
Channel Subsystem
Priority Queueing if Yes
ASM
ASMcommunique
communiqueààSRM
SRM
lelenombre
Minimum
nombre Minimum
d’Alias
d’Aliasnécessaires
nécessairespour
pour
optimiser
les
Paging
optimiser les Paging
Devices
Devices(Z/os
(Z/os1.3)
1.3)
WLMPAV = Yes (Dynamic UCB Alias)
Goal
GoalAlgorythm
Algorythm: :30
30sec
sec
Help
HelpSCPER
SCPER Goal
Goal(move
(move
Alias
en
utilisant
un
Alias en utilisant un
Token
Tokendans
dansSysplex
Sysplex) )
>>àà Efficiency
EfficiencyAlgorythm
Algorythm
Efficiency
EfficiencyAlgorythm
Algorythm: :60
60
sec
sec
Reduit
Reduit IOSQ
IOSQTime
Timesisi des
des
Alias
sont
disponibles
et
Alias sont disponibles et
aucun
aucunImpact
Impactsur
sur
l’Objectif
du
DONOR
l’Objectif du DONOR
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 13
WLM Service Class/Period Goals
CPU Critical = Yes
CPU Critical = no
WORKLOAD TSO
Service Class TSOPROD
Resource Group =
Period 1
DUR = 5000
Percentile 70% < 0,5 sec Importance 1
Period 2
DUR = 10000
Percentile 70% < 5 sec Importance 1
Period 3
Percentile 50% < 10 sec Importance 3
Goal
Goal: : ++ Importance
Importance(1(1-5)5)
ÖAverage
ÖAverage Resp
Resp Time
Time
ÖResp
ÖRespTime
TimePercentile
Percentile
ÖVelocity
ÖVelocity
ÖDiscretionnary
ÖDiscretionnary (Imp
(Imp6)6)
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 14
WLM Calcul des Performances Index
Average Response Time Goal
Actuel Temps de réponse
ESCP
PI
=
Avg Resp Time Goal
Percentile Response Time Goal
Percentile Actual Resp Time
ESCP
PI
=
Percentile Resp Time Goal
Velocity Goal
Velocity Goal
=
ESCP
PI
Actual Velocity
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 15
WLM Calcul des Temps de Réponses ,Distributions
IWMRPT
ESCP
Déclaration de fin de transaction
DISTRIBUTION
10 0
80
60
40
20
0
Goal Type Avg Resp ou Percentile
Exemple :
Bucket
Transaction Count
70% < 0,8 sec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Percent of Goal
50
60
70
80
90
100
110
120
130
140
150
200
Transaction Count
60
30
10
20
60
80
40
0
5
10
20
70
30
5
Percentile
14
20
23
27
41
59
68
68
69
72
76
92
99
100
400 over
Résultat : 72% < 1,12 sec
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 16
WLM Transactions Servers - Principes
(External Service Classes Period)
IWMCLSFY
IWMCLSFY
CICS TOR
CICSAOR
CICSAOR
CICSAOR
CICSAOR
DBCTL
TRXCUDEF
TRXTEDEF
Sysplex
Goal Policy
WLMa
PBs
PBs PBs
PBs PBs
PBs
ServiceClass
CICS TOR
CICSAORCICSAOR
Propagation de la Classe
de Service en MRO
uniquement
CICSFOR
TRXWEBUY
TRXTEDEF
PBs
PBs
PBs
WLMb
PBs
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 17
WLM Websphere Application Server/EJB V4
Httpd.conf
URL classification
Classes Définition
FRCAWLMParms
Was. conf
DNS/WLM
Server Instance
Server Instance
Component Broker
DAEMON(CBDAEMON)
HTTP Server
OSE
Was400Plugin.so
SYSSTC
Servlet Redirector
SYSSTC
Start Manually
RMI/IIOP
WLM
CB Control Region
SYSSTC
Work Queue
ENCLAVES
Propagation or
Creation
Unique ESCP Goal
IIOP
JSP
SHTTP
HTTP
TCP/IP or Xmem
Naming Server
Business App
Server Region
ENCLAVES
EJB Facility
ENCLAVES
Appenv = bboasrx
Appenv
SYSSTC
J2EE EJB
Appenv = CBNAMING
IWMSSNM = &IWMSSNM
System Management Server
WLM started new STC
Appenv = CBSYSMGT
Server Region Pooling
SSL décodées
SubsystemType CB
Long Lived FRCA Enclaves
WLM
SI Server Instance Name
Single Period Vel% Goal
CN bboasr1 CBFAST
Service Class
IWEB
Réunion GuideShare
MVS:du
30/03/2006 – SysplexUI
Workload
db001t Management
CBSLOW – auteur : Pierre Vandemaële -
Slide : 18
WLM Websphere / CICS / DB2
Appenv
SubsystemType IWEB
Server Instance
Server Instance
SubsystemType CB
HTTP Server
Work Queue
HTTP Server
Unique ESCP
Goal
trxwebex
Enclaves
Enclaves
Enclaves
Enclaves
trxwebuy
Work Queue
Unique ESCP
Goal
ssnmDBM1
WLM Started
Business App
Business
App
Server
Region
Server Region
J2EE
EJBApp
Business
J2EE EJB
Server
Region
Business
App
Server Region
J2EE EJB
J2EE EJB
TCB
TCB
stcdb2
TCB
Enclaves
trxwebuy
TCB Clients
Enclaves
trxwebuy
SubsystemType JES2
ssnmDBM2
batprd
TCB Clients
WLM Ad Space
trxtedb2
batprd
SubsystemType CICS
CICS TOR
CICS TOR
CICS AOR
CICS AOR
CICS AOR
CICS AOR
CICS AOR
CICS AOR
SRB I/O
Asynchrone
SRB
I/O
Asynchrone
stcdb2
trxtedef
trxtedb2
trxtedb2
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 19
WLM Scope des LPI/SPI
DISTRIBUTION
TRXCUDEF
12 0
10 0
80
60
40
20
0
LPI = 1
TRXCUDEF
Transaction Count
LPI = 1,4
LPI = 2
WLM
DISTRIBUTION
10 0
80
60
40
20
0
BATWLM
TRXCUDEF
IWMWSYSQ
Transaction Count
SPI = 1,1
IWMWSYSQ
WLM_xcf_group
JES2 Ceckpoint
ry
th
m
s
WLM
s te
m
sA
l go
BATWLM
Wlm Managed Initiators
W
lm
Xsy
LPI = 1,8
WLM
IWMWSYSQ
BATWLM
LPI = 0,7
SPI = 1,5
BATWLM
Imp 1
spi 1,1
lpi 1,4
.
Imp 2
spi 1,5
lpi 2
lpi 1,8
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 20
WLM Managed Initiators
SYSPLEX
SUBSYSCollection
SCHENV
TRXCLASS
ACCOUNT
USERID
TRXNAME
Perform
Priority
WLM
Imp 1
spi 1,1
lpi 1,4
.
Imp 2
spi 1,5
lpi 2
lpi 1,8
IWMWSYSQ
LPI = 0,7
WLM
IWMWSYSQ
BATWLM2
JOBCLASS(W) MODE=WLM,XEQCOUNT=15
WLM_xcf_group
JES2 Ceckpoint
LPI = 2
BATWLM1
WLM
SPI = 1,1
BATWLM2
SPI = 1,5
IWMWSYSQ
Queue Delays
Distribution
Displaceable Capacity
ESCP Pi Modeling
Wlm Managed Initiators
Démarrage X initiators
WLM
LPI = 1,8
MSTR Subsystem
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 21
WLM Scheduling Environnements
WLM
Resource Prime ON
Resource Balance ON
Resource Utility OFF
Resource Test OFF
Resource Maintenance OFF
SYSPLEX
SUBSYSCollection
SCHENV
TRXCLASS
ACCOUNT
USERID
TRXNAME
Perform
Priority
SCHENV PROD3
WLM
Resource Prime ON
Resource Balance ON
Resource Utility OFF
Resource Test OFF
Resource Maintenance OFF
BATWLM2
Resource Prime ON
Resource Balance ON
Resource Utility ON
Resource Test OFF
Resource Maintenance OFF
F WLM,Resource = Utility,ON
JOBCLASS(W) MODE=WLM,XEQCOUNT=15
WLM_xcf_group
JES2 Ceckpoint
WLM
IWMSEDES
Resource Prime ON
Resource Balance ON
Resource Utility OFF
Resource Test OFF
Resource Maintenance ON
Resource Affinity Delay
Resource Prime ON
Resource Balance ON
Resource Utility OFF
Resource Test OFF
Resource Maintenance OF
IWMSEVAL
IWMSEQRY
F WLM,Resource = Maintenance,ON
IWMSESET
SMF 90 Subtype 32 (Initial resource State at Activation)
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 22
WLM Queue Servers
IWMCONN Queue_Manager = Yes
Non Swappable Ad Space for Dependent
Enclaves
IWMCONN Server_Manager = Yes,
ApplEnv = xxx , Server_Type =Queue
Appenv
IWMECQRY
IWMECREA
IWMSSEL
IWMSSEM
IWMWSYSQ
Work Queue
Unique ESCP
Goal1
IWMQINS
Query System Infos
IWMSTBGN
Displaceable Capacity
Encl Token
Work Queue
IWMQDEL
Unique ESCP
Goal2
IWMSTEND
IWMEDELE
IWMDISC
Queuing Manager Ad Space
IWMDISC
WLM Ad Space
Imp 1
spi 0,7
lpia 1
.
Imp 2
spi 1
lpia 0,5
lpib 1,5
Server Ad Spaces
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 23
WLM Enclaves Server - Principes
IWMECREA
SMF 30 Owner Ad space
SMF 72 Encl SC/PER
SCPE switch
Type = Independent
SMF 72 Owner SC/PER
ScPer Encl Goal
Owner may have SCPE switch
Type = Dependent
Type = Monenv
IWMMRELA
ScPer Home Goal
TCB
ENCASSOC
ScPer Encl Goal
IWMMINIT
SMF 97 Foreign Enclaves Accounting
SRB
SMF 30 Original Enclaves Accounting ( Total )
IWMCONN Exptimpt = Yes
IWMCONN Exptimpt = Yes
IWMIMPT
IWEB
IWMESQRY
IWMEXPT
IWMUEXPT
SAP
CB
WLM_xcf_group
SYSZWLM_workunit
IWMEQTME
IWMEDELE
IWMEJOIN
LSFM
MQ
DDF
IWMELEAV
NETV
IWMUIMPT
Réunion
MVS(RQ)
du 30/03/2006
– Sysplex
Workload Management – auteur : Pierre Vandemaële SDSF
Reset : GuideShare
Resume (R) , Quiesce
, Overtype Service
Class
Slide : 24
WLM Transactons Servers - Implémentation
Maxtask = ?
CICSMIN (Service Class par défaut)
TNG TNSYS TRXSYS
SIG CIAO1
TRXCUDEF
TNG TNDB2 TRXCUDB2
PBs sampling
SIG CIAO2
TRXWEDEF
TNG TNWEBEX TRXWEBEX
TNG TNEBUY TRXWEBUY
CP/SM Goal Mode = Yes
SIG CIAO3 STORAGE Critical=Yes TRXTEDEF
TNG TNTEDB2
TRXTEDB2
CICS AOR
CICS AOR
Cpu Critical = Yes
CICS AOR
CICS AOR
CICS AOR
CICS AOR
trxtedef
trxtedb2
CICS TOR
CICS TOR
TRXCUDEF
TRXCUDB2
Vtam IP Wlm
CICS AOR
CICS AOR
CICS AOR
TRXCUDEF TRXCUDB2 TRXWEDEF TRXWEBUY
Logons APP Generic
TS Sharing
ISTGENERIC
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 25
WLM DB2 I/O Priorities
ssnmMSTR
VTAM , TCP/IP
ssnmDBMx
ScPer DDF AdSpace
ssnmDIST
Enclave encl002
TCB
ScPer DBMx
SRB
SYNC READ I/O
SRB
PREFETCH READ I/O
WQE
WQE
UCB
IOQ
IOQ
IOQ
ScPer Encl Goal2
Local Adspace
TCB
TCB
TCB
SYNCHRONOUS WRITE I/O
SRB
SRB
SYNCHRONOUS WRITE I/O
WQE
WQE
UCB
IOQ
IOQ
IOQ
ScPer Goal1
SRB Global
DEFERRED WRITE I/O
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 26
WLM IO Device Clustering
Sysplex I/O Priority BROADCASTING
IOPDT
Device Cluster Control Block
ESCP
IOQ
IOQ
IOQ
WQE
WQE
UCB
DISC
IOQ
IOQ
IOQ
WQE
WQE
UCB
Wait to Using Ratio
I/O Delay Plot
New W2UR
ESCP
IOQ
IOQ
IOQ
Current W2UR
WQE
WQE
UCB
Maw Demand above
SPTE Sysplex I/O Priority
FF
FE
SYSTEM
SYSSTC
FD
New PI
Policy
Adjustment
Range
=
F
Old PI
New I/O Delay
New Wait to Using ratio
F9
F8
New I/O Delay Samples
Discretionnary
=
*
Current I/O Delay Samples
Current Wait to Using ratio
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 27
IWMECREA
WLM Transactions Servers (WLM Services)
SIG
TNG
IWMRPT
DB2
IWMCLSFY
TNx
IWMMNTFY
IWMCLSFY
Attach,Thread
CICS TOR
CICSAOR
mro
Enclaves
Server
CICSAOR
Threads
Threads
mro
TNy
TNy
DBCTL
attach
TNx
TNx
TNx
IWMDISC
TNy
IWMMSWCH
IWMMXFER
IWMMDELE
IWMMCHST
IWMRELA
IWMCONN
Work_Manager = yes,
TOKEN
TOKEN
TOKEN
TOKEN
TOKEN
PBs
PBs
PBs
PBs
PBs
Topology = xxxxxx
IWMMCREA
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 28
WLM Transactions Servers (Dynamic Internal Service Classes)
Server region Managed or not
ESCserver
TRX/sec
ESCP
trx/sec
ESCserver
ESCserver
ESCserver
Goal 80% < 2 sec Imp 2
trx/sec
Goal 90% < 0.8 sec Imp 1
ESCP
ESCP
trx/sec
DISC 2
velocity
ESCserver
Goal 90% < 3 sec Imp 2
DISC 1
velocity
velocity
DISC 3
velocity
velocity
cpu
io
storages
PBs
PBs
PBs
Approportionned Weighted Delay
ESCP Resp Time
Server History Blocks
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 29
CICS : étude d’une particularité en Sysplex
250000 transactions
TOR
SPI = 2
LPI = 1,7
SPI = 2,3
SPI = 2
TOR
AOR
AOR
AOR
LPI = 1,3
AOR
AOR
AOR
100000 transactions
LPI ?
0 transactions
LPI = 1,1
Donnée validée en 2006 par les Laboratoires d’ IBM
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 30
CICS étude d’une particularité en Sysplex : légende
LEGENDE
Donneurs primaires
Donneurs secondaires
Donneurs en échec
Receveurs primaires
Receveurs secondaires
Receveurs en échec
Objectif Donneur
Objectif Receveur
Donneur et Receveur à la fois
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 31
CICS étude d’une particularité en Sysplex : action de WLM
TRSPE
TRLENT
TRPROD
$SRMS031
$SRMS035
$SRMS039
TRWEB
LEGENDE
Donneurs primaires
Donneurs secondaires
Donneurs en échec
Receveurs primaires
Receveurs secondaires
Receveurs en échec
Objectif Donneur
Objectif Receveur
Donneur et Receveur à la fois
TRWEB est à la
fois receveur et
donneur de
ressources
Actions non
rentables
sur TRWEB
APPLICATION
TRLENT et
TRPROD
fréquemment
donneurs de
ressources
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 32
CICS étude d’une particularité en Sysplex : SPIs et LPIs
2
1,9
1,8
1,7
1,6
1,5
Suivi des Performance Index pour les service class sur PROD et au niveau Sysplex pour
le 03/01/2006
Local
Performance
Index figé
pour TRWEB
sur
PROD(valeur
1,1)
Sysplex
Performance
Index pour
TRWEB
Local Performance
Index sur TOR pour
TRWEB
1,4
1,3
1,2
1,1
1
0,9
0,8
0,7
0,6
0,5
0,4
0,3
0,2
0,1
09
:3
0
09 :04
:3
0
09 :25
:3
0
09 :45
:3
1
09 :06
:3
1
09 :26
:3
1
09 :47
:3
2
09 :07
:3
2
09 :27
:3
2
09 :48
:3
3
09 :08
:3
3
09 :29
:3
3
09 :49
:3
4
09 :10
:3
4
09 :30
:3
4
09 :51
:3
5
09 :11
:3
5
09 :32
:3
5
09 :52
:3
6
09 :13
:3
6
09 :33
:3
6
09 :54
:3
7
09 :14
:3
7
09 :35
:3
7
09 :55
:3
8
09 :16
:3
8
09 :36
:3
8
09 :57
:3
9
09 :17
:3
9
09 :38
:3
9:
58
0
TRNORM
$SRMS039/TRWEB local PROD
TRWEB Local RES2
TRWEB
TRPROD/$SRMS040/37/38
TRWEB Local RES1
TRPROD
TRNORM/£SRMS033
STCMON
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 33
TRWEB($SRMS039) est
donneur de ressource un
TRPROD ( 3 Internal
bref instant sinon
Service Class) aCICS
une : étude d’une particularité
possède des dispatching
Dispatching priority égale
priority élevées
voire inférieure aux
Batchs
en Sysplex
TRLENT (CPU
critical=yes) a une
dispatching priority stable
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 34
WLM Network Session Load Balancing
TN3270E
Dynamic VIPA
IWMCONN Router = yes
DNS/WLM
IWMSRSRG
Sysplex Distributor
Generic Resource Encapsulation OSA
IWMSRDNS
LDAP
IWMSRFSV
Champs TOS IP
Unique Dynamic
VIPA Address
WLM_xcf_group
JES2 Ceckpoint
ISTGENERIC
Inbound IP Table
Policy Agent Differentiated Service
Guaranted Service
Application Level (HTTP,FTP)
Sysplex Distributor
DNS/WLM
IP Address
Consultation des SLA
Consultation des Stacks IP destinataires
Imp 1
spi 1,1
Compound Weight =WLM Weight - Qos Fraction Weight
lpi 1,4
Client
.
Imp 2
spi 1,5
lpi 2
lpi 1,8 Workload Management – auteur : Pierre Vandemaële Réunion GuideShare MVS du 30/03/2006 – Sysplex
Slide : 35
WLM et IBM Network Dispatcher
FTP Server
HTTP Server
FTP Server
SSL Server
SSL Server
HTTP Server
WLM
WLM
WLM
Sysplex Routing Services Weights ( 1 à 64 )
IP Spraying
WLM Advisor
Imp 1
spi 1,1
lpi 1,4
.
Imp 2
spi 1,5
lpi 2
lpi 1,8
Config Tables
Connexion Tables
HTTP Advisor
FTP Advisor
2210,2216 ou 3746
Network Dispatcher
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 36
WLM et CISCO MNLB Load Balancing
CISCO Appliance Services Architecture
WLM Agent Config File
WLMPOLL à 60 sec
WLMINCR (treshold updt)
CISCO Workload Agent
CISCO IOS
Forwarding
Agent
MNLB Backup Service Manager
IP Spraying
WFQ
Algorythm
WLM
Dynamic Feedback Protoccol
WLM_xcf_group
JES2
Ceckpoint
Sysplex Routing Services
Weights
( 1 à 64 )
ISTGENERIC
WLM
Imp 1
spi 1,1
lpi 1,4
.
Imp 2
spi 1,5
lpi 2
lpi 1,8
MNLB Primary Service Manager
UDP Routing
CISCO IOS
Forwarding
Agent
TCP Routing
FTP Routing
CISCO LocalDirector Platform
IP Address
CISCO Workload Agent
Client
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 37
Sysplex Distibutor
Sysplex Distributor 1
Stack IP
Sysplex Distributor 3
Sysplex Distributor 2
Sysplex Distributor 1
Sysplex Distributor 3
Sysplex Distributor 2
WebSphere
WebSphere
WebSphere
WebSphere
TN3270
CTG
CTG
Stack IP
TN3270
autres
autres
CTG
CTG
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 38
MSU WLM/PR/SM Soft Capping
WLM IRD Lpar CPU Management
LPAR Weight Management
Physicals
ESCP Goal
Imp 1
spi 1,1
lpi 1,4
Imp 2
spi 1,5
lpi 2
lpi 1,8
Imp 3
lpi 0,5
lpi 5
LPAR Cluster1
% Avg Weight Lpar Cluster 1
WLM
LPAR VARY CPU Management
Logicals
WLM
LP Efficiency
Policy Adjustment Routine Frequency
Change Frequency = 6 x Policy
LPAR Cluster2
Lpar Data 1
ESCP Infos
WLM
Locals Pis
ESCP Resources
WLM_xcf_group
SYSZWLM_sssstttt
WLM
ESCP Pi Modeling
IEAOPTxx VARYCPU = Yes
WLM
HMC Wlm Managed Box
3 Digits
Initial Weight
Min Weight
Cpu Affinity
IWMCPAFN
Total Cluster Weight Constant
Max Weight
Z/os & zSeries server en Z/Mode & CF Level 9
Réunion GuideShare MVS du 30/03/2006
Sysplex
Workload
Management
– auteur : Pierre Vandemaële Linux for–S/390
or zSeries
Kernel
mini 2.4
Slide : 39
WLM IRD Channel Subsystem Priority Queueing
Channel Subsystem Priority Queueing
MASH Fonction de DFHSM
Backup,Dump,Recall
I/O Cluster 1
Policy Adjustment Routine Frequency
(Service Classes I/O Priorities)
LPAR Cluster 1
Imp 1
spi 1,1
lpi 1,4
.
Imp 2
spi 1,5
lpi 2
lpi 1,8
SAP Processors
LCU Queues
I/O Cluster 2
ESCP
DISC
WQE
WQE
UCW
LPAR Cluster 2
WLM_xcf_group
SYSZWLM_sssstttt
WQE
WQE
UCW
autres LPARs
ESCP CSS I/O Priority
ESCP
WQE
WQE
UCW
FF
FE
FD
FC
Policy
Adjustment
Range Imp 5
ESCP et PI <= 1
ECSP MTW Like
HMC LPAR Priority Range
LPAR 1 Range 0-7
LPAR 2 Range 0-7
LPAR 3 Range 0-7
SYSTEM,SYSSTC
Imp 1 et 2 ESCP
Imp 3 et 4 ESCP
Imp 1
spi 1,1
lpi 1,4
.
Imp 2
spi 1,5
lpi 2
lpi 1,8
F9
F8
Discretionnary
LPAR A Range 8-15
Réunion GuideShare LPAR
MVS du
30/03/2006
B Range
8-15 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 40
WLM IRD LPAR Dynamic Channel Path Management
ESCP Delayed by I/O
ESCP Goal Oriented independant Frequency
HMC Channel Managed Yes
Goal Mode
Escon & Ficon Bridge
Balance Mode
LPAR Data Entry
WLM
I/O = LPAR Cluster
UCW
CMB
Escon Director
Set Target I/O Velocity
Imbalance Correction
LCU ID1
I/O Velocity
Balance Checking
Interval Data1
IOS
WLM_xcf_group
SYSZWLM_sssstttt
Decision Selection Block
LCU Subsystem I/O Velocity Plot
Chpid & CU
Performance Impact
I/O Velocity
SYSIOSxx XCF Group
Complexity Index
Availability Index
Connect Time
I/O Velocity
=
Contention Factor
x
Connect Time
+
100 %
Pending - (Cubusy + Devbusy)
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 41
Paramètres associés à WLM en z/OS
IEAOPTxx
IFACROSSOVER = Yes
Zaaps et Standard CP autorisés pour les Appli Java
IFACROSSOVER = No
Zaaps seulement
IFAHONORPRIORITY = Yes
Gestion des Dps par objectifs pour Java aussi sur les CP
IFAHONORPRIORITY = No
Appli Java toujours avec Dps inférieures aux autres
sur les standard CP
CCCAWMT = ….
Recommandé si IFAHOMORPRIORITY = yes
Processeurs Zaaps non gérés par IRD
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 42
Paramètres associés à WLM en z/OS
IEAOPTxx
MCCAFCTH
RCCFXET
VARYCPU = YES/NO
MCCFXEPR
RCCFXTT
VARYCPUMIN =
MCCFXTPR
VARYCPUMAX =
RMPTTOM
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 43
WLM non-OS/390 (LINUX) LPAR IRD Dynamic Weight Management
SubsystemType SYSH
SysplexName (PX)
SystemName (SY)
Single Period Vel Goal Service Class
NO Resource Group , NO CPU Critical
NO IFL (Integrated Facility For Linux)
Z/os 1.2
+
Ptfs (12/2001)
Linux for S/390 or zSeries Kernel mini 2.4
General Purpose Processors
HMC Options Tab Activation Profile
Linux System Name set
CP Management Cluster Name (Group Linux LPARs with a Sysplex)
Insmod hwc-cpi-o system_name = sysname
Réunion GuideShare MVS du 30/03/2006 – Sysplex Workload Management – auteur : Pierre Vandemaële -
Slide : 44