HCL's Mainframe Services - System Administration On Z/VM and Z/Linux - Hands-On

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 57

Warranty

HCL’s Mainframe Services


Management
-
System Administration System
on Z/VM and
Z/Linux – Hands-on
Z/VM

Overview of z/VM
General Concepts
Establishing VM Sessions
Logging onto the Virtual Console
User Directory
Execution Modes

Using CMS
Commands
CMS File System
Developing Programs - Xedit, Execs, Pipelines...

Debugging
2
Overview of z/VM

 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

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

3
Creating System Level

4
5
6
Conversational monitor system
(CMS)
191
X E D IT A - D is k
IS P F
O f f ic e 00C
R eady V is io n Reader
S h a re d
JAVA C++ 00E F ile
P r in t e r S y s te m
COBOL

00D
CMS P unch
7
Control program (CP)

Guest OS's

System Page
Spool

mini disks
L
z
C C I V T System
/ V
M data M N S P work
O M
S S U E F
S
X

Communication

virtual devices
VM/CP

real devices

8
Components of z/VM

VM contains Two Basic Parts


CP - Control Program
CMS (or Guests LINUX, CP, z/OS, etc.)

C C z/ L L
M M O I I
S S S N N
U U
X X
CP LINUX

Control Program
CMS General Concepts
 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 available


REXX, Vendor programs
10
CMS Strengths
User-friendly
English-like, extensible command language
 Simple, easy-to-use file system

Cooperates well with CP


Commands to exploit CP function and devices
Exploits virtual machine concepts
 Commands can be automatically passed to CP, if not
found in CMS, or directly by issuing #CP command

High performance
Single-user orientation
Shared CMS Nucleus
File system performance
11
Pre-installed features and products

IC K D S F
ER EP
VM R M
R SC S D IR M A IN T

R A C F
V M P e r f o r m a n c e T o o l K it

O S A /S F (n /c )
T C P /IP ( n /c )
H C D /H C M ( n /c )

12
13
14
Sample User Directory
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
15
Establishing a VM Session

VM Logo Screen
One 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
16
VM Logo Screen

17
Sessions

18
CP – Control Program

19
20
CMS - Concepts

21
CP Commands

Query Storage Information

 Q DASD
 Q DASD FREE

Using CP to control the Virtual Machine


 TCP/IP – Network Information
 OSA Information

22
23
CP Commands

24
CP Commands

25
CP Commands – Query OSA - z/VM

26
CP Commands – Query Commands

 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
27 active to the system and which are free
CP Commands – Query Commands

 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'.

28
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

29
CP Commands – Query Commands

30
CP Commands – Minidisks on Storage - z/VM

31
32
CMS File System

33
Z/Linux Hands-on
USING PUTTY
1.SSH to HOST

34
Z/Linux Hands-on
Enter your USER ID and PWD when prompted

Enter EXIT to terminate session

35
Z/Linux Hands-on

36
Z/Linux Hands-on

37
Z/Linux Hands-on

38
Z/Linux Hands-on

39
Z/Linux Hands-on

40
Z/Linux Hands-on

41
Z/Linux Hands-on

42
Z/Linux –File System

43
Z/Linux –File System

44
Z/Linux –File System

45
Z/Linux –File System

46
Z/Linux –File System

47
Z/Linux –File System

48
Z/Linux Hands-on

49
Z/Linux –File System Lab Exercise

50
Z/Linux Hands-on

51
52
53
Z/Linux Hands-on

54
Z/Linux Hands-on

55
Z/Linux Hands-on

56
Click icon to add picture

T HANK Y OU
© HCL 2009
This is solely for the use of HCL only. Without prior permission, no part of it
may be circulated, quoted or reproduced outside of the organization.

Q&A

57

You might also like