Contenu connexe Similaire à ZD&T Survival Kit (20) Plus de Michael Erichsen (15) ZD&T Survival Kit1. z108251 ZD&T Survival Kit
Michael Erichsen
Xact Consulting A/S
Enterprise Modernization Specialist
2019 IBM Systems Technical University
20 – 24 May | Berlin, Germany
2. 2019 IBM Systems Technical University
Xact Notices and Disclaimers
— The descriptions and recommendations are not official IBM material, but based on experiences
from several customer projects in various countries
• Any errors are ours, so please do not sue IBM, but make us wiser!
— Use them carefully and with common sense
— This is not a full ZD&T course, but should only be seen as a survival kit
— The bad news
• The system you break will be your own
— The good news
• The system you break will be your own
2 © Copyright Xact Consulting 2019
3. 2019 IBM Systems Technical University
Speaker Introduction
— Michael Erichsen is not an IBM employee, but
a business partner employee
— About 35 years of experience of systems
programming, architecture, and a bit more
— 7 years of ZD&T support experience
— Is part of the Xact Enterprise Modernization
team, which specializes in supporting
customers with IBM products like
• ZD&T
• IBM Developer for z and I
• Rational Team Concert
— Xact Consulting is based in Denmark
3 © Copyright Xact Consulting 2019
4. 2019 IBM Systems Technical University
Session Objectives
— Provide an overview over ZD&T
• Logical and physical views
— Explain how to run an implementation project
— And which challenges to handle
— Helpful commands and files to check and modify the system
4 © Copyright Xact Consulting 2019
5. What is ZD&T?
z108251 ZD&T Survival Kit
IBM Systems Technical University
20 – 24 May | Berlin, Germany
6. 2019 IBM Systems Technical University
What is ZD&T?
— ZD&T (currently) means IBM Z Development
and Test Environment
• zD&T
• RD&T
• RDzUT
• zPDT
— A z/OS or z/VM system running on emulated
z14 processors, hosted on Intel hardware
— Emulated hardware - real software
— Intended and licensed for test and
development, not production
— ZD&T
• PE: Personal Edition
• EE: Enterprise Edition
• PS: Parallel Sysplex
6 © Copyright Xact Consulting 2019
7. 2019 IBM Systems Technical University
What is ZD&T? Logical View
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— The hardware platform can be
• A physical Intel machine
• A VMWare Workstation on a Windows machine
• A VMWare instance
• Another supported virtualization product
• A virtual machine in a cloud service
— It must be 64-bit Intel hardware
— This is your own responsibility
7 © Copyright Xact Consulting 2019
8. 2019 IBM Systems Technical University
What is ZD&T? Logical View
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— The Linux operating system is most often a
Red Hat Enterprise Linux (RHEL), which is
officially supported
— ZD&T is also officially supported on Ubuntu
and known to run on other Linux distributions
— It must be a 64 bit Linux
— This is also your own responsibility
8 © Copyright Xact Consulting 2019
9. 2019 IBM Systems Technical University
What is ZD&T? Logical View
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— Z1090 (and its twin z1091) are Linux
programs, which emulate z Series hardware
— The latest version emulates z14
— This is supplied by IBM in North Carolina
9 © Copyright Xact Consulting 2019
10. 2019 IBM Systems Technical University
What is ZD&T? Logical View
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— ADCD
• The z/OS operating system and subsystems are
supplied as a package called ADCD, Application
Developers Controlled Distribution
— It consists of disk images
— It can IPL out of the box
— It is supplied by IBM Dallas
10 © Copyright Xact Consulting 2019
11. 2019 IBM Systems Technical University
What is ZD&T? Logical View
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— We like to add an instance specific
configuration volume
— Here we store members specific to an
instance (LPAR)
• TCP/IP
• System name related members
• Etc…
— This is created and mounted by yourself
11 © Copyright Xact Consulting 2019
12. 2019 IBM Systems Technical University
What is ZD&T? Logical View
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— Host data and applications must be
downloaded from the Big Iron or created
synthetically
— We prefer to have download volumes and
active user volumes separated
— This is your own responsibility
12 © Copyright Xact Consulting 2019
13. 2019 IBM Systems Technical University
What is ZD&T? Lasagna View
13 © Copyright Xact Consulting 2019
14. 2019 IBM Systems Technical University
What is ZD&T? Physical View (“Classic” Style)
14 © Copyright Xact Consulting 2019
XA00
Master
Image
File
Share
License server
XA03
XA01
XA02
15. 2019 IBM Systems Technical University
What is ZD&T? Physical View (Single-user System)
15 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
VMWare Workstation
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
64-bit Windows
Intel Laptop
16. 2019 IBM Systems Technical University
What is ZD&T? Physical View with ZD&T EE Tools
16 © Copyright Xact Consulting 2019
File
Share
License server
EE Tools Server XA03
XA01
XA02
17. 2019 IBM Systems Technical University
What is ZD&T? VMWare View
17 © Copyright Xact Consulting 2019
19. 2019 IBM Systems Technical University
What is ZD&T? Linux View
19 © Copyright Xact Consulting 2019
20. 2019 IBM Systems Technical University
What is ZD&T? Linux View
20 © Copyright Xact Consulting 2019
21. 2019 IBM Systems Technical University
What is ZD&T? 3270 View
21 © Copyright Xact Consulting 2019
22. 2019 IBM Systems Technical University
What is ZD&T? 3270 View
22 © Copyright Xact Consulting 2019
23. 2019 IBM Systems Technical University
What is ZD&T? 3270 View
23 © Copyright Xact Consulting 2019
24. 2019 IBM Systems Technical University
What is ZD&T? 3270 View
24 © Copyright Xact Consulting 2019
25. 2019 IBM Systems Technical University
What is ZD&T? IDz View
25 © Copyright Xact Consulting 2019
26. 2019 IBM Systems Technical University
What is ZD&T? License Server View
26 © Copyright Xact Consulting 2019
27. 2019 IBM Systems Technical University
What is ZD&T? EE Tools View
27 © Copyright Xact Consulting 2019
28. What can you expect?
z108251 ZD&T Survival Kit
IBM Systems Technical University
20 – 24 May | Berlin, Germany
29. 2019 IBM Systems Technical University
Expectations
29 © Copyright Xact Consulting 2019
— ZD&T is a complete and real z/OS (or z/VM)
system
• Almost everything is the same as on any other
z/OS system
• The functional answer to “Can you do this or
that” is almost always “Yes!”
— It is a great platform for development and
test
• You do not have to wait for Change Management
and RACF administrators
• You can easily restore a system to a previous
stage
• Can add zIIP and crypto-processors
— Very buzzword compliant
• A good platform for DevOps, “Shift Left”, agility
and flexibility
30. 2019 IBM Systems Technical University
Limitations
— Only use for development and test
— Do not use for performance test
• Emulated z14 hardware
• Many layers of virtualization
• No System Assistance Processors to handle I/O
— Do not run large Java workloads
— Some obscure crypto-instructions not
handled
30 © Copyright Xact Consulting 2019
31. 2019 IBM Systems Technical University
Hurdles
— Each version of ADCD is different
• Which subsystems are configured and active?
• Which versions of z/OS and subsystems are
supplied
• How do the subsystems like CICS, IMS, DB2,
MQ, system logger etc. play together?
• ADCD provided both for ZD&T and for Big Iron
users
— Do you keep ZD&T versions in sync with
ADCD versions and/or your “Big Iron”?
— How do you keep data and applications in
sync with your “Big Iron”?
31 © Copyright Xact Consulting 2019
32. How to run an
implementation Project
z108251 ZD&T Survival Kit
IBM Systems Technical University
20 – 24 May | Berlin, Germany
33. 2019 IBM Systems Technical University
Implementation Process Overview
33 © Copyright Xact Consulting 2019
34. 2019 IBM Systems Technical University
An implementation Project
Preparations
— Identify a committed team
— Implement pilot hardware
— Install Linux operating system
— Establish connectivity and access
— Acquire and install license
34 © Copyright Xact Consulting 2019
35. 2019 IBM Systems Technical University
An implementation Project
Preparations
— Identify a committed team
— Implement pilot hardware
— Install Linux operating system
— Establish connectivity and access
— Acquire and install license
▪ Single USB token on a single PC
▪ Software server license
▪ Hardware server license
Identify Requirements
— Business case, expectations, success
criteria
— Pilot workshop
— Requirements analysis report to state what
has been decided
— Refined pilot estimate
— Stop/Go decision for pilot
35 © Copyright Xact Consulting 2019
36. 2019 IBM Systems Technical University
Install Pilot Baseline System
— Hardware (physical, virtual or cloud)
— License (server or local)
— Linux
— z109*
— ADCD
— Networking
36 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
37. 2019 IBM Systems Technical University
Configure the system to look your way
— Naming standards
— Rename subsystem?
— Change codepage?
— Which subsystems to activate
— Which versions to use
— 3rd party software
37 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
38. 2019 IBM Systems Technical University
Integrate Host Data, Applications and Configurations
— Distinguish between development and test
scenarios
— Describe test cases
— Identify host data, applications and
configurations for the pilot
— Create image on host
— Decide copying technologies
— Implement connectivity
— Configure ZD&T
— Define and load databases on ZD&T
— Configure applications
— System test
38 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
39. 2019 IBM Systems Technical University
Integrate Host Data, Applications and Configurations
z/OS
— PROCLIB
— PARMLIB
— REXX EXEC’s and CLIST’s
— Physical and functional RACF user ids and
names
39 © Copyright Xact Consulting 2019
40. 2019 IBM Systems Technical University
Integrate Host Data, Applications and Configurations
z/OS
— PROCLIB
— PARMLIB
— REXX EXEC’s and CLIST’s
— Physical and functional RACF user ids and
names
MQ
— MQ definition source
— Queue definitions
— Code page changes?
— References to remote queues should be
disabled by removing the IP addresses
— Archive jobs should point at existing disks
— Clean up the MVS SMP/E CSI for old MQ
versions, if you need to apply PTF’s
40 © Copyright Xact Consulting 2019
41. 2019 IBM Systems Technical University
Integrate Host Data, Applications and Configurations
CICS
— CICS definitions source
▪ SIT, PLT, etc.
▪ Definitions in e.g. DEFINE, CREATE or CPSM
format
— CTG parameters
— CICS JCL
— Special customization of CICS start up or
logon
41 © Copyright Xact Consulting 2019
42. 2019 IBM Systems Technical University
Integrate Host Data, Applications and Configurations
CICS
— CICS definitions source
▪ SIT, PLT, etc.
▪ Definitions in e.g. DEFINE, CREATE or CPSM
format
— CTG parameters
— CICS JCL
— Special customization of CICS start up or
logon
DB2
— DSNZPARM source
— List of SQLID’s and needed GRANT’s
— Archive jobs should be edited
— You might want to add the running version
of DB2 to the LINKLIST
— Change subsystem name?
— Change code page?
42 © Copyright Xact Consulting 2019
43. 2019 IBM Systems Technical University
Integrate Host Data, Applications and Configurations
IMS
— Exit load modules
— MDA source or load modules
— DBRC DB and DBDS registration source
— DBD source
— PSB source
— SPOC offload or
program/transaction/database definitions
— RTT source
43 © Copyright Xact Consulting 2019
44. 2019 IBM Systems Technical University
Integrate Host Data, Applications and Configurations
IMS
— Exit load modules
— MDA source or load modules
— DBRC DB and DBDS registration source
— DBD source
— PSB source
— SPOC offload or
program/transaction/database definitions
— RTT source
3rd party products
— SMP/E package or load libraries
— DBRMLIBs
— JCLLIBS, PROCLIBS, PARMLIBS etc.
— Including members in system libraries
— Installation instructions
— License or activation files
44 © Copyright Xact Consulting 2019
45. 2019 IBM Systems Technical University
Integrate Data
— DB2
• DDL
• Fieldprocs, Storage groups, Tablespaces, Databases, Tables, Indices, Plans, Bind processes, Views, Stored
procedures
• Unload datasets
• Punched LOAD statements
o Description of name correlation between unload and punch datasets,
• Bind information
• Tablespace partitioning
o What is the impact on disk space if we keep partitioning vs. how to remove it
• List of plans, package lists, collections and packages
— IMS
— Needed GDG and VSAM definitions
— QSAM
45 © Copyright Xact Consulting 2019
46. 2019 IBM Systems Technical University
Integrate Applications
— For development
• Source, copybooks, JCL, support macros and REXX EXEC’s etc.
— For test
• Load libraries and DBRM libraries in test for batch, CICS, IMS, and external stored procedures
• Note that load modules and DBRM’s must have corresponding timestamps
— Native stored procedures source
— COBOL listings for debugging
— Exits
46 © Copyright Xact Consulting 2019
47. 2019 IBM Systems Technical University
Pilot Test
47 © Copyright Xact Consulting 2019
48. 2019 IBM Systems Technical University
After the Pilot Test
Design and build long-term System
— Implement server farm
— Create master image on a file share or using
ZD&T EE Tools
— Long term connectivity
— Security
48 © Copyright Xact Consulting 2019
49. 2019 IBM Systems Technical University
After the Pilot Test
Design and build long-term System
— Implement server farm
— Create master image on a file share or using
ZD&T EE Tools
— Long term connectivity
— Security
Develop Processes and Tools
— Establish in-house support team
— Operating system and subsystem upgrades
— Source Control Management
— Test Data Management
— Host synchronization
— Deployment
— Scheduling
— Automation
— Security
— Quality assurance and reporting
49 © Copyright Xact Consulting 2019
50. 2019 IBM Systems Technical University
Hand-over
— Describe operations procedures
— Training
— Coaching
— Final acceptance
50 © Copyright Xact Consulting 2019
51. Which Challenges have we
met?
z108251 ZD&T Survival Kit
IBM Systems Technical University
20 – 24 May | Berlin, Germany
52. 2019 IBM Systems Technical University
Challenges: IBM-supplied ZD&T System is ready to run, but…
— The effort to adapt it to your environment is a big effort
• The organizational effort is much bigger than the technical effort!
— Customize the ZD&T z/OS system to your environment
— Identify, isolate, extract, copy and integrate applications, data and configurations from the Big Iron
to ZD&T
— Establish maintenance and operations and prepare for future system upgrades
53. 2019 IBM Systems Technical University
Challenges: Application Dependencies on System and Subsystem Names
— Remove dependencies before copying to ZD&T?
— Rename while copying?
— Rename ZD&T default subsystem names?
• This would be a recurring activity for each new version of ADCD
54. 2019 IBM Systems Technical University
Challenges: Data and Application upgrade Strategy
Development
— Deciding how to interact with existing SCM
and ALM systems
▪ Versioning
▪ Build
▪ Promotion
55. 2019 IBM Systems Technical University
Challenges: Data and Application upgrade Strategy
Development
— Deciding how to interact with existing SCM
and ALM systems
▪ Versioning
▪ Build
▪ Promotion
Test
— Identifying a consistent set of test data
from the big iron
▪ Don't move everything
▪ If your SCM is in a mess, then don't rely on
this project to clean it up for you
— Extracting these data to a separate pool
▪ Initial, and recurring
— Agree with operations/service provider on
access to those data
▪ Picking the best tools
— Agree with 3rd party vendors on porting
data unload/reload tools to ZD&T
▪ Licenses?
56. 2019 IBM Systems Technical University
Challenges: System Upgrade Strategy
— In sync with Big Iron?
— In sync with IBM deliveries of ADCD (Pre-packaged z/OS system)?
— Adding SMP/E work for selected subsystems?
— Swapping ADCD packages impacts DB2 and RACF
• Unload DB2 catalog and table spaces before swap using DB2ADM
• Reload after swap
• Unload RACF definitions and authorizations before swap using a REXX EXEC
• Reload after swap
57. 2019 IBM Systems Technical University
Challenges: Security
— General principle
• Agility and flexibility requires more freedom than the Big Iron
— Suggested implementation
• Data and application copied to ZD&T must be cleansed before copying
• Separate RACF system and definitions on ZD&T
• Do not copy the Big Iron RACF database
— Data
• Anonymize and/or filter data
— Applications
• Confidential code
— Handle situations where team A must not see code or data from team B
— Difficult to agree with Big Iron staff on processes and tools for copying to ZD&T and for promoting
changes from ZD&T
58. How to survive the Journey
z108251 ZD&T Survival Kit
IBM Systems Technical University
20 – 24 May | Berlin, Germany
59. 2019 IBM Systems Technical University
Cutting through the Lasagna
59 © Copyright Xact Consulting 2019
60. 2019 IBM Systems Technical University
VMWare
— Use administration panels:
• Number of CPUs
• Memory
• Virtual file systems
• MAC address
60 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
61. 2019 IBM Systems Technical University
Counting Processors
Standard Configuration Special Configuration
61 © Copyright Xact Consulting 2019
62. 2019 IBM Systems Technical University
Counting Processors
Standard Configuration Special Configuration
62 © Copyright Xact Consulting 2019
63. 2019 IBM Systems Technical University
Counting Processors
Standard Configuration Special Configuration
63 © Copyright Xact Consulting 2019
64. 2019 IBM Systems Technical University
Counting Processors
64 © Copyright Xact Consulting 2019
65. 2019 IBM Systems Technical University
Counting Processors
65 © Copyright Xact Consulting 2019
66. 2019 IBM Systems Technical University
Linux
— Get underlying hardware:
• less /proc/cpuinfo
• less /var/log/dmesg
• sudo dmidecode | less
• free -m
— Get Linux version:
• cat /etc/*-release
• uname -mrs
— Display filesystem:
• df –h
— Products (depending on Linux distro)
• yum install firefox
• yum install vsftpd
• yum in stall gedit
• yum install x3270
• yum install x3270-x11
66 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
67. 2019 IBM Systems Technical University
Networking
— For DHCP:
• sudo dhclient –r
• sudo dhclient
— Files
• /etc/resolv.conf
• /etc/hosts
• /etc/sysconfig/network-scripts/ifcfg-*
67 © Copyright Xact Consulting 2019
— Commands
• /etc/init.d/network restart
• ip addr show
• ip route
• systemctl restart network
• ifconfig
• netstat –rn
• nm-connection-editor
• find_io
o ZD&T supplied
68. 2019 IBM Systems Technical University
z1090/z1091
— rpm -qa | grep z109
— ZDT_Install_PE_V12.0.2.0.x86_64
— /usr/z1090/bin/aws_sysctl
— /usr/z1090/bin/aws_bashrc
— /usr/z1090/bin/z1090instcheck
— perl / zAppliance/scripts/create_devmap.pl
/zAppliance/z230 –h zos02.xact.dk >
/zAppliance/devmaps/XA02_devmap
• Note: If the ethernet device name is “new”, such
as ens-192, you might need to change it to
something like eth0
— /usr/z1090/bin/clientconfig
— runzpdt
• Edit DEVMAP and LOADPARM
68 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
69. 2019 IBM Systems Technical University
Z1090/z1091
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— Useful Linux commands for setup verification:
• ulimit -a
• ipcs -l
• /sbin/sysctl -a
• ifconfig
• gedit /etc/sysctl.conf
— pdsUtil
— awsckmap
69 © Copyright Xact Consulting 2019
70. 2019 IBM Systems Technical University
Restoring a lost Master Console
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
— From Linux
• x3270 v700 &
— From SDSF
• V 700,offline
• V 700,online,uncond
• V 700,console
— Or from a Linux command line:
— oprmsg 'v cn(*),activate' oprmsg 'v
700,offline'
— oprmsg 'v 700,offline,force’ (optional)
— oprmsg 'v 700,online,uncond'
— oprmsg 'v 700,console'
— oprmsg 'v cn(*),deactivate' (optional)
70 © Copyright Xact Consulting 2019
71. 2019 IBM Systems Technical University
z/OS
— At first IPL:
• Any console WTOR’s need response number 00,
e.g.
• IXC420D; Reply 00,I
— Tip:
• Use DDLIST (ISRDDN) to edit parmlib members,
so you do not overwrite IBM-supplied members,
but create new USER.Z23B.* members
• Do similarly for PROCLIB, CLIST etc.
— Console:
• F6 to see outstanding WTOR’s
• F10 to see what is running
• D O for options
• D IPLINFO
71 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
72. 2019 IBM Systems Technical University
z/OS
— D IPLINFO:
• RESPONSE=XA02
• EE254I 10.56.40 IPLINFO DISPLAY 841
• SYSTEM IPLED AT 19.31.49 ON 04/16/2019
• RELEASE z/OS 02.03.00 LICENSE = z/OS
• USED LOADAX IN SYS1.IPLPARM ON 00A82
• ARCHLVL = 2 MTLSHARE = N
• IEASYM LIST = 00
• IEASYS LIST = AL (OP)
• IODF DEVICE: ORIGINAL(00A82)
CURRENT(00A82)
• IPL DEVICE: ORIGINAL(00A80)
CURRENT(00A80) VOLUME(B3RES1)
72 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
73. 2019 IBM Systems Technical University
z/OS first Configuration
73 © Copyright Xact Consulting 2019
Run script runzpdt
(Linux)
Device map
(Linux)
IPLPARMS(LOADxx)
PARMLIB(IEASYSxx)
PARMLIB
Concatenation
PARMLIB
(COMMNDxx)
PARMLIB
(BPXPRMxx)
Master Catalog
PARMLIB(MSTJCLxx) PARMLIB(CLOCKxx) PARMLIB(PROGxx)
74. 2019 IBM Systems Technical University
PARMLIB
(COMMNDxx)
PROCLIB(VTAMxx)
PARMLIB(VTAMxx)
PARMLIB
(BPXPRMxx)
PROCLIB(VTAM)PROCLIB(RESOLVER)
PROCLIB(TCPIP)
TCPPARMS
(TCPDATA)
VTAMLST
(ATCCONxx)
VTAMLST(OSATRLxx)
TCPPARMS(PROFILE)
PARMLIB(MSTJCLxx)
PROCLIB
Concatenation
VTAMLST
Concatenation
z/OS first Configuration
74 © Copyright Xact Consulting 2019
75. 2019 IBM Systems Technical University
Understanding Catalogs
— Master catalog
• Specified in SYS1.IPLPARM
• SYSCAT B3SYS1113CCATALOG.Z23B.MASTER
• Is a VSAM file
• Limit to user catalogs and datasets needed at IPL time
— User catalog
• Also a VSAM file
• Contains ALIASes for data set high level qualifiers
• We like to have a user catalog on each user disk
o Then catalog information can be moved and copied with the disk
— Use IDCAMS IMPORT OBJECTS to import a user catalog into a master catalog
75 © Copyright Xact Consulting 2019
76. 2019 IBM Systems Technical University
z/OS first Configuration
— USER.Z23B.PARMLIB(IEASYSAL)
— USER.Z23B.PARMLIB(IEFSSNDB)
— USER.Z23B.PARMLIB(CLOCK00)
— USER.Z23B.PARMLIB(BPXPRMBP)
— USER.Z23B.PARMLIB(BPXPRMDB)
— USER.Z23B.PARMLIB(BPXPRMIM)
— USER.Z23B.CLIST(ISPFCL)
— USER.Z23B.PROCLIB (ISPFPROC)
— USER.Z23B.PROCLIB(JES2)
— USER.Z23B.PARMLIB(JES2PARM)
— /etc/httpd.envvars
76 © Copyright Xact Consulting 2019
— SYS1.IPLPARM(LOADAX)
— ADCD.Z23B.PARMLIB(MSTJCL00)
— ADCD.Z23B.PARMLIB(COMMNDAL)
— ADCD.Z23B.PROCLIB(VTAM)
— USER.Z23B.PARMLIB(FTPSDATA)
— USER.Z23B.PROCLIB(FTPD)
— USER.Z23B.PROCLIB(TCPIP)
— USER.Z23B.PROCLIB(VTAMALL)
— USER.Z23B.PROCLIB(SHUTALL)
— USER.Z23B.PARMLIB(VTAMALL)
— USER.Z23B.PARMLIB(SHUTALL)
77. 2019 IBM Systems Technical University
TASID (https://www-01.ibm.com/support/docview.wss?uid=swg24009131 )
77 © Copyright Xact Consulting 2019
78. 2019 IBM Systems Technical University
Our Advice: Create an LPAR-specific Configuration Disk
— Separate what is in common for all your ZD&T
instances (LPAR’s) from what is specific to
each
— Will make cloning and maintenance easier
— A model 3 disk is sufficient
— Add to device map
— Add LPAR-specific PARMLIB, PROCLIB etc
• PROCLIB must not be a PDSE
— Concatenate them at the top in IPLPARM,
JES2, MSTJCL*, ISPFPROC etc.
— Create a local user catalog on this and any
other user disk, so you can copy them around
78 © Copyright Xact Consulting 2019
z1090
zVolumes
Host data and
applications
Linux
Hardware Platform
Generic Configuration Volume
Instance Specific Configuration Volume
Local User
Volume
Local User
Volume
Local User
Volume
Local User
Volume
79. 2019 IBM Systems Technical University
Renaming the LPAR
— USER.VTAM.SOURCE(USSN) and (USSNJCL)
• Copy from ADCD.Z23B.VTAM.SOURCE and edit
— USER.Z23B.PROCLIB(TN3270)
— USER.Z23B.CLIST(IMSCOLD)
— USER.Z23B.CLIST(IMSSTOP)
— USER.Z23B.CLIST(IMSWARM)
— USER.Z23B.PARMLIB(BPXPRM01)
— USER.Z23B.PARMLIB(BPXPRMRT)
— USER.Z23B.PARMLIB(COMMNDAL)
— USER.Z23B.PARMLIB(GRSRNL00)
— USER.Z23B.PARMLIB(IEASYM00)
— USER.Z23B.PARMLIB(IEASYM00)
— USER.Z23B.PARMLIB(IEASYSAL)
— USER.Z23B.PARMLIB(IGDSMS00)
— USER.Z23B.PARMLIB(IZUPRM01)
— USER.Z23B.PARMLIB(JES2PARM)
— USER.Z23B.PARMLIB(SMFPRM00)
— USER.Z23B.PARMLIB(VTAM00)
— USER.Z23B.PARMLIB(VTAMALL)
— USER.Z23B.PROCLIB(JES2)
— USER.Z23B.PROCLIB(TCPIP)
— USER.Z23B.TCPPARMS(IPNODES)
— USER.Z23B.TCPPARMS(PROFILE)
— USER.Z23B.TCPPARMS(TCPDATA)
79 © Copyright Xact Consulting 2019
80. 2019 IBM Systems Technical University
Renaming the LPAR
— JES2 console command:
• $T NODE(S0W1),NAME=XA02
— SMS name is changed using the ISMF panels (ISPF option M.2)
• Read the manual and be very careful!
— A change in IEASYM00 to a new SYSNAME impacts USS file systems
• Mount tables must be handled
• Symbolic links needs to be changed (Can be quite tricky)
— The system you break will be your own!
— Back up the configuration disks at the Linux level, before you try any of this
• B3CFG1
• B3SYS1
• Others…
— The emergency exit:
• Do a stand-alone IPL (Consult the Redbook)
80 © Copyright Xact Consulting 2019
81. 2019 IBM Systems Technical University
SYSLOG and LOGREC
— To avoid SYSLOG and the JES SPOOL running full we add a started task called
USER.Z23B.PROCLIB(SPINSYSL) and added it to USER.Z23B.PARMLIB(VTAMALL) containing these
commands:
• /*$TA WLOG,T=23.58,I=86400,’$VS,''W L'''
• /*$TA WLOG,T=23.59,I=86400,’$P JQ,A>1,Q=PPU,PROTECT’
— If you do not need LOGREC, you can avoid LOGREC messages by changing PARMLIB member
IEASYS** to
• LOGREC=IGNORE,
— Some other SPOOL commands:
• $P JQ,A>1,Q=PPU,PROTECT
• $tbufdef,extbuf=(LIMIT=100)
• $dbufdef
• K Q
• K C,A,123,456 (Deletes within the interval 123-456)
• $PQ
• $DSPL
• $D JQ,SPOOL=(%>5)
• W L
81 © Copyright Xact Consulting 2019
82. 2019 IBM Systems Technical University
Time
— Twice a year you might want to change time. This is done by updating
• USER.Z23B.PARMLIB(CLOCK00)
— To standard or daylight saving time after IPL
— You can change it immediately from the console or SDSF using
• SET CLOCK=HH.MM.SS
— Set time from Linux
— Unix time zone suggestion for Berlin:
• TZ=CET-1CEST-2,M3.5.0/2,M10.5.0/3
• Handles DST (Until we get rid of it!)
82 © Copyright Xact Consulting 2019
#!/bin/sh
oprmsg 'VARY CN(*),ACTIVATE'
cur_date=`date +"%Y.%j"`
cur_time=`date +"%H.%M.%S"`
oprmsg "SET DATE=$cur_date"
oprmsg "SET CLOCK=$cur_time"
83. 2019 IBM Systems Technical University
Understanding the USS File System
— zFS
• z/OS File System
— Seen from z/OS
• A linear VSAM file
— Seen from USS
• A hierarchy of directories and files
— Use TSO ISH to display the mount table, to create zFS datasets, and to mount them dynamically
— Save definitions to a PARMLIB(BPXPRM**) member
— Give administrators READ access in RACF to class FACILITY, profile BPX.SUPERUSER
83 © Copyright Xact Consulting 2019
84. 2019 IBM Systems Technical University
— /u : user home directories (optional). /bin : Essential user command binaries. /usr: Secondary
hierarchy for read-only user data; contains the majority of (multi-)user utilities and applications.
/usr/llp: Repository for installed files. /lib : Essential shared libraries and kernel modules. /opt :
Add-on application software packages. /SYSTEM (e.g. XA02) LPAR-specific. /dev : Device files. /tmp
: Temporary files. /var: Variable files—files whose content is expected to continually change during
normal operation of the system—such as logs, spool files, and temporary e-mail files. /etc : Host-
specific system configuration. /global: Sysplex-wide.
USS File System Hierarchy Standard
84 © Copyright Xact Consulting 2019
85. 2019 IBM Systems Technical University
JES3
— To use JES3 as the primary job entry subsystem, you must specify JES3 in member IEFSSNxx of
USER.Z23B.PARMLIB
— Modify
• SYS1.IPLPARM(LOADJ3)
• USER.Z23B.PARMLIB(IEASYSJ3)
• USER.Z23B.PARMLIB(IEFSSNJ3)
• USER.Z23B.PROCLIB(JES3)
• USER.Z23B.PARMLIB(JES3INFT)
• USER.Z23B.PARMLIB(JES3IN00)
85 © Copyright Xact Consulting 2019
86. 2019 IBM Systems Technical University
DB2
— To rename a DB2 subsystem
• Install a separate subsystem and use that instead of the IBM-supplied one
• This includes SMS definitions
— To change code page on a DB2 subsystem
• Change DSNZPARM members DSNHDECM and DSNHMCIM
• DELETE CCSIDS using utility DSNJU003
• Cold start DB2
86 © Copyright Xact Consulting 2019
87. 2019 IBM Systems Technical University
CICS
— CICS is supplied without log definitions
• You must create them to be able to warm start
• Why?
o Probably because the ADCD distribution is used in many ways
o IBM cannot know whether you will have a coupling facility or use dataset logging
— You need to add RACF security if you need it
— CICSPlex SM is installed, but not configured and activated
— Ports etc. Must be defined for CICS Explorer, if you need them
— Interregion communication requires an entry for CICS in PARMLIB member IEFSSNxx
87 © Copyright Xact Consulting 2019
88. 2019 IBM Systems Technical University
IMS
— IMS Connect and ODBC are not defined and
not activated
— IMS catalog is not configured
— For IMS SPOC you need to do some work
— To rename an IMS subsystem you must
modify:
• DFSE10.PROCLIB(DFSMPR)
• DFSE10.PROCLIB(IVP1DBCG)
• USER.IMS.JCL(IMSMSG )
• USER.&SYSVER.ISPPLIB(XACTMAIN)
• USER.Z23B.PARMLIB(HWSCFG00)
• USER.Z23B.PARMLIB(PROGAI)
• USER.Z23B.PARMLIB(SHUTALL)
• USER.Z23B.PARMLIB(VTAMALL)
• USER.Z23B.PROCLIB(BCECFGHT)
• USER.Z23B.PROCLIB(CSLDI001)
• USER.Z23B.PROCLIB(CSLOI000)
• USER.Z23B.PROCLIB(DFSDF000)
• USER.Z23B.PROCLIB(DFSMPR)
• USER.Z23B.PROCLIB(HWSEXIT0)
• USER.Z23B.PROCLIB(IMS14CR1 )
• USER.Z23B.PROCLIB(IMS14HWS)
• USER.Z23B.PROCLIB(IMS14ODB)
• USER.Z23B.PROCLIB(IMS14OM1)
• USER.Z23B.PROCLIB(IMS14SCI)
• USER.Z23B.PROCLIB(IMS14RD1)
• USER.Z23B.TCPPARMS(PORTS)
88 © Copyright Xact Consulting 2019
89. 2019 IBM Systems Technical University
IDz
— You need to change JAVA_HOME in /etc/zexpl/rse.env to an existing Java version, e.g.
/usr/lpp/java/J8.0_64
— Debugger is not configured
— PD Tools are subject to your license conditions
• Consequently not configured, but present in ADCD
— SMP/E environment is incomplete
• Some SMPLOG, SMPPTS and other empty datasets are missing
• Must be defined to apply PTF’s
89 © Copyright Xact Consulting 2019
90. 2019 IBM Systems Technical University
z/OS MF
— z/OS MF is a Java Liberty application and very CPU-hungry
— Start-up was changed to start at IPL-time at z/OS 2.3
— You might want to move it back again to COMMND** or VTAMALL to start after everything else on
ZD&T
— Change AUTOSTART parameter
— Also remove load at start-up time for some z/OS MF plug-ins to help it start faster
• As kindly adviced by Marna Walle
90 © Copyright Xact Consulting 2019
91. 2019 IBM Systems Technical University
Don’t Worry – Be Happy!
91 © Copyright Xact Consulting 2019
92. 2019 IBM Systems Technical University
Where to find more
— Knowledge Center
• https://www.ibm.com/support/knowledgecenter/en/SSTQBD_12.0.2/com.ibm.zdt.overview.gs.doc/topics/c
_product_overview.html
— zPDT Guide and Reference
• http://www.redbooks.ibm.com/redbooks/pdfs/sg248205.pdf
— Mailing list
• z1090@yahoogroups.com
— IBM Z Development and Test Environment Forum
• https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-
000000002283&ps=25
92 © Copyright Xact Consulting 2019
93. 2019 IBM Systems Technical University
Session Summary
— Provide an overview over ZD&T
• Logical and physical views
— Explain how to run an implementation project
— And which challenges to handle
— Helpful commands and files to check and modify the system
— Any more questions?
93 © Copyright Xact Consulting 2019
94. 2019 IBM Systems Technical University
Any more Questions for follow-up? Please ask them on the App!
94
95. 2019 IBM Systems Technical University
Thank you!
Michael Erichsen
Enterprise Modernization Specialist
Xact Consulting, Denmark
Michael.Erichsen@xact.dk
+45 70 23 01 00
www.xact.dk
Linkedin: https://www.linkedin.com/in/michaelerichsen/
Slideshare: https://www.slideshare.net/dsmer/
Youtube: https://www.youtube.com/user/MichaelErichsen
Please complete the Session
Evaluation!
© Copyright Xact Consulting 201995