Download pptx - Mainframe Zlinux Hands-On

Transcript
Page 1: Mainframe Zlinux Hands-On

Warranty

Management

System

HCL’s Mainframe Services-

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

Page 2: Mainframe Zlinux Hands-On

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

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

4

Creating System Level

Page 5: Mainframe Zlinux Hands-On

5

Page 6: Mainframe Zlinux Hands-On

6

Page 7: Mainframe Zlinux Hands-On

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

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

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

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

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

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

13

Page 14: Mainframe Zlinux Hands-On

14

Page 15: Mainframe Zlinux Hands-On

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

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

17

VM Logo Screen

Page 18: Mainframe Zlinux Hands-On

18

Sessions

Page 19: Mainframe Zlinux Hands-On

19

CP – Control Program

Page 20: Mainframe Zlinux Hands-On

20

Page 21: Mainframe Zlinux Hands-On

21

CMS - Concepts

Page 22: Mainframe Zlinux Hands-On

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

23

Page 24: Mainframe Zlinux Hands-On

24

CP Commands

Page 25: Mainframe Zlinux Hands-On

25

CP Commands

Page 26: Mainframe Zlinux Hands-On

26

CP Commands – Query OSA - z/VM

Page 27: Mainframe Zlinux Hands-On

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

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

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

30

CP Commands – Query Commands

Page 31: Mainframe Zlinux Hands-On

31

CP Commands – Minidisks on Storage - z/VM

Page 32: Mainframe Zlinux Hands-On

32

Page 33: Mainframe Zlinux Hands-On

33

CMS File System

Page 34: Mainframe Zlinux Hands-On

34

Z/Linux Hands-on

USING PUTTY

1.SSH to HOST

Page 35: Mainframe Zlinux Hands-On

35

Z/Linux Hands-on

Enter your USER ID and PWD when prompted

Enter EXIT to terminate session

Page 36: Mainframe Zlinux Hands-On

36

Z/Linux Hands-on

Page 37: Mainframe Zlinux Hands-On

37

Z/Linux Hands-on

Page 38: Mainframe Zlinux Hands-On

38

Z/Linux Hands-on

Page 39: Mainframe Zlinux Hands-On

39

Z/Linux Hands-on

Page 40: Mainframe Zlinux Hands-On

40

Z/Linux Hands-on

Page 41: Mainframe Zlinux Hands-On

41

Z/Linux Hands-on

Page 42: Mainframe Zlinux Hands-On

42

Z/Linux Hands-on

Page 43: Mainframe Zlinux Hands-On

43

Z/Linux –File System

Page 44: Mainframe Zlinux Hands-On

44

Z/Linux –File System

Page 45: Mainframe Zlinux Hands-On

45

Z/Linux –File System

Page 46: Mainframe Zlinux Hands-On

46

Z/Linux –File System

Page 47: Mainframe Zlinux Hands-On

47

Z/Linux –File System

Page 48: Mainframe Zlinux Hands-On

48

Z/Linux –File System

Page 49: Mainframe Zlinux Hands-On

49

Z/Linux Hands-on

Page 50: Mainframe Zlinux Hands-On

50

Z/Linux –File System Lab Exercise

Page 51: Mainframe Zlinux Hands-On

51

Z/Linux Hands-on

Page 52: Mainframe Zlinux Hands-On

52

Page 53: Mainframe Zlinux Hands-On

53

Page 54: Mainframe Zlinux Hands-On

54

Z/Linux Hands-on

Page 55: Mainframe Zlinux Hands-On

55

Z/Linux Hands-on

Page 56: Mainframe Zlinux Hands-On

56

Z/Linux Hands-on

Page 57: Mainframe Zlinux Hands-On

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


Recommended