mainframe zlinux hands-on
TRANSCRIPT
![Page 1: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/1.jpg)
Warranty
Management
System
HCL’s Mainframe Services-
System Administration on Z/VM and Z/Linux – Hands-on
![Page 2: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/2.jpg)
Z/VM
2
Overview of z/VMGeneral Concepts
Establishing VM SessionsLogging onto the Virtual ConsoleUser DirectoryExecution Modes
Using CMSCommandsCMS File SystemDeveloping Programs - Xedit, Execs, Pipelines...
Debugging
![Page 3: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/3.jpg)
3
An operating system (VM = virtual machine)
A hypervisor, which refers to a system that virtualizes the real hardware
environment
Runs on the zSeries architecture created by IBM
Latest version is Version 5, Release 4
Overview of z/VM
z/VM as an Operating System
• A highly flexible test and production environment
• Has the ability to run multiple machine images and architectures
• Can simplify the migration from one release to another
![Page 4: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/4.jpg)
4
Creating System Level
![Page 5: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/5.jpg)
5
![Page 6: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/6.jpg)
6
![Page 7: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/7.jpg)
Conversational monitor system (CMS)
7
CM S
X E DIT IS P F
O ffic eV is ion
J AV A C++
CO BO L
S ha re dFile
S y s te m
0 0 EP rinte r
0 0 CRe a de r
0 0 DP unc h
1 9 1
A-D is k
R e a d y
![Page 8: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/8.jpg)
8
VM/CP
CMS
CMS
z/OS
LINUX
VM
VSE
TPF
data
Communication
System PageSpool
Systemwork
mini disks
real devices
Guest OS's
virtual devices
Control program (CP)
![Page 9: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/9.jpg)
VM contains Two Basic Parts
CP - Control Program CMS (or Guests LINUX, CP, z/OS, etc.)
CMS
CMS
LINUX
LINUX
LINUX
LINUX
Control Program
CP
z/OS
Components of z/VM
![Page 10: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/10.jpg)
CMS General Concepts
10
CMS: Conversational Monitor System
CMS is an interactive user interface that runs under the control of CP
Provides an application programming and execution environment Commands, EXECs (scripts), pipelines, Xedit,
compilers, user programs
Many tools availableREXX, Vendor programs
![Page 11: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/11.jpg)
11
User-friendlyEnglish-like, extensible command language
Simple, easy-to-use file system
Cooperates well with CPCommands to exploit CP function and devicesExploits virtual machine concepts
Commands can be automatically passed to CP, if not found in CMS, or directly by issuing #CP command
High performanceSingle-user orientationShared CMS NucleusFile system performance
CMS Strengths
![Page 12: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/12.jpg)
12
R A C F
D IR M A IN T
H C D /H C M (n/c )
VM R M
R SC S
TC P/IP (n/c )
VM Pe rform a nc e Tool K it
OS A /S F (n/c )
ER EP
IC KD SF
Pre-installed features and products
![Page 13: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/13.jpg)
13
![Page 14: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/14.jpg)
14
![Page 15: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/15.jpg)
15
USER IBMUSER IBMUSER 16M 32M G ACCOUNT SYSTEMS MACH ESA 4 CPU 00 CPU 01 IPL CMS CONSOLE 009 3215 SPOOL 00C 2540 READER * SPOOL 00D 2540 PUNCH A SPOOL 00E 1403 A
LINK MAINT 0190 0190 RR * CMS system disk LINK MAINT 019E 019E RR * Product code disk LINK 5767002P 29E 29E RR LINK 5767002P 505 305 RR LINK 5767002P 191 192 RR MDISK 191 3390 1535 001 510RES MR READ WRITE MULTIPLE
Sample User Directory
![Page 16: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/16.jpg)
16
VM Logo ScreenOne at a time - 3270 emulation (pcom)
LOGON ... here -> move a signon to another session
Using CP to control the Virtual Machine #CP IPL CMS - restart your entire CMS session,
profile exec runs to customize your session#CP LOGOFF - logon xxx - sign off/on
Establishing a VM Session
![Page 17: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/17.jpg)
17
VM Logo Screen
![Page 18: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/18.jpg)
18
Sessions
![Page 19: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/19.jpg)
19
CP – Control Program
![Page 20: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/20.jpg)
20
![Page 21: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/21.jpg)
21
CMS - Concepts
![Page 22: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/22.jpg)
22
CP Commands
Query Storage Information
Q DASD Q DASD FREE
Using CP to control the Virtual Machine TCP/IP – Network Information OSA Information
![Page 23: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/23.jpg)
23
![Page 24: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/24.jpg)
24
CP Commands
![Page 25: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/25.jpg)
25
CP Commands
![Page 26: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/26.jpg)
26
CP Commands – Query OSA - z/VM
![Page 27: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/27.jpg)
27
Query All to display the status of all the real devices attached to the system.
All indicates all devices attached to the system
Query All Active / Free indicates devices active to the system and which are free
CP Commands – Query Commands
![Page 28: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/28.jpg)
28
Query CPU ID is to display the double word processor identifier used by our virtual machine.
Returns the CPU ID of the issuing users Virtual processor.
CPUID= aassssssccccdddd
aa identifies the version code. These two digits are set to X'FF' to identify that your virtual machine is running
under z/VM.
ssssss identifies the processor. This field contains six hexadecimal digits. This is the only part of the CPUID
that can be modified by means of the SET CPUID command or set by the system directory's OPTION control
statement.
cccc identifies the model number. This field is set to the model number of the real machine.
dddd identifies the machine check extended logout length. For z900 and z800 servers, this field is set to
X'0000'. For all other supported servers, this field is set to X'8000'.
CP Commands – Query Commands
![Page 29: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/29.jpg)
29
CP Commands – Query Commands
Query Files – List the count of SPOOL files in the system
Q mdisk 190 – Display device characteristics of minidisks : dedicated DASD,T-Disks ,Regular and virtual
disks
MDISK – Its defined in the USER DIRECT file something like SYSTEM FILES on Z/OS
Device type – 3390 , Volume Label , Size – CYLS/ BLKS of the mini disk
![Page 30: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/30.jpg)
30
CP Commands – Query Commands
![Page 31: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/31.jpg)
31
CP Commands – Minidisks on Storage - z/VM
![Page 32: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/32.jpg)
32
![Page 33: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/33.jpg)
33
CMS File System
![Page 34: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/34.jpg)
34
Z/Linux Hands-on
USING PUTTY
1.SSH to HOST
![Page 35: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/35.jpg)
35
Z/Linux Hands-on
Enter your USER ID and PWD when prompted
Enter EXIT to terminate session
![Page 36: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/36.jpg)
36
Z/Linux Hands-on
![Page 37: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/37.jpg)
37
Z/Linux Hands-on
![Page 38: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/38.jpg)
38
Z/Linux Hands-on
![Page 39: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/39.jpg)
39
Z/Linux Hands-on
![Page 40: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/40.jpg)
40
Z/Linux Hands-on
![Page 41: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/41.jpg)
41
Z/Linux Hands-on
![Page 42: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/42.jpg)
42
Z/Linux Hands-on
![Page 43: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/43.jpg)
43
Z/Linux –File System
![Page 44: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/44.jpg)
44
Z/Linux –File System
![Page 45: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/45.jpg)
45
Z/Linux –File System
![Page 46: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/46.jpg)
46
Z/Linux –File System
![Page 47: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/47.jpg)
47
Z/Linux –File System
![Page 48: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/48.jpg)
48
Z/Linux –File System
![Page 49: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/49.jpg)
49
Z/Linux Hands-on
![Page 50: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/50.jpg)
50
Z/Linux –File System Lab Exercise
![Page 51: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/51.jpg)
51
Z/Linux Hands-on
![Page 52: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/52.jpg)
52
![Page 53: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/53.jpg)
53
![Page 54: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/54.jpg)
54
Z/Linux Hands-on
![Page 55: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/55.jpg)
55
Z/Linux Hands-on
![Page 56: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/56.jpg)
56
Z/Linux Hands-on
![Page 57: Mainframe Zlinux Hands-On](https://reader035.vdocuments.us/reader035/viewer/2022062312/55173476497959a0308b4747/html5/thumbnails/57.jpg)
Q & A
Click icon to add picture
57
This is solely for the use of HCL only. Without prior permission, no part of itmay be circulated, quoted or reproduced outside of the organization.
© HCL 2009
T H A N K Y O U