Professional Documents
Culture Documents
Peopletools Application Server & Bea Tuxedo Internals: David - Kurtz@Go-Faster - Co.Uk Go-Faster Consultancy LTD
Peopletools Application Server & Bea Tuxedo Internals: David - Kurtz@Go-Faster - Co.Uk Go-Faster Consultancy LTD
http://www.go-faster.co.uk
Who am I?
Independent Consultant
Performance Tuning
PeopleSoft / Oracle
23 January 2002
BEA Tuxedo Internals
2
Go-Faster Consultancy Ltd.
Rules of Engagement
Interrupt me:
— if you think I have got something wrong
— if you have a question
— if you can’t hear me
23 January 2002
BEA Tuxedo Internals
3
Go-Faster Consultancy Ltd.
BEA Tuxedo
Historical Overview
Tuxedo Internal Architecture
PeopleSoft 3-tier client implementation
How does PeopleSoft Internet Architecture (PIA) fit in
Configuration issues
Monitoring
23 January 2002
BEA Tuxedo Internals
4
Go-Faster Consultancy Ltd.
Brief Historical Background
In the beginning
— monolithic
Business Data
Presentation Logic Access
(DBMS)
23 January 2002
BEA Tuxedo Internals
5
Go-Faster Consultancy Ltd.
Client Server
Two-tier client-server
SQL Data
Presentation Business Raw Data
Logic Access
(DBMS)
LAN
Client Server
23 January 2002
BEA Tuxedo Internals
6
Go-Faster Consultancy Ltd.
3-Tier Client Server
“1st Generation”
Request Data
GUI Access
+ Response (DBMS)
Application
Logic LAN Business
Logic
Client Server
23 January 2002
BEA Tuxedo Internals
7
Go-Faster Consultancy Ltd.
3-Tier Client Server
Service 1
Service 2
...
TUXEDO Service n
SQL
Messaging
Presentation
Logic DBMS 1
...
DBMS n
Transactions for
UniX
Extended for
Distributed
Operations
23 January 2002
BEA Tuxedo Internals
9
Go-Faster Consultancy Ltd.
What is Tuxedo?
23 January 2002
BEA Tuxedo Internals
10
Go-Faster Consultancy Ltd.
PeopleSoft 2-Tier Client
Panel
Load
Panel
Presentation Save
Logic Field
Change
etc...
23 January 2002
BEA Tuxedo Internals
11
Go-Faster Consultancy Ltd.
PeopleSoft 3-Tier Client
Panel
Load
Tuxedo Server
Tuxedo Client Panel
Presentation Save
Logic Field
Change
etc...
23 January 2002
BEA Tuxedo Internals
12
Go-Faster Consultancy Ltd.
PeopleSoft 2-Tier Client
DATABASE
23 January 2002
BEA Tuxedo Internals
13
Go-Faster Consultancy Ltd.
PeopleSoft 2-Tier Client
DATABASE
23 January 2002
BEA Tuxedo Internals
14
Go-Faster Consultancy Ltd.
PS/Tuxedo Internal Structure
BB PSTUXCFG DATABASE
WSL
BB
DATABASE
WSL
BB
WSL WSH
BB
DATABASE
PSAUTH
AUTHQ
APPQ PSAPPSRV
QCKQ PSQCKSRV
QRYQ PSQRYSRV
APIQ PSAPISRV
SAMQ PSSAMSRV
WSL WSH
BB
DATABASE
PSAUTH
AUTHQ
APPQ PSAPPSRV
QCKQ PSQCKSRV
QRYQ PSQRYSRV
APIQ PSAPISRV
WSHQ
SAMQ PSSAMSRV
WSL WSH
BB
DATABASE
23 January 2002
BEA Tuxedo Internals
21
Go-Faster Consultancy Ltd.
Jolt Internal Structure
PSAUTH
AUTHQ
APPQ PSAPPSRV
QCKQ PSQCKSRV
QRYQ PSQRYSRV
JSHQ
APIQ PSAPISRV
WSL WSH
JREPOSITORY
BB
DATABASE
23 January 2002
BEA Tuxedo Internals
23
Go-Faster Consultancy Ltd.
What is the difference between the web servers?
Apache
— Separate Servlet Engine
— Separate encryption module (Raven)
Weblogic
— Contains an integral servlet container
23 January 2002
BEA Tuxedo Internals
24
Go-Faster Consultancy Ltd.
Progressive Connection Concentration
Typical picture
35,000 users 35000 users
1 database
23 January 2002
BEA Tuxedo Internals
25
Go-Faster Consultancy Ltd.
Configuration
psadmin
psappsrv.val (configuration
dialogue)
tmloadcf
psappsrv.ubb (tuxedo
process)
BBL
PSTUXCFG (domain
startup)
23 January 2002
BEA Tuxedo Internals
26
Go-Faster Consultancy Ltd.
Configuration Files
psappsrv.cfg
— contains configurable parameters
psappsrv.val
— validation file for configurable values
psappsrv.ubx
— configuration template for Tuxedo domain
psappsrv.ubb
— configuration file for Tuxedo domain
PSTUXCFG
— compiled configuration file
— read by BBL at domain startup
23 January 2002
BEA Tuxedo Internals
27
Go-Faster Consultancy Ltd.
psappsrv.ubx -v- psappsrv.ubb
23 January 2002
BEA Tuxedo Internals
28
Go-Faster Consultancy Ltd.
psappsrv.ubb
23 January 2002
BEA Tuxedo Internals
29
Go-Faster Consultancy Ltd.
Application Server Configuration Issue
23 January 2002
BEA Tuxedo Internals
30
Go-Faster Consultancy Ltd.
PeopleTools <=7.58
Quick Service
APPQ PSAPPSRV
QCKQ PSQCKSRV
WSL WSH
BB
DATABASE
PSQCKSRV
PSQCKSRV
PSAPPSRV
PSAPPSRV
PSAPPSRV
23 January 2002
BEA Tuxedo Internals
32
Go-Faster Consultancy Ltd.
Load Balancing
Load Balancing is about choosing the queue upon which to place the
message
— by default all requests have the same load
50 50 50
APPQ PSAPPSRV
50
50 50 50 50 50 50
QCKQ PSQCKSRV
23 January 2002
BEA Tuxedo Internals
33
Go-Faster Consultancy Ltd.
Load Balancing Trace
23 January 2002
BEA Tuxedo Internals
34
Go-Faster Consultancy Ltd.
Load Balancing Trace
23 January 2002
BEA Tuxedo Internals
35
Go-Faster Consultancy Ltd.
Load Balancing
78 386 135
APPQ PSAPPSRV
599
50
6 30 3 63 3 7
QCKQ PSQCKSRV
116
23 January 2002
BEA Tuxedo Internals
36
Go-Faster Consultancy Ltd.
Multiple Queues on Busy System
So, if you want more than 10 PSAPPSRV processes you should use two
APPQ queues
In, which case you should to enable load balancing and you must calculate
the load.
— Less significant with PIA because services different.
23 January 2002
BEA Tuxedo Internals
37
Go-Faster Consultancy Ltd.
Multiple Queues on Busy System
APPQ1 PSAPPSRV
APPQ2 PSAPPSRV
WSL WSH
BB
DATABASE
tmadmin->bbs
— will report maximum number of services
– count of all services advertised on each server process
23 January 2002
BEA Tuxedo Internals
39
Go-Faster Consultancy Ltd.
Service Priority
80 50 50 50 50 50
QCKQ PSQCKSRV
23 January 2002
BEA Tuxedo Internals
40
Go-Faster Consultancy Ltd.
Service Priority
23 January 2002
BEA Tuxedo Internals
41
Go-Faster Consultancy Ltd.
Tuning Tip
Financials
— On-line journal edit & post - remote call
— Service initiates a Cobol process
— Process can take minutes
— RemoteCall services can block APPQ
— Move RemoteCall service to a separate queue
23 January 2002
BEA Tuxedo Internals
42
Go-Faster Consultancy Ltd.
Multi-Node Domain
DBBL
BBL
BRIDGE TLISTEN
DATABASE
BRIDGE TLISTEN
BBL
23 January 2002
BEA Tuxedo Internals
43
Go-Faster Consultancy Ltd.
Multi-Node Domain
TLISTEN process
— Listens for incoming requests
BRIDGE
— Sends & Receives messages between nodes
— in a load balancing environment
– configurable bridge load add to remote queues
– limiting number of messages sent across the bridge
23 January 2002
BEA Tuxedo Internals
44
Go-Faster Consultancy Ltd.
Multi-Node Domain
At UBS
— PT 7.5x
— susceptible to network errors
23 January 2002
BEA Tuxedo Internals
45
Go-Faster Consultancy Ltd.
So what is going on?
tmadmin
— Tuxedo command line interface
— also available within psadmin
23 January 2002
BEA Tuxedo Internals
46
Go-Faster Consultancy Ltd.
tmadmin commands
pq - printqueues
— amount of work queued and waiting
— not always accurate
23 January 2002
BEA Tuxedo Internals
47
Go-Faster Consultancy Ltd.
tmadmin commands
psr - printservers
— reports activity of individual server processes
23 January 2002
BEA Tuxedo Internals
48
Go-Faster Consultancy Ltd.
tmadmin commands
psc - printservices
— each service on each server
23 January 2002
BEA Tuxedo Internals
49
Go-Faster Consultancy Ltd.
tmadmin commands
23 January 2002
BEA Tuxedo Internals
50
Go-Faster Consultancy Ltd.
Java Administrative Applet
23 January 2002
BEA Tuxedo Internals
51
Go-Faster Consultancy Ltd.
Conclusion
BEA Documentation
— is on your CD
— http://e-docs.bea.com
23 January 2002
BEA Tuxedo Internals
52
Go-Faster Consultancy Ltd.
More Information about PT8 Application Server
23 January 2002
BEA Tuxedo Internals
53
Go-Faster Consultancy Ltd.
Final Caveat
PeopleSoft will not support any of the changes that I have described in this
presentation
23 January 2002
BEA Tuxedo Internals
54
Go-Faster Consultancy Ltd.
Questions?
23 January 2002
BEA Tuxedo Internals
55
Go-Faster Consultancy Ltd.
PeopleTools Application Server &
BEA Tuxedo Internals
david.kurtz@go-faster.co.uk
Go-Faster Consultancy Ltd.
http://www.go-faster.co.uk