Mainframe Zlinux Hands-On

Post on 29-Mar-2015

49 views 0 download

Transcript of Mainframe Zlinux Hands-On

Warranty

Management

System

HCL’s Mainframe Services-

System Administration on Z/VM and Z/Linux – 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

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

4

Creating System Level

5

6

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

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)

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

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

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

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

13

14

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

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

17

VM Logo Screen

18

Sessions

19

CP – Control Program

20

21

CMS - Concepts

22

CP Commands

Query Storage Information

Q DASD Q DASD FREE

Using CP to control the Virtual Machine TCP/IP – Network Information OSA Information

23

24

CP Commands

25

CP Commands

26

CP Commands – Query OSA - z/VM

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

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

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

30

CP Commands – Query Commands

31

CP Commands – Minidisks on Storage - z/VM

32

33

CMS File System

34

Z/Linux Hands-on

USING PUTTY

1.SSH to HOST

35

Z/Linux Hands-on

Enter your USER ID and PWD when prompted

Enter EXIT to terminate session

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 Hands-on

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 –File System

49

Z/Linux Hands-on

50

Z/Linux –File System Lab Exercise

51

Z/Linux Hands-on

52

53

54

Z/Linux Hands-on

55

Z/Linux Hands-on

56

Z/Linux 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