IPL Logic Flow
IPL Logic Flow
IPL Logic Flow
Trademarks
The following are trademarks of the International Business Machines Corporation in the United States and/or other countries.
CICS* DB2* DB2 Universal Database DirMaint ESCON* FICON* GDPS* HiperSockets HyperSwap
IBM* IBM eServer IBM logo* IMS NetView* OMEGAMON* On Demand Business logo Parallel Sysplex*
RACF* S/390* System z9 System z10 Tivoli* TotalStorage* VSE/ESA VTAM* WebSphere* z/Architecture
* Registered trademarks of IBM Corporation The following are trademarks or registered trademarks of other companies. Java and all Java-related trademarks and logos are trademarks of Sun Microsystems, Inc., in the United States and other countries Linux is a trademark of Linus Torvalds in the United States and other countries.. UNIX is a registered trademark of The Open Group in the United States and other countries. Microsoft is a registered trademark of Microsoft Corporation in the United States and other countries. * All other products may be trademarks or registered trademarks of their respective companies. Notes: Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here. IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply. 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.
Agenda
Abstract
This presentation will describe the general processing which is involved in initializing a z/OS system, from the IPL process until the system is ready to start either JES2 or JES3 The major steps described are: The hardware process of loading z/OS The loading and initialization of the nucleus The initialization of general system resources Master Scheduler Initialization IBM may change the implementation of internal processing at any time with no prior notice
Special Notice
This documentation contains some parts of the presentation Pulling a System up by its Bootstraps by Greg Dyck (IBM), SHARE session 2854, March 2000
Introduction
z/OS Initialization Overview
Processed in different phases Each phase builds on the next Within each phase, steps build on each other
Introduction
UCW and UCB Generation
Activate using a Reset Profile (POR) Central Storage HSA UCWs (1 per Device) Main Storage UCBs (1 per Device) SE Selected IOCDS UCW Images (subchannels) Dynamic Changes HCD DYNAMIC Allows adding, deleting or modifying the Hardware Definitions (CHPIDs, CU, Devices) UCBs and EDTs (requires a Production IODF to activate) UCBs built during IPL/NIP IODF pointed to by the LOADPARMs and LOADxx HCD Production IODF contains the LPAR Names, Channel Info Control Unit, I/O Device Info for both UCWs and UCBs, EDT and NIP consoles
Introduction
Dataset Considerations the big Picture
Load Operation
Load Address dddd Load Parameters dddd xx i n SYS1.NUCLEUS IEANUC0n SYSRES Volume R1 = IPL Record R2 = Bootstrap R4 = IPL text
IODF Volume
SYSn.IPLPARM or SYS1.PARMLIB LOADxx SYSPARM xx IEASYM xx SYSPLEX Name SYSCAT IODF IODF Dataset UCBs and EDTs
IMSI Field
SYS1.PARMLIB
Member IEASYS Modified by the Member IEASYSxx IEASYMxx contains Symbolics The Operator can override many Settings by using prompting in the LOAD Parameter IMSI Field
Master Catalog
Introduction
Load Parameters
IODF dddd LOADxx xx IMSI i NUCx n
DDDXXINN Load Parameter Values DDDD: XX: I: Device number of the volume containing the IODF dataset (Default is SYSRES) ID of the LOADxx member to be used (the default is LOAD00) Initial Message Suppression Indicator (IMSI) The default suppresses most informational messages and does not prompt for system parameters; will use the LOADxx values N: Nucleus ID to be used (default is 1: IEANUC01)
Introduction
IMSI Character
IMSI Character Period (.) or blank A C D M P S T Display informational Messages No Yes No Yes Yes No No Yes Prompt for Master Catalog Response No Yes Yes Yes No Yes No No Prompt for System Parameter Response No Yes No No No Yes Yes Yes
Introduction
And all begins with a Mouse Click
Hardware IPL
Hardware IPL Overview
Process is defined by the z/Architecture Controlled by hardware A single CPU is used for IPL - all other CPUs are placed into a manual (i.e. stopped) state A hardware system reset occurs before the process begins IPL records are written with ICKDSF Cyl 0, Trk 0, R1, R2, IEAIPL00
10
10
Hardware IPL
Hardware IPL Flow
Load Operation
2) CSS stores IPL CCW into absolute Storage Location 0 and initiates SSCH with CCW Addr = 0 DASD will then seek to CYL 0, Head 0 and read Record 1
Record 1 IPL1 0 Read- data R2 TIC to R2 data
SYSRES
Record 2 IPL2
3) Record 1 will provide CCWs to read Record 2 4) Record 2 will provide CCWs to read Record 4
Seek
TIC to Search
...
...
Read data
IEAIPL00 CCHHR
Record 3 Volume Label Volume Label User Label (optional) Record n (usually R4)
IEAIPL00
Loc 0
After Record 4 has been read the Hardware Portion of IPL is complete
11
11
Hardware IPL
Hardware IPL Summary
Hardware generates an IPL CCW to read of 24 bytes IPL text into location 0 CCW = 02000000,40000018 For DASD, this always reads cylinder 0, track 0, record 1 Location 8 treated as a command chained CCW Read record 2 into storage, command chain to next CCW Transfer CCW execution to record 2 location Seek and search for IEAIPL00 record Read IEAIPL00 into location 0 CCW chain completion, PSW is loaded from absolute 0 and execution begun IEAIPL00 location 0 contains initial PSW
12
12
IEAIPL00
A mini operating system - non relocatable Builds an initial virtual environment IPL workspace located at X'20000000' virtual Provides services to Back virtual storage with real frames Do I/O Controls the IPL initialization process Loads IPL Resource Initialization Modules (RIMs) into workspace Gives them control
Zrich | 26. Oktober 2004 2004 IBM Corporation
13
13
6.
Build a table of NIP consoles max. number of NIP consoles supported by IPL RIM is 64 (HCD supports 128)
o
14
14
Includes modules contained in IEANUC0x and IEANUC2x, and those identified by NMLs, NUCLSTxx, and UIMs CSECTs are grouped/positioned by attributes, RMODE and read-only 8. Load modules, dynamically resolving external references
Zrich | 26. Oktober 2004 2004 IBM Corporation
15
15
16
16
16Mb
17
17
Is SYSn.IPLPARM on the IODF volume? (n=0-9) Yes Is LOADxx in SYSn.IPLPARM? No LOADxx not found, enter non-restartable disabled Wait State WSC=088 RC=00; Re-IPL required
No
No
Yes Yes
Is LOADxx in SYS1.PARMLIB No LOADxx not found, enter non-restartable disabled Wait State WSC=088 RC=00; Re-IPL required LOADxx not found, enter non-restartable disabled Wait State WSC=0B1 RC=01; Re-IPL required
18
Control routine
Sets traps for unexpected errors (no RTM support is available yet) Verifies the hardware environment Creates IPL processor control blocks Creates global VSM control blocks Creates I/O control block pools Creates the initial system trace table Opens SYS1.NUCLEUS as the LNKLST Loads and invokes NIP RIM routines
Zrich | 26. Oktober 2004 2004 IBM Corporation
19
19
HSA UCS Device # 2400 Enable Bit Interrupt Subclass (ISC) Interruption Parameter Central Storage UCB Device # 2400 Channel Paths SSID Connected
a UCW for the device must exist a UCB for the device must exist
During device mapping:
the UCBs are built with the not connected state bit = 1 (UCB byte 7, bit 2) at the completion of this mapping process all devices defined to both the channel subsystem (UCWs) and
MVS (UCBs) will be enabled and connected
any UCWs without corresponding UCBs will be left disabled any UCBs without corresponding UCWs will be left not connected
Devices in either one of these states cannot be used by the system
Zrich | 26. Oktober 2004 2004 IBM Corporation
20
20
Printers
MVS does not report any paths or devices that are found to be not operational during pathing
Tapes
21
21
no 1.5 sec. timeout (no IOS120A message during path testing) create PIM (Path Installed Mask), represents CHPIDs defined in IOCDS create LPM (Logical Path Mask), used by UCB to control paths to be used for an I/O operation
Get device characteristics one path Self description each path (msg IOS291I) VOLSER checking one path for SDP products (all paths for other DASD)
Dynamic Paths Matrix
DASD Devices
mark any UCB with outstanding I/O to test later again purge all outstanding requests
Zrich | 26. Oktober 2004 2004 IBM Corporation
22
22
DASD pathing consists of 4 different phases: path testing on each path (P), read device characteristics (D), self-describing product (S) and VOLSER processing (V) Any error consitions detected during the DASD pathing steps are reported to the NIP console via messages IGGN504A, IGGN505A, IEC334I, IOS291I, IEA213A or IEA214A (any A or action messages requires operator response)
CCW = Channel Command Word RCD = Read Configuration Data RDC = Read Device Characteristics SDP = Self-describing Product SSID = Subsystem ID (DASD CUs)
23
23
The last step of dynamic pathing is Direct Access Volume Verification (DAVV) DAVV processing reads the volume label of each online DASD device and updates the UCB with the VOLSER If a duplicate VOLSER exists, either message IEA213A or IEA214A will be issued
Zrich | 26. Oktober 2004 2004 IBM Corporation
24
24
25
25
10. If required, prompt for system parameters (message IEA101A) 11. Merge and analyze the system parameters
26
26
27
27
28
28
Note: this is just a brief overview of the NIP RIMs. For a complete list of all NIP RIMs refer to the IPCS IPL statistics report at the end of this presentation
Zrich | 26. Oktober 2004 2004 IBM Corporation
29
29
Basic Processing
Initialize Master Trace processing Enable full function Console processing All MCS consoles are now available Initialize Sysplex-wide ENF services, creates IEFSCHAS address space Initialize MSTR subsystem Initialize Common JES services, creates JESXCF address space Initialize Allocation services, creates ALLOCAS address space Attach Initiator to start Master JCL
30
30
31
31
32
32
33
33
To determine the time required for an IPL in your installation, use IPCS VERBX BLSAIPST to display IPL statistics information
00:00:12.147
Note: the IPL statistic shown on this and the following slides is from a z/OS 1.10 (HBB7750) system.
2004 IBM Corporation
34
34
35
35
36
36
00:03:43.361
37
37
Tip: in the IPCS dialog, to display the last IPL statistic using in-storage source rather than an SVC dump, proceed as follows: 1. 2. 3. 4. Select IPCS option 6 (commands) Issue DROPD MAIN (delete data from a previous IPCS session using in-storage as source) Issue VERBX BLSAIPST MAIN
*** IEEMB860 Statistics *** ILRTMRLG IECVIOSI ATBINSYS IKJEFXSR IXGBLF00 COMMNDXX SMFWAIT SECPROD IEFJSIN2 IEFHB4I2 CSRINIT FINSHMSI IEEMB860 00:00:00.204 00:00:42.407 00:00:00.010 00:00:00.160 00:00:00.025 00:00:00.133 00:00:02.534 00:00:04.873 00:00:28.051 00:00:00.020 00:00:00.006 00:00:00.000 00:01:18.585 00:05:16.426 ASM IOS dynamic pathing APPC TSO Logger COMMANDxx processing SMF Security server SSN= subsystem ALLOCAS - UCB scan Windowing services Wait for attached CMDs Uncaptured time: 00:00:00.156
Total Time:
38
38
Glossary
Terms and Abbreviations
ASM ENF IOCP IOS IRIM MCH MIH NIP RIM RTM SRM SYSRES UCB UIM
Auixiliary Storage Manager Event Notification Facility I/O Configuration Program Input/Output Supervisor IPL Resource Initialization Module Machine Check Handler Missing Interrupt Handler Nucleus Initialization Phase Resource Initialization Module Recovery Termination Manager System Resource Manager System residence Volume Unit Control Block Unit Information Module
DAT IOCDS IODF IPL JES MCS MSI POR RSM SMS SVC TOD UCW VSM
Dynamic Address Translation I/O Configuration Data Set I/O Definition File Initial Program Load Job Entry Subsystem Multiple Console Support Master Scheduler Initialization Power-on-Reset Real Storage Manager System managed Storage Supervisor Call Time of Day Clock Unit Control Word Virtual Storage Management
39
39
The End
40
40