15-WebSphere-Application-Server
15-WebSphere-Application-Server
Node
– Logical term to describe a single machine that runs one or more servers
Cell
– Logical term that covers the complete WebSphere configuration
Daemon
– Separate process required on z/OS
– Small component, needs little attention
test.cgi
URL 2
httpd.conf CGI
application
Response
Client
Browser 3
test2.cgi
CGI
application
HTTP Server
http://www.myzseries.com/my.jsp
URL
httpd.conf
CICS Server
Response
or
Client
Browser was.conf
IMS Server
WAS
plugin
Servlet
WebSphere plug-in, same
address space
URL
httpd.conf
CICS Server
Response EJB or
Client Container
Browser was.conf
IMS Server
WAS
plugin
EJB
Servlet
EJB
CICS Server
Response
or
Client
Browser was.conf
Web IMS Server
Container
WAS
Servlet
plugin
JSPs
START XSDCR,JOBNAME=XSDMGR,ENV=XSCELL.XSDMNODE.XSDMGR
START XSACR1,JOBNAME=XSAGNT1,ENV=XSCELL.XSNODE1.XSAGNT1
url:9505/ibm/console
START XBMGCR,JOBNAME=XBDMGR,ENV=XBCELL.XBDMNODE.XBDMGR
START XBACR1,JOBNAME=XBAGNT1,ENV=XBCELL.XBNODE1.XBAGNT1
url:8518/ibm/console
START XSACR1,JOBNAME=XSAGNT1,ENV=XSCELL.XSNODE1.XSAGNT1
z/OS
Distributed
• Code base
Since V6.0, code base for WebSphere on z/OS same as used on distributed
Which is since Mar 2005
Includes
Portal
Process Server
etc
Has extra code to take advantage of z/OS
• WebSphere on z/OS
Uses same maintenance nomenclature
z/OS
Distributed
z/OS Distributed
WASX7209I: Connected to process "dmgr" on node Dmgr01 using SOAP connector; The type of process is:
DeploymentManager
WASX7031I: For help, enter: "print Help.help()"
Distributed
wsadmin>ts = AdminControl.completeObjectName('type=TraceService,process=server-1,*')
wsadmin>AdminControl.setAttribute(ts, 'traceSpecification', 'com.ibm.*=all=enabled')'
• Working on z/OS
• Information about running WAS processes
• Logs
• Threads in the JVM
• Installation
• Configuration
Unix
top
Q: Which java process is the DMGR and which is the node agent?
• On distributed
SystemOut.log
SystemErr.log
native_stderr.log
Verbose Garbage collection
• On z/OS
What is normally written to these files is written to z/OS spool
SystemErr.log
native_stderr.log
SystemOut.log
• On Distributed
Can set number of threads to any value
• On z/OS
Number of threads determined by workload profile selected
• Workload Profile
Set via wsadmin or adminconsole:
Servers >> Application Servers >> server_name >> ORB Service>> Advanced
Settings >> "Workload Profile“
Can be set to:
ISOLATE (1 thread)
NORMAL (3 threads)
CPUBOUND (# of CPs-1, minimum of 3)
IOBOUND (Number of CPs*3, Min=5, Max=30)
LONGWAIT (40)
V7 – provides property to set custom value
• Control region
Runs authorised code
Has access to restricted z/OS functionality
Handles HTTP/S communications
• Servant region
Does not run authorised code
Just application code
Means application code cannot get access to authorised z/OS services
Prevents application code being used to attack the system
• On z/OS
Servant cancels results in automatic restart of new one
If second servant already running, then it take new requests immediately