Design Concepts

z/TPF EE V1.1
z/TPFDF V1.1
TPF Toolkit for WebSphere® Studio V3
TPF Operations Server V1.2
IBM Software Group
TPF Users Group Fall 2006
Design Concepts
Name : Michael Shershin
Venue : Main Tent
AIM Enterprise Platform Software
IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
© IBM Corporation 2006
Any references to future plans are for planning purposes only. IBM reserves the right to change those plans at its discretion. Any reliance on such a
disclosure is solely at your own risk. IBM makes no commitment to provide additional information in the future.
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 1
IBM Software Group
IBM Presentations
Main Tent
FTP Client
Design Directions (this one)
Communications Subcommittee
TPF Communications and Security Enhancements
Database Subcommittee
File System security updates
TPFDF update
Distributed Systems Subcommittee
Implementing WS-Security on TPF
Development Tools Subcommittee
Introducing the 'debug console'
Open Source and Languages Subcommittee
MySQL
by Jason Keenaghan
by Michael Shershin
by Jamie Farmer
by Steve Record
by Kevin Jones
by Bill Cousins
by Josh Wisniewski
by Dan Gritter
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 2
IBM Software Group
IBM Presentations continued
Operations and Coverage Subcommittee
FICON Measurements
TPF Operations Server updates
SCP Subcommittee
DASD update
Subsecond Event timeout
MQ task force
MQ updates
Performance task force
OMEGAMON prototype
Hot Topics
z/TPF Compiler Rollout
TPF Lab Development Envornment
Education on Wednesday
Linux Education Session
IBM Greater Technology Outlook (GTO)
by Michael Shershin
by Don Kallberg
by Chris Filachek
by Michael Shershin
by John Tarby
by Don Kallberg
by Pete Lemieszewski
by Brian Laferriere
by Pete Lemieszewski
by Giuseppe Paleologo
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 3
IBM Software Group
Agenda
Tape Encryption
Protect Data in Use
Time Slice Changes
z/TPF Tools Consideration
CPU Check Load
Recoup Deferred Lost
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 4
IBM Software Group
Tape Encryption- Design Direction
Tape control unit TS1120 and tape drive TS1120 E05-EE support writing
encrypted data to tape
Data is encrypted in control unit
IBM Java Encryption Key Manager component must run on another
operating system such as: z/OS; Linux; AIX; other UNIX; or Windows.
Communication to control unit using TCP/IP
Key negotiated when writing to tape
Control unit obtains key when reading tape
TPF design direction
Ability to specify that a tape must be written as encrypted
Tape label attribute - ZTLBL
Tape mount - ZTMNT
Ability to enable a tape drive for automatic tape mounting using
encryption - ZTDEV ENABLE
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 5
IBM Software Group
Protect Data in Use - Design Direction
When an ECB is using sensitive data, it is in the clear in memory
Data can show in dumps
Data can be displayed using ZDCOR
Data can be displayed through debugging tools
Requirement
Specify that an area of memory will not show actual data in a dump
or in a ZDCOR display
Format secure data as a series of ********
Areas of memory include:
ECB Heap
ECB private area
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 6
IBM Software Group
Protect Data in Use - Design Direction
API to mark area of memory as not displayable
Give starting address and length
Address must be in
ECB Heap
ECB Private area
No other core addresses will be supported
Address must be in use otherwise SERRC E
If free is done and the address is marked, the marked area will be zeroed.
If RELCC is done on marked core block, the marked area will be zeroed.
API to unmark area of memory so that it can be displayed
Give starting address and length
Range does not need to match previously marked area
Will not zero memory
All areas of ECB memory are considered displayable when allocated
API to query areas of memory that are marked as not displayable
Intend for other ECBs (ZDCOR) to know what to not display
Dump processing to use to know what to not format
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 7
IBM Software Group
Time Slice Changes - Design Direction
Requirement: allow time slicing to be enabled for the life of the ECB
Eliminate restriction where time slicing cannot be enabled across TPF system
services
Enter
SVC
TPFDF call
Provide ability to specify whether an ECB can be sliced in a program
New column in control file
PAT option
Sample command to be provided which will add the new column to
existing control files
Default setting by command will be to allow time slice in the program
Recommend programs be defined as not sliceable if they do LOCKC
Programs should not give up control if they are holding a LOCKC lock
Allow nesting of time slice calls
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 8
IBM Software Group
Time Slice Changes - Example #1
Program A
TMSLC ENABLE
ENTRC Program B
Program B
(a) Program B defined as not sliceable
BACKC
(b) Interrupt taken to slice the ECB in
Program B
(c) ECB is NOT time sliced
TMSLC DISABLE
EXITC
(d) Give up control on return to
Program A
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 9
IBM Software Group
Time Slice Changes - Example #2
Program A
TMSLC ENABLE
ENTRC Program B
Program B
(a) Program B defined as sliceable
(b) Interrupt taken to slice the ECB in
Program B
BACKC
(c) ECB gives up control
TMSLC DISABLE
EXITC
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 10
IBM Software Group
Time Slice Changes - Example #3
Program A
TMSLC ENABLE
ENTRC Program B
Program B
TMSLC ENABLE
Nesting to be supported
TMSLC DISABLE
BACKC
TMSLC DISABLE
EXITC
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 11
IBM Software Group
z/TPF Tools Consideration
Treat tools as part of the product code
For example, time slice changes expect to add column to control file
Changes will be needed to build tools
bldtpf
maketpf
pat2ctl
Tool updates will be part of the APAR
Updates to maketpf will NOT be downwardly compatible with control files that
do not have the new column for the time slice option
Apply updates the tpftools/ source files like all other z/TPF source files
tpftools/ directory must be under the same root as other z/TPF source directories
For example, a PUT 02 directory structure may look like..
PUT02/base
..most z/TPF source for PUT 02
PUT02/tpftools
..z/TPF tools
And a PUT 03 directory structure may look like..
PUT03/base
..most z/TPF source for PUT 03
PUT03/tpftools
..z/TPF tools
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 12
IBM Software Group
CPU Check Load - Design Direction
Workload License Charging provides ability to charged based on
processors usage rather than processor size.
Monthly charge based on the highest 4 hour rolling average during
the month
Feedback: do NOT want utilities to drive monthly charge
Want transactions to drive monthly charge
Requirement: provide means to throttle utilities so that they do not drive
monthly charge
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 13
IBM Software Group
CPU Check Load - Design Direction
Provide API to control ECBs based on processesor utilization
LODIC extension
Utilization classes added to LODIC
Separate from existing resource classes
Utilization class will have a shutdown utilization
Unique shutdown per logical processor
If processor utilization is higher than shutdown,
ECB can be suspended until processor utilization is less than shutdown
ECB added to new extension of the suspend list
Return can be given to ECB stating that processor utilization is too high
Intended for processes which are not executed if processor utilization
is too high
Utilization classes are defined and modified using the ZSYSL command
Utilization classes definitions are kept in file system and not CTKA
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 14
IBM Software Group
CPU Check Load - Design Direction
Provide ability to exclude utilization of specific utilities in utilization class
Utilities are identified by ECB owner name
Means to prioritize different utilization classes
Example remove Recoup from a utilization class
Shutdown utilization for class MYCLASS = 75%
Processor utilization = 95%
Recoup utilization = 25%
Utilization 95 - 25 = 70% is compared to MYCLASS shutdown
70% < 75% MYCLASS is not in shutdown
Owner names can be exclude from a utilization class using the ZSYSL
command
Multiple owner names can be excluded from a single utilization class
Processor utilization calculated every 50 milliseconds
Each I-Stream calculates its own utilization
Utilization for all I-Streams are averaged to get processor utilization
Utilization of ECB owner names is determined used sampling
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 15
IBM Software Group
Recoup Deferred Lost - Design Direction
Issue: analysis of Recoup lost addresses can take a long time
Cannot run PDU until Recoup is rolled in (ZRECP PROCEED)
Need large buffer of pool addresses to cover time to do Recoup
Change: Recoup roll in to be two steps
ZRECP PROCEED will return pre (Recoup) and during (Recoup) RFS
Roll in of lost addresses will be a separate step
New PDU option
Lost address handling
No changes in ADR tape processing
New pseudo directory (#SONLOST) to contain lost addresses
Online database of lost addresses kept in fixed file records
Ability to exclude lost addresses by record ID / pool section
Additional changes
File system file will contain lost address record ID counts
ID counts for each long term pool section
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 16
IBM Software Group
Recoup Steps - Design Direction
Step
Today
1
Start Recoup
ZRECP START
2
Start Phase 1
ZRECP RECALL
3
Resume after Phase 2 ends
ZRECP RESUME
4
Protect erroneously available addresses
ZRECP PROTECT
5
Lost address handling
ZRECP REBUILD / NOREBUILD
6
Roll in
ZRECP PROCEED
7
Standard PDUs can be run
8
9
10
Deferred Lost
Start Recoup
ZRECP START
Start Phase 1
ZRECP RECALL
Resume after Phase 2 ends
ZRECP RESUME
Protect erroneously available addresses
Done automatically
Lost address handling
Deferred until after rollin
Roll in pre and during pool releases
ZRECP PROCEED
Standard PDUs can be run
Create lost address database
Lost address handling
Roll in lost addresses via PDU
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 17
IBM Software Group
Trademarks
IBM, AIX, FICON, MQSeries, OMEGAMON, WebSphere, and z/OS are trademarks of International Business Machines Corporation in the United States, other countries, or both.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
Notes
All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental
costs and performance characteristics will vary depending on individual customer configurations and conditions.
This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult
your local IBM business contact for information on the product or services available in your area.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any
other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.
Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.
This presentation and the claims outlined in it were reviewed for compliance with US law. Adaptations of these claims for use in other geographies must be reviewed by the local country counsel for compliance with local
laws.
AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition 1.1.0
TPF Users Group
Atlanta, Georgia
Fall 2006
© IBM Corporation 2006
TPFUG October 2006 Main CP Team.PRZ
10/30/06
Pages 18