Upload
daniella-griffin
View
218
Download
0
Tags:
Embed Size (px)
Citation preview
© 2013 IBM Corporation1
Course Objective
This material is for anyone that is new to z/TPF or is looking for a refresher about z/TPF.
This is a technical course that primarily focuses on topics from a system point of view.
This course will generally cover most aspects of z/TPF and it’s environment. Some topics will be covered in more detail.
General background in Computer Science is needed to understand the general computing concepts discussed in the material.
© 2013 IBM Corporation2
1. 2 3 4 5
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
System Characteristics
Entry Control Block
Message Processing
Message Flow
Memory Configurations
Dispatching/CPU Loop
Main Storage
Program Linkage
Loader
Database
Data Organization
Layout & Details
Traditional z/TPF
z/TPFDF
Globals
File Systems
General Data Sets
z/TPFAR
Utilities
System Tables
Communications
Console
Network
SNA
TCP/IP
Middleware
MQ
Web Services
Business Events
WODM
Ported Software
Troubleshooting
Console Messages
Dumps
Functional Displays
Performance/Tuning
Data Collection
Data Reduction
Tivoli EndPoint Manager
Security
Build Environment
MakeTPF / BuildTPF
Development
z/TPF Toolkit
z/TPF Debugger
Documentation
InfoCenter
RedBooks
Support
SR Tool (PMR’s)
developerWorks
TPF Users Group
TPF Agenda
© 2013 IBM Corporation3
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation4
History
Airlines Control Program (ACP)– 60’s, 70s: ACP consolidated from several
individual efforts– IBM also consolidated the application package
which became known as PARS and International PARS (IPARS)
Transaction Processing Facility (TPF)– 70s, 80s: TPF 1 and subsequent versions
came after IBM had to unbundle (sell separately) operating systems and HW
– 90s: TPF 4.1, virtual addressing, C/C++ support and more – Multiple CPU support
z/Transaction Processing Facility (z/TPF)– 2005: z/TPF 1.1 Introduced
• 64 bit, open development
© 2013 IBM Corporation5
History – Compare and Contrast
© 2013 IBM Corporation6
Mainframe Operating System Heritage
OS/360 -> OS/VS -> MVS/SP -> MVS/XA -> MVS/ESA -> OS/390 -> z/OS
– z/OS is IBM’s premier zSeries operating system, is a highly secure, scalable, high-performance enterprise operating system on which to build and deploy traditional and Java-enabled applications, providing a comprehensive and diverse application execution environment.
DOS/360 -> DOS/VS -> VSE/SP -> VSE/ESA -> z/VSE
– VSE enables proven, robust, and cost-effective solutions. VSE provides sturdy batch and industrial strength on-line transaction processing (CICS) capabilities. VSE can fit comfortably into a legacy of thrifty, dependable VSE solutions.
ACP -> TPF-> z/TPF
– TPF is the platform driving the business-critical systems for many of IBM's largest and most sophisticated users of online transaction processing - airlines, railroads, hotels, financial services, government, credit card and banking industries.
CP/67 -> VM/370 -> VM/SP -> VM/XA -> VM/ESA -> z/VM
– z/VM provides a highly flexible test and production environment for enterprises deploying the latest e-business solutions. z/VM helps enterprises meet their growing demands for multi-user server solutions with support for a broad range of operating systems.
Linux on System z
– IBM decided to support Linux in 2000.
© 2013 IBM Corporation7
z/TPF Detailed Summary – Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation8
Hardware - Needed to run z/TPF
System z Server
Console to access the system
Storage Devices–Disk (DASD)–Tape Drives and Tapes
Communication Card–Open Systems Adapter (OSA)
© 2013 IBM Corporation9
Hardware – System Z
Source: If applicable, describe source origin
OS’s supported–z/OS–z/VM–z/Linux–z/VSE–z/TPF
Blade Center Extension z/BX
Power and X–AIX–Windows–Linux
© 2013 IBM Corporation10
Hardware – System Z (continued)
Source: If applicable, describe source origin
IBM Presentation Template Full Version
Capacity – up to 101 Engines – z/TPF up to 99 Engines– 3TB memory per server
Connectivity - Channels
FICON/ESCON– Disk, Tapes, Console
Cards – OSA, Crypto
RAS
Reliability
Availability
Serviceability
© 2013 IBM Corporation11
Hardware – Diagram of System Z usage
Z CPU, Memory and IO
PR/SM
Z CPU, Memory and IO
SESE
Virt
ual M
achi
nezO
S Linu
x
Linu
x
Linu
x
Virt
ual M
achi
nezO
S
Virt
ual M
achi
nezO
S
z Blade Extension
ISS
DP
Cel
l
DW
A
pHyp
AIX
AIX
AIX
pHyp
AIX
AIX
AIX
pHyp
AIX
AIX
AIX
xHypL
inux
Lin
ux
Lin
ux
xHypL
inux
Lin
ux
Lin
ux
xHypL
inux
Lin
ux
Lin
ux
AMM
z Blade Extension
ISS
DP
Cel
l
DW
A
pHyp
AIX
AIX
AIX
pHyp
AIX
AIX
AIX
pHyp
AIX
AIX
AIX
xHypL
inux
Lin
ux
Lin
ux
xHypL
inux
Lin
ux
Lin
ux
xHypL
inux
Lin
ux
Lin
ux
AMM
z Blade Extension
pHyp
AIX
AIX
AIX
pHyp
AIX
AIX
AIX
pHyp
AIX
AIX
AIX
xHypL
inux
Lin
ux
Lin
ux
xHypL
inux
Lin
ux
Lin
ux
xHypW
ind
ow
s
Lin
ux
Lin
ux
x86 Power
AMM
Virt
ual M
achi
nezO
S Linu
x
Virt
ual M
achi
nez/
TP
F
Lin
ux
AIX
Dat
a P
ower
Workload Resource Groups: SLA Mgmt and Reporting
HM
C (
wit
h U
nif
ied
Res
ou
rce
Man
agem
ent)
zHypervisors
© 2013 IBM Corporation12
Hardware – Console
TPF Operation Server
Provides:•Console Access•Automation•Monitoring
•WinTel Hardware•Windows OS
© 2013 IBM Corporation13
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation14
Software
z/TPF is an Operating System
Runs exclusively on IBM System z hardware
High Performance, eXtreme Transaction Processing (XTP)
Dynamic, Large Centralized System
Remote Users accessing Shared Information
Attributes– Speed
• Efficient processing of transactions– Reliability
• Hardware and Software provide minimal downtime– Availability
• 24x7x365– Scalability
• 99 I-Streams in each server• 32 way loosely coupled servers• Choose your combination
© 2013 IBM Corporation15
Software – What z/TPF Provides
Image – http://en.wikipedia.org/wiki/File:Operating_system_placement.svg
z/TPF Operating System
– Directly controls the management of the hardware resources assigned to the central processing complex (CPC)
– Provides system services• Macros and Functions• Interfaces for Applications via API’s
– Interfaces with Communication Networks, Disk, Tape, Console, and other attached devices
– Data Collections provide overall utilization and performance
© 2013 IBM Corporation16
Software – z/TPF Highlights
Efficient use of resources, such as main storage and file storage
Short path lengths for critical system services, such as direct access storage device (DASD) input/output (I/O)
Short Existence Time for messages/transactions– < .3 seconds
Fast Restart and Recovery – 30 seconds to 2 minutes
Entry Protection – each entry only knows about it’s resources
Open-ended capacity growth, such as clustering as many as 32 multiprocessor Enterprise Systems Architecture (ESA) configurations with only a minimal increase in system overhead
Expandable database capacity by the addition of direct access storage devices (DASD)
Database integrity and online database maintenance capability.
Reentrant code … i.e. sharable
© 2013 IBM Corporation17
Software – Control Program
Also Known As: Control Program, CP, Kernel, CPS0
About 3.5 Meg in size
Memory Resident
Written in Assembler
Dispatch Control (CPU LOOP) aka dispatcher
Channel Programs/Drivers– Efficient– Hardware Specific
Memory/Storage Management
Linkage– CSECTS linked together make up CPS0– Built as part of System Initialization (SIP)
Most of the Source Code is Available for Modifications
User Exits
More details in System Characteristics part of course
Control Program
Memory
© 2013 IBM Corporation18
Software – Shared Objects / Programs Note: Core resident = Memory resident
Control Program
Core Resident Program Area
Disk/DASD
Memory
Any software that is not part of the CP is a Shared Object (SO) that can be pre-loaded in memory or loaded when initially called for use.
SO’s are written in:– Assembler– C/C++
SO’s can be z/TPF System Software or Application Software
© 2013 IBM Corporation19
Software – Middleware Layer
Provides z/TPF services for applications.
Includes communications, database managers, transaction services, API’s, etc
For example – z/TPF supports–MQ (Turbo) and Client–Web Services:XML, SOAP,WS-Security–Mail Server–HTTP Server and Client–TPFDF–Tivoli Endpoint Manager–WebSphere Operational Decision Management (WDOM)–Business Events–Transaction Services–Ported services: Apache, OpenLDAP, MySQL, OpenSSL,
zlib
© 2013 IBM Corporation20
Software – Application Layer
z/TPF applications are customized and maintained by the customer
–Pros• Unique applications to the industry• Customer controls features and functions• Customization provides specific functionality compared to
of-the-shelf Application–Cons
• Maintenance• Adding Feature/Functions• Available Subject Matter Experts
z/TPF provides standardized system services, middleware, and application frameworks to modernize established applications as well as create new applications.
Applications can be written in languages:–Assembler, C, C++
© 2013 IBM Corporation21
Software - z/TPF Directory Structure of Software
/ztp f
/base
/hpo
/tp fd f
/bss
/linux
/os390/tp ftools
/local_m od
/base
/hpo
/tp fd f
Shipped
Co nf iguratio n Dependent
Custo mer M o dif ied Shipped So urce
Open So urce
/opensource
© 2013 IBM Corporation22
Software – Comparing z/TPF to other Transaction OS’s
IBM Presentation Template Full Version
Most other Transaction Processing models run on top of an operating system ===> are not as efficient as a native operating system like z/TPF
Memory Based solutions
Transactional speed achieved by in-memory tables– Capturing changes to memory database is problematic
Distributed Based solutions– Transactional speed achieved by multiple images/servers
• Syncing the distributed database is inefficient
Heavy-weight vs Light-weight process model– z/TPF processes run on a CP or Kernel level compared to processes run
on an application level. • This minimizes instruction length of processes
© 2013 IBM Corporation23
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation24
Software - Supporting Systems
z/TPF depends on other systems to:
-build the z/TPF configuration,
-build z/TPF software,
-run off-line batch jobs,
-connect primary console, and
-provide tools for testing, performance and debugging.
z/OS– Format DASD Environment– Create System Initialization Environment– Run batch oriented tasks e.g analysis– Access to General Data Sets
z/Linux– Used to build z/TPF object code– Create Loader components – Other Utilities
© 2013 IBM Corporation25
Software - Supporting Systems (cont)
z/TPF depends on other systems to:
-build the z/TPF configuration,
-build z/TPF software,
-run off-line batch jobs,
-connect primary console, and
-provide tools for testing, performance and debugging.
VM – Can be used as main operating system with z/TPF as a guest
TPF Toolkit (Eclipse based)– Recommended Integrated Development Environment
TPF Operation System (PC based)– Recommended Operational Console Management environment
Tivoli EndPoint Manager– Recommended continuous data collection environment
© 2013 IBM Corporation26
Software - z/TPF still uses z/OS for…
Assemble, compile, link of all z/OS offline programs– DASD Formatter– Data Reduction– Dump Post Processor– And others…
Loading Software– Loader General File (LGF)– Via GDS, TAPE/VTAPE, VRDR
Requirements– IBM z/OS Version 1 Release 3, or later release– High Level Assembler (HLASM) Release 5 or later – IBM Enterprise PL/I for z/OS Version 3 Release 3, or later release – GNU Make (3.79.1)
* For current versions refer to “Required z/OS Software” in latest z/TPF documentation
© 2013 IBM Corporation27
Software - z/TPF uses Linux for…
Building Software– Linux utility programs– SIP deck assembly (System configuration macros)– Face table generation (File format)– Assemble, compile, link of all online programs– Assemble, compile, link of all Linux offline programs
Build Software Modules for Installation– BuildTPF, LoadTPF
Load Software– OLDR loads (via FTP) to z/TPF
Access to source code– Source Contol Manager (SCM) integration– Hosts source code for z/OS and Windows– Editing of source code
Running Utilities, Editing, Troubleshooting, Etc
For current versions refer to “Required Linux Software” in latest z/TPF documentation
© 2013 IBM Corporation28
Software - z/TPF still uses VM for…
Ease of Use–Configuration changes–Virtual Tape Drives
Multiple Images of z/TPF for testing–Can create smaller test systems
CMS
PER Trace (Event recording)
VTAPE (Virtual tapes)
VPARS (Share a TPF image on mult VMs for testing)
© 2013 IBM Corporation29
Software - z/TPF still uses TPF Toolkit for..
Integrated Development Environment(IDE)
Debugger
Performance Analyzer
Interface to Source Control Manager (SCM)
© 2013 IBM Corporation30
Software - z/TPF still uses Tivoli Endpoint Management
Continuous Data Collection
Integration with Enterprise Monitoring
© 2013 IBM Corporation31
Software - z/TPF still uses TPF Operations Server for…
Console Access
Automation
Logging of output
Interface to other Enterprise systems
© 2013 IBM Corporation32
Software – Diagram of Supporting Systems
Build Environm ent: W hat's it look like?
z/OS®
offline support
programs
Linux for zSeries
e-type loader
z/VM ®
andz/TPF
W orkstation
source controlsystem
build too ls source f iles
online executables
FT P
Loadse ts
C heck-inC heck-out
E xtrac t
Ne two rkA cce ss
Ne two rkA cce ss
offlineexecutables
R execH FS
© 2013 IBM Corporation33
z/TPF Detailed Summary - Basic Overview
Source: If applicable, describe source origin
IBM Presentation Template Full Version
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation34
System Characteristics - Entry Control Block (ECB)
z/TPF Security Features
Control Program
Input Message “Start a Process”
Entry Control Block (ECB)
Shared Object(s)
Shared Object(s)
“End a Process”
CPU(s)
“Interacts with..”
“Interacts with..”
Output Message
Memory/Disk
© 2013 IBM Corporation35
System Characteristics – Application Transaction
Source: If applicable, describe source origin
IBM Presentation Template Full Version
A message is a component of a transaction in z/TPF.
- The number of messages to complete a transaction depends upon the
application design
The time required is dependent upon the speed of the end user and the complexity of the transaction.
z/TPF is designed on the assumption that each end user message require only small amounts of CPU processing.
A transaction consists of one or more messages.
Example of a transaction– A13JULSLCJFK7P
• Availability entry requesting flights from Salt Lake City to New York beginning at 1900 on July 13th
– N1Y2• Need one seat in Coach Class from the display which is on line 2
– -lastname/firstname
© 2013 IBM Corporation36
System Characteristics – Application Transaction Examples
Source: If applicable, describe source origin
IBM Presentation Template Full Version
An example of a transaction– A13JULSLCJFK7P
• Availability entry requesting flights from Salt Lake City to New York beginning at 1900(7PM) on July 13th
– N1Y2• Need one seat in Coach Class from the display which is on line 2
– -lastname/firstname
An example of Web Service Transaction– XML Request
© 2013 IBM Corporation37
System Characteristics - Main Supervisor (Control Program)
The principal functions performed by the main supervisor are: – Work scheduling – dispatching
• Priority List scheme: Ready, Input, Defer, suspend lists (queues)• Dispatch all tasks on the list before move to the next list
– I/O interface • No ‘access method’, channel program is integrated into system
support– Virtual address space memory management
• EVA (Primary address space) or (ECB Virtual Address)vs. SVA (Home address space) or (System Virtual Address)
– Storage management– Interrupt processing
• I/O, SVC, Program, External, – Keypointing (aka checkpointing)
• Save system status in case of restart because of a hardware or software malfunction. In other operating systems, this usually is called
© 2013 IBM Corporation38
System Characteristics - Memory
Fencing of Data– An ECB’s memory is not addressable by another ECB
• This includes memory requested by the application
– Some memory can be shared via:• Global memory• Common
Virtual Memory– Memory get backed with real memory when needed– System Virtual Memory (SVM)– ECB Virtual Memory (EVM)
Protection keys• Applications cannot write to system memory without special
access - restricted macros and API’s
© 2013 IBM Corporation39
Common Virtual Addresses
EVA DifferencesSVA Differences
4K Frames
ECBs
1MB Frames64-bit ECB Heap*
-----Copy-on-Write
-----Copy-on-Write
31-bit ECB Heap*
Pre-allocated 31-bit ECB Heap
Pre-allocated ECB Stack
Application/ECB Stack Area*
Thread Stack Area*
ECB Private Area
VFA
64-bit System Heap*
System Heap Control*
64-bit CRPA*
64-bit User Areas*
TCP/IP Areas*
64-bit System Tables
Region/Segment/Page Tables
64 bit CRPA (PJ37995)
31-bit System Heap*
SWBs
IOBs
Common Blocks
31-bit CRPA*
31-bit User Areas*
31-bit System Tables
IPLB/CCIO/Keypoints/CIMR
Control Program
Prefix Area
4GB
0
16MB
2GB
Highest SVA
Memory Layout
EVM vs SVM
© 2013 IBM Corporation40
z/TPF Characteristics - Disk
Data defined as modules
Data is spread out across modules– A database is spread out over multiple modules to minimize
highly accessed data (avoid “hot” spots"
Modules duplicated logically in modules and physically on hardware– Prime– Dupes
Data reads from quickest path available
Data writes duplicated
Virtual File Access (VFA) – Data reads in memory for faster access– Data writes in memory and physical file (write thru)– Highly accessed data stays in memory– Low utilized data bubbles out of memory
© 2013 IBM Corporation41
z/TPF Characteristics - Tape
Tapes defined as individual devices that are accessible via Tape API’s
Primary and Alternates defined– If a tape becomes full will switch to Alternate– If z/TPF cannot write to a tape it tries on the Alternate
Application and System Errors are written to tape– Data can be post processed to produce a dump report
Dump Buffer Area– A defined area in memory to quickly write out the error so that the
snap shot time is minimized
© 2013 IBM Corporation42
z/TPF Characteristics – Loading Software
New software is loaded to z/TPF using:–General File Loader–E-type Loader–Image Loader–Data Loader
z/TPF has the ability to introduce new real-time software while running transactions
–ZOLDR Functional Message–Activation number–Software bundled in loadsets
• Activated/Deactivated • Accepted/Deleted
© 2013 IBM Corporation43
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation44
System Configurations
Uni Configuration– Single CPU
Tightly Coupled Configuration– Multiple CPU’s (Instruction Streams) Sharing Memory– Single Copy TPF Executing Concurrently
Loosely Coupled Configuration– Two or more CPC sharing a common set of DASD (Database)
and using an external lock facility (XLF) to synchronize multiple access to the DASD records.
– Each CPC can be Tightly Coupled or in uni-processor mode – Each CPC runs a copy of TPF concurrently
© 2013 IBM Corporation45
System Configuration - Uni Environment
Control Program
DASD
System Z LPAR
Up to 99 I-Streams
Network
Online Programs
z/TPF
Only one I-stream used in Uni system
© 2013 IBM Corporation46
System Configuration - Tightly Coupled
Control Program
DASD
System Z LPAR
Up to 99 I-Streams
Network
Online Programs
z/TPF
© 2013 IBM Corporation47
System Configuration - Loosely Coupled Environment
Network
DASD
Control Program
System Z LPAR
Up to 99 I-Streams
Online Programs
z/TPF
Control Program
System Z LPAR
Up to 99 I-Streams
Online Programs
z/TPF
Control Program
System Z LPAR
Up to 99 I-Streams
Online Programs
z/TPF
© 2013 IBM Corporation48
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation49
System Behavior - Initial Program Load (IPL)
Initial IPL - IPL From Loader General File (LGF)
– The Loader General File is a disk module
>contains programs and keypoints
>used to initialize a system.
>sequential collection of records
>created offline under z/OS control.
© 2013 IBM Corporation50
System Behavior - Initial Program Load (IPL)
– The TPF system is loaded to the online system in 2 steps:
1. The online keypoints, the file resident and main storage resident program segments:
are loaded to the loader general file by the system loader offline (ALDR).
1. They are then loaded from the loader general file to the online files by
IPLing the loader general file. (ACPL)
– The TPF system is started by IPLing the prime (or backup) online system pack.
© 2013 IBM Corporation51
System Behavior - Restart IPL
Any IPL After Initial IPL
Hard IPL–Initiated from the HMC (Hardware Console)–Operator is given the opportunity to select a TPF image (a composite of control program and applications) –It is disruptive – users will be affected.
Soft IPL–Initiated by ZRIPL or –Automatic Recovery After Failure (catastrophic error)
• Preserves Previous State• Attempts 3 times within 5 minutes
ZRIPL for test systems. Check about usage in production environment????
© 2013 IBM Corporation52
System Behavior - IPL Actions
Whenever you restart the control program–an initial copy of the control program is loaded from file to main
storage
–the keypoint records are then loaded from the IPL file and are used to initialize various fields and tables in main storage
–all working memory is initialized with all main memory blocks on the uncommitted memory lists
–during initialization, a check is performed to determine whether a dump tape is mounted and ready. If one is not mounted, you are notified and no more action occurs until the you mount a tape. When initialization is completed, the following message is displayed on the system console:
CVRN0004I hh.mm.ss RESTART COMPLETED- 1052 STATE
© 2013 IBM Corporation53
System Behavior - System States
z/TPF has different states that can restrict or limit certain activity
1052 State- Commands only accepted from the system console or 3270 local
UTIL State- Commands only from valid CRAS terminals
CRAS State- All terminals, are allowed to log on to the z/TPF system applications. However, non-CRAS authorized terminals have their application access restricted
Message Switching State-All lines are active.
The only high-speed messages accepted in the system are messages with a primary action code of Y, Z, or O.
NORMal State- NORM state allows you to start all system and application functions. All entries are allowed.
© 2013 IBM Corporation54
System Behavior - Errors that TPF handles
Hardware malfunctions that are overcome by retrying the I/O operation. – Error statistics are recorded
An error detected by the system from which the programs related to an ECB may be able to recover. – program regains control (for example, a record identification
check).
An error detected by the system from which the Entry cannot recover. – The ECB is forced to exit
An error detected by the system that makes continued operation of the system inadvisable. This is called a catastrophic error. – The system may needs to be restart.
© 2013 IBM Corporation55
System Behavior - Types of Dumps
SNAP Dump
SERRC Dump– Application Dump– System Dump
Dumps are written to tape– RTA/RTL
© 2013 IBM Corporation56
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation57
Physical Database – Direct Access Storage Device (DASD)
IBM Physical disk Drives
Prime Modules and Duplicate of Prime Modules–Read from least busy–Write to both Prime and Dupe –System can survive with one module, either prime or dupe–Prime and Dupe never on same Control Unit
• Prevents bottlenecks• Prevents single point of failure
DASD limit is 40,000 logical volumes, and up to 65520 cylinder in each volume
–65520 cylinders/mod * 15 tracks/cylinder * 12 4K records/track * 4095 bytes/record = 48.2 GB per module
–48.2 GB * 19,999 module (prime + dup) = 962 TB
© 2013 IBM Corporation58
z/TPF Databases
Storage Based i.e. disks
Memory Based
Globals
Fixed File
Pool
TPFDF
TPFCS
File Systems–TFS–FFS–PFS–MFS
© 2013 IBM Corporation59
z/TPF Database Maintenance
Resources given back by application – appl code releases
Resources given back when an Entry exits – entry exits
Recoup – Pool storage–Garbage Collection–Usually run weekly–Short Term and Long Term addresses returned to the system
Capture and Restore - return to point in time- then add changes (play log)
–z/TPF has package–Most DASD has external functionality to capture a “point in
time”–Exception recording on tapes used for time gap
Online Database Reorganization
© 2013 IBM Corporation60
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Console and Monitoring
© 2013 IBM Corporation61
z/TPF Communications - Overview
Communications that z/TPF Supports
3215 / 3270–OSA Integrated Console Controller (OSA-ICC)–Used for console support for TPF Operations Server (TOS)–Also can be attached via ESCON and Controller Unit (Vendor)
System Network Architecture (SNA)–3745 Network Control Program–Channel to Channel (CTC)
TCP/IP–Via OSA Express Card
Others - e.g. industry protocols (AirInc)
© 2013 IBM Corporation62
z/TPF Communications – TCP/IP Diagram
© 2013 IBM Corporation63
z/TPF Communications - Internet Daemon
Internet Daemon Model– Similar to other platforms like Unix and Linux– A ‘listener’ is started to accept TCP/IP requests coming
from a specific port address and IP address– Long running process– A ‘monitor’ also runs validating that ‘listeners’ are running
and for error recovery
© 2013 IBM Corporation64
z/TPF Communications - Example of Internet Daemon – specific IP addresses&Ports----or any port
© 2013 IBM Corporation65
z/TPF Communications – Socket Based API
Standard Socket API’s–Bridge TCP/IP protocol layer to the Application layer
© 2013 IBM Corporation66
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation67
Security – z/TPF Basics
Hardware Support–Cryptographic Cards on Server and CPACF - (encryption
hardware assist)–TPF Operations Server
Software Support–OpenSSL–Non Displayable Memory
Datacenter Access
Minimum User Access
Within the Enterprise
© 2013 IBM Corporation68
Security - OS Common ProblemsEveryone is concerned about sensitive and confidential information being
generally available or exposed due to a security hole
Security Breaches– SpyWare
• Can this run on z/TPF?– Unauthorized access
• Can an unauthorized user get into z/TPF?• If so – what can be done?
– Authorized exploitation• User has access but can exploit other information
– Open TCP/IP Ports• Only ports actively listened for can be accessed
Buffer Overflow– z/TPF ‘fences’ process space
• EVM vs SVM
Denial of Service Requests• Disable access by overloading communication to OS• Refer to TPFUG presentation
© 2013 IBM Corporation69
z/TPF Detailed Summary - Basic Overview
History
Hardware
Software
Supporting Systems
System Characteristics
System Configuration
System Behavior
Database
Communications
Security
Console and Monitoring
© 2013 IBM Corporation70
Consoles
Operator Consoles have access to administer the z/TPF system
Hardware consoles can administer control of hardware functions– Hardware IPL– Changing Hardware settings
Software consoles can administer the z/TPF OS via functional messages– Available via TPF Operations Server (TOS)– CRAS terminal - Computer Room Agent Set (travel agent)– Prime CRAS – entries can be restricted to a specific terminal or Prime
Terminal which has special authority to specific commands – RO CRAS – read only version of CRAS– Functional Console Support - CRAS terminals designated to receive
messages related to a specific function; sometimes called a functional CRAS console. For example, all TAPE related messages can be routed to a TAPE Functional Console.
– Remote Console Support – CRAS terminals designated to operate the TPF system from a remote location. Useful for Disaster Recovery.
© 2013 IBM Corporation71
The z/TPF Console LogThe z/TPF Console Log reports ongoing system activity
Output sent to System Operator– Prime Computer Room Agent Set (Prime CRAS)
z/TPF System documented Messages– Output categorized by a header that can be referenced
• Available in the Messages section in the TPF documentation
z/TPF Applications– User applications usually report status, start/end, etc by sending output to
Prime CRAS
Example:IPLB0045I TPF CPU ID B OPERATION TO BE CONTINUED ON_ PROCESSOR FF02153F MODEL 2094 CPA 0000 + IPLB0044I TPF CPU ID B COUPLING PROCEEDING ON _ PROCESSOR FF02153F MODEL 2094 CPA 0000+
Console log saved using TOS functionality (TOS = TPF operations server)– Ability to send to another environment (for example, VM)– Ability to access via TOS
© 2013 IBM Corporation72
z/TPF Basic Overview – Terms and Definitions
TPF is short for Transaction Processing Facility
XTP is short for eXtreme Transaction Processing
Control Program refers to CP or Kernel
Logical Partition is also known as LPAR
OS is short for Operating System
Direct Access Storage Device is also known as DASD
A Transaction consists of one or more messages