WebSphere Application Server for z/OS Version 8.0 Overview & Demo (for BPM:Process Server V8 Workshop ZBPM8) The WebSphere Application Server on z/OS CR SR AppServer CR Node Agent CR Daemon CR SR DMGR MVS System Image JCL MVS WAS Admin WebSphere on z/OS is basically a set of MVS address spaces (Started Tasks) ● Two Configuration Options: ● Base (stand-alone) AppServer ● Network Deployment (ND) Controller Regions are started manually, with an MVS start command, or using the Integrated Solutions Console (ISC) Controller Region Control Region Adjunct (CRA) JVM MEs MEs WLM JCL WLM starts servants based on workload seen Parameters provide control over this: Minimum number of regions Maximum number of regions Each Server has several Started tasks: –Controller Region (CR) - protocol entry point: HTTP, HTTPS, IIOP or JMS –Servant Regions (SR) - this is where the application components run (One or more) –Control Region Adjunct (CRA) - if SI Buses with Messaging Engines are defined. Servers can be replicated for workload balancing and high availability WLM starts CRA if MEs defined Servant Regions JVM Appl Appl Servant Regions JVM Appl Appl
12
Embed
WebSphere Application Server for z/OS Version 8 · WebSphere Application Server for z/OS Version 8.0 Overview & Demo (for BPM:Process Server V8 Workshop ZBPM8) The WebSphere Application
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
WebSphere Application Server for z/OSVersion 8.0
Overview & Demo
(for BPM:Process Server V8 Workshop ZBPM8)
The WebSphere Application Server on z/OS
CR SR
AppServer
CR
NodeAgent
CR
Daemon
CR SR
DMGR
MVS System Image
JCL
MVSWAS
Admin
WebSphere on z/OS is basically a set of MVS address spaces (Started Tasks)●Two Configuration Options:
●Base (stand-alone) AppServer●Network Deployment (ND) Controller Regions are started manually,
with an MVS start command, or using theIntegrated Solutions Console (ISC)
ControllerRegion
Control RegionAdjunct (CRA)
JVM
MEs MEs
WLMJCL
WLM starts servantsbased on workload seen
Parameters provide control overthis:
Minimum number of regions
Maximum number of regions
Each Server has several Started tasks:–Controller Region (CR) - protocol entry point: HTTP, HTTPS, IIOP or JMS
–Servant Regions (SR) - this is where the application components run (One or more)
–Control Region Adjunct (CRA) - if SI Buses with Messaging Engines are defined.
Servers can be replicated for workload balancing and high availability
WLM starts CRAif MEs defined
ServantRegions
JVM
Appl Appl
ServantRegions
JVM
Appl Appl
You'll Need to Do Some Planning
There's no avoiding it ... these things require a lot of names, values, portsand such.
Deployment Manager Definitions
WebSphere Application Server home directory:
/wasv8config/b8cell/b8nodea/AppServer
Cell name (short)......: B8CELL
Cell name (long).......: b8cell
Node name (short)......: B8NODEA
Node name (long).......: b8nodea
Server name (short)....: B8SR01A
Server name (long).....: b8sr01a
Cluster transition name: B8SR01
All components have two names
Defined using the ISPF dialogs
Long Namedescriptive name
used as directory names
used in Admin Console
Short Nameused as jobname for controllers
used in symbolic links
limited to 7 characters
Naming Scheme: cc|type|n|s
cc = Cell ID
type= sr01 (server #01)
demn (daemon)
dmgr (Deployment mgr)
agnt (Node Agent)
n = System ID (SYSA)
s = Servant or Adjunct
HFS Config root: OMVS.B8CELL.B8NODEA.CONFIG.HFSmounted at /wasv8config/b8cell/b8nodea
Start Command to Start WebSphere Application Server:
s b8acra,jobname=b8sr01a,
env=b8cell.b8nodea.b8sr01a
Reviewing HFS Directories, Roots & Homes
All directory names are user-defined...here are examples of our servers:
Monitoring WAS Address Spaces (Started Tasks):Use the DA (display active) command to get a good view of your server address spaces.●Use SDSF commands to 'set display on/off' and 'set action on/off'●Use the 'PREfix' or Filters to limit the rows (Jobnames) displayed.●Use the 'ARRange' command or pull-down to put interesting columns on the first panel.●Sort on JobName (instead of JobID or CPU%) to keep the rows from jumping around.
Working in the HFS on z/OS
Telnet ClientsPutty
TeraTerm Pro
ISPFOMVS or =o.4
IShell or =o.3
z/OS UNIX Directory List Utility =3.17
FTP client - WS-FTP
Editing files (in EBCDIC):vi or vim (in telnet sessions)
********************************************************* Bottom of data ******************
Line Commands:E - Edit a file EA - Edit an ASCII fileV - View a file VA - View an ASCII fileB - Browse a file CO - Copy data outN - Create new entry CI - Copy data inL - List a directory I - Display attributesD - Delete an entry R - Rename an entryMM - Modify mode fields MX - Modify extended attributesMO - Modify owner MG - Modify groupMF - Modify format X - Execute a z/OS UNIX or TSO comUA - User auditing AA - Auditor auditingFS Display file system RA - Refadd to Reflist
10/01/12 WAS V8 for z/OS Introduction, Copyright IBM Corp, 2012 13
UNIX Commands you should know . . .
man - Display online reference manualmkdir - Make a directorymore - Display files on a page-by-page basismount - Logically mount a file systemmv - Rename or move a file or directorynohup - Start a process that is immune to hang upspax - Interchange portable archivesps - Return the status of a processpwd - Return the working directory namer - Process a command history listrm - Remove a file or directory entryset - Set or unset command options and positional paramssh - Invoke a shellsu - Change the user ID associated with a sessiontail - Display the last part of a filetouch - Change the file access and modification timesunmount - Remove a file system from the file hierarchyvi - Use the display-oriented interactive text editorwhence - Tell how the shell interprets a command name
who - Display information about current userswhoami - Display your effective user namezfsadm - manage zFS file systems and aggregates
cat - Concatenate or display text filescd - Change the working directorychgrp - Change the group owner of a file or directorychmod - Change the mode of a file or directorychmount - Change the mount attributes of a file systemchown - Change the owner or group of a file or directorycp - Copy a filedate - Display the date and timedf - Display the amount of free space in the file systemdiff - Compare two text files and show the differences. (dot) - Run a shell file in the current environmentecho - Write arguments to standard outputexit - Return to the shell’s parent process or to TSO/Eexport - Set a variable for exportextattr - Set, reset & display extended attributes for filesfind - Find a file meeting specified criteriagrep - Search a file for a specified patternhead - Display the first part of a filehistory - Display a command history listiconv - Convert characters from one code set to anotherid - Return the user identitykill - End a process or job, or send it a signallink - Create a hard link to a fileln - Create a link to a filels - List file and directory names and attributes
Other tools:telnet clients: TeraTerm, putty (watch out for backspace key!)
FTP
DB2 utility - ADBL, SPUFI
Arrange your teams so you have a good mix of skills!
Take advantage of these labs to learn more of these!
Installs with WebSphere & Invoked from a browser, which controls:
Configuration
Application deployment
Operation of servers
Integrated Solutions Console (ISC)
StandardBrowserhttp://wg31:2618/ibm/console
http(s)://<host>:<port>/ibm/console
Note: ISC Security Errors with self-signed certificates•These can be safely ignored in these labs.•(In the real world, this error should be taken seriously)
10/01/12 WAS V8 for z/OS Introduction, Copyright IBM Corp, 2012 16
Check option to
“Synchronize
changes with
Nodes”
ISC – Console Preferences
Resources defined at various Scopes
10/01/12 WAS V8 for z/OS Introduction, Copyright IBM Corp, 2012 18
System Information for the Labs
10/01/12 WAS V8 for z/OS Introduction, Copyright IBM Corp, 2012 19
The Lab Environment for this WorkshopJust so you have an understanding of what’s “real” behind the labs
LPAR LPAR LPAR
z/VM Version 5 Release 3.040 guest images, not all running
LPAR: 16 CPs & 104 GB Storage
Team 01Guest
z/OS 1.12
4.0GBstorage
Team 02Guest
z/OS 1.12
4.0GBstorage
Team nnGuest
z/OS 1.12
4.0GBstorage
wg31.washington.ibm.comHOSTS = xxx.xxx.xxx.201
Team 01
wg3n.washington.ibm.comHOSTS = xxx.xxx.xxx.2nn
Team nn
Key Points:
• Each team has their ownz/OS image
• You all use “wg31” as yourIP host, but it resolves to thespecific guest machine bythe workstation “hosts” file.
• We can re-clone your guestmachine … be careful but ifyou break something we canfix it
• Lots of virtualization goingon … good environment, butwe may see slowdowns.Please understand we’re in atest environment here
IBM 196(Currently 25 LPARs)
Your Lab Environment
VM
Host: wg31.washington.ibm.com
IP: 192.168.17.201
User: USER1
UID0: SYSADM1
Host: wg36.washington.ibm.com
IP: 192.168.17.206
User: USER1
UID0: SYSADM1
TEAM 1 TEAM 6
"Hosts" file
Team 1: 192.168.17.201 wg31.washington.ibm.com wg31
Team 2: 192.168.17.202 wg32.washington.ibm.com wg32
.. .. ..
Team 6: 192.168.17.206 wg36.washington.ibm.com wg36Firewall
NAT translation
http://wg31:7505/ibm/console Each team has its own MVS system
You have considerable authority (UID=0, RACF Special)
--- be careful!
z/OS systems' host name = wg3n.washington.ibm.com orwg3n... which is resolved to their IP address through a"hosts" file in