COMP 3400 Mainframe Administration 1

Similar documents
System z Virtualization and Linux Workshop Bootcamp System z Hardware / Architecture

Introduction to Virtualization: z/vm Basic Concepts and Terminology

1. Logging in to VM - Regular Login - Disconnected Login - Stealing the session - Logging off - Disconnected log off

z/vm Introduction 3/10/2014

Introduction to Virtualization: z/vm Basic Concepts and Terminology

Introduction to Virtualization: z/vm Basic Concepts and Terminology

z/vm 6.3 Installation or Migration or Upgrade Hands-on Lab Sessions

SUSE Linux Enterprise Server Starter System for System z Installation Guide

z/vm Version 7 Release 1 Installation Guide IBM GC

z/vm Evaluation Edition

A New Parents Guide to zvm: Bringing Your System Up Right. A VM Community Trust Publication. Draft Working Outline

Using z/vm DirMaint in an SSI Cluster

Program Directory for Open Systems Adapter Support Facility for VM. function level 440. Program Number 5741-A07. for Use with z/vm version 6 release 2

z/vm Reference Guide z/vm and IBM System z... your path to success

Program Directory for Hardware Configuration Definition and Hardware Configuration Manager for z/vm. function level 640. Program Number 5741-A07

Agenda. Clustering. High Availability. Cluster Management. Failover. Fencing. Lock Management GFS2

Program Directory for Open Systems Adapter Support Facility for VM. Function Level Program Number 5739-A03. for Use with z/vm Version 4

_ "'-_ Virtual Machine/ System Product. General Information. Release 4 GC

The z/vm Control Program Useful Things to Know

Cross System Extensions (CSE) Experience. Ted Y. Johnston. Stanford Linear Accelerator Center * Stanford University, Stanford CA 94309

z/vm Reference Guide z/vm and IBM ~ zseries... your path to success

IBM z/vm Single System Image and Live Guest Relocation - Planning and Use

z/vm Reference Guide z/vm and IBM System z...strengthening your virtualization environment

Migration Roadmap for LANRES For z/vm Customers - Where to go from here?

Program Directory for Hardware Configuration Definition and Hardware Configuration Manager for z/vm. function level 620. Program Number 5741-A07

Program Directory for Backup and Restore Manager for z/vm. version 1 release 3.0. Program Number 5697-J06

ZVM20: z/vm PAV and HyperPAV Support

Program Directory for Hardware Configuration Definition and Hardware Configuration Manager for z/vm. function level 520. Program Number 5741-A05

The Basics of Using z/vm

What is a VM? Categories of Virtual Machines. Process Virtual Machine 11/17/2010

z/vm Connectivity Version 5 Release 1 SC

Herding Clones. Mike Kershaw August 17, urmk/

IBM z/vm Single System Image and Live Guest Relocation Planning and Use

Session V61. Systems Management on z/vm Christine Casey z/vm Development - IBM Endicott, NY. IBM System z Expo September 17-21, 2007 San Antonio, TX

z/vm 6.4 Upgrade Installation Richard Lewis IBM Washington System Center Company

Program Directory for RACF Security Server for z/vm. function level 620. Program Number 5741-A07. for Use with z/vm version 6 release 2

V55 z/vm Device Support Overview

CA VM:Secure Single System Image Support. Brian Jagos VM Workshop

1) How many unique operating systems are available on IBM Z hardware? Answer Choice A58_

IBM z/vm V5.2 enhances scalability for virtualization on System z9 and zseries, including Linux guests

Program Directory for RACF Security Server for z/vm. function level 530. Program Number 5741-A05. for Use with z/vm version 5 release 3

Best practices with SUSE Linux Enterprise Server Starter System and extentions Ihno Krumreich

z/vm: The Value of zseries Virtualization Technology for Linux

z/vm Security Essentials

Program Directory for IBM Tivoli OMEGAMON XE on z/vm and Linux. version 4 release 3.0. Program Number 5698-A36

VM Parallel Access Volume (PAV) and HyperPAV Support

z/os 2.1 HCD HMCwide Dynamic Activate

Planning and Migrating to z/vm Single System Image (SSI)

A History of Virtualization

Program Directory for RACF Security Server for z/vm. function level 630. Program Number 5741-A07. for Use with z/vm version 6 release 3

High Availability. Neale Ferguson Sine Nomine Associates Tuesday 13 August,

COMP 3400 Mainframe Administration 1

ZVM17: z/vm Device Support Overview

Program Directory for Hardware Configuration Definition and Hardware Configuration Manager for z/vm. Function Level 440. Program Number 5741-A05

z/vm Installation Guide version6release2 GC

z/vm 6.3 Upgrade Installation Richard F. Lewis Executive I/T Specialist IBM Washington System Center

High Availability and Automatic Network Failover of the z/vm VSWITCH

Program Directory for IBM Security zsecure Manager for RACF z/vm. Version 1 Release Program Number 5655-T13

VM & VSE Tech Conference May Orlando Session G41 Bill Bitner VM Performance IBM Endicott RETURN TO INDEX

Planning and Migrating to z/vm Single System Image (SSI)

z/vm Platform Update Advancing the Art of Virtualization with z/vm Version 5 Release 4

z/vm Installation Guide Version4Release3.0 GC

z/vm Version 5 Release 4

Planning and Migrating to z/vm Single System Image (SSI)

IBM z/vm V4.4 Improves Virtualization Capabilities for Linux on zseries

Rational Development and Test Environment

New z/vm Systems and Storage Management Products from IBM Part 2

z/vm Version 7 Release 1 General Information IBM GC

IBM Cloud Manager with OpenStack: z/vm Integration Considerations

Program Directory for z/vm

IBM Infrastructure Suite for z/vm and Linux: Introduction IBM Wave

IBM GLOBAL SERVICES V51. The Evolution of IBM Mainframes and VM. Jim Elliott. San Francisco, CA. September 19-23,

IBM z/vm V4R2 Extends Core Technology Support for the IBM zseries

Hypervisors & related technologies Arwed Tschoeke Client Center Böblingen

IBM Washington Systems Center TechDocs. Configuring z/vm PerfKit for Performance Monitoring z/vm 6.3 edition

z/vm Live Guest Relocation - Planning and Use

VM/ESA Data in Memory Techniques

Session 5540 Linux Printing

Using RSCS in the New Millennium. Share Conference Boston

VM File Systems Overview

z/vm Security and Integrity

z/vm General Information version6release1 GC

General-Purpose SFS Server for Large File Transfer. Sine Nomine Associates Blacksmith Square Ashburn, VA 20147

Mainframe in a Tiny Box: What a Wonderful Concept, a Developer's Dream Come True by Stan H. King Order of Knights of VM

Managing I/O Configuration from z/vm

Program Directory for Remote Spooling Communications Subsystem (RSCS) Networking for z/vm. function level 640. Program Number 5741-A07

Guide for Automated Installation and Service

RACF/VM: Protecting your z/vm system from vandals and other cyberspace miscreants

TRACK TRACK for VM What What s happening in your Virtual Machine? irtual Review & Lab

Program Directory for Performance Toolkit for VM. function level 520. Program Number 5741-A05. for Use with z/vm version 5 release 2

A Gentle Introduction to z/vm System Installation for the Inexperienced

CA MIM Resource Sharing for z/vm

The Master Console Center (MCC) automates and enhances data center operations by:

EView/390z Insight for Splunk v7.1

IBM Systems and Technology Group. Abstract

REXXIUCV: VM REXX PROGRAMMING SUPPORT FOR IUCV SHARE 75 (NEW ORLEANS, LOUISIANA) SESSION O739

Virtual Machines WHEN YOU FINISH READING THIS CHAPTER YOU SHOULD BE ABLE TO:

z/vm Service Critical Issues

z/vm V3R1 Enabled for 64-bit Architecture

Guide for Automated Installation and Service

Transcription:

COMP 3400 Mainframe Administration 1 Christian Grothoff christian@grothoff.org http://grothoff.org/christian/ 1 These slides are based in part on materials provided by IBM s Academic Initiative. 1

The Mainframe World: RAS The acronym RAS summarizes the key goals of mainframe systems: Reliability Availability Serviceability Keep these goals in mind whenever you look at mainframe technology. 2

z/vm Overview Two basic parts: CP Control Program CMS Conversational Monitor System History CP-67, VM/370, VM/SP, VM/HPO, VM/XA, VM/ESA, z/vm CMS is a mainframe operating system like z/os, but rather primitive (used to administer z/vm systems). 3

z/vm vs. VMware VMware can emulate a few (common) PC configurations with few variations z/vm can emulate any IBM mainframe hardware configuration since S/360 that has ever been on the market 4

z/vm in Practice 5

z/vm Terminology Guest: system running in a VM (also known as user) Running second level: guest in a VM which itself is a guest in a VM Logical Partition (LPAR): VM in hardware Logical Processor: LPAR equivalent of a virtual processor Running native or in BASIC mode: LPAR running without 6

IML and IPL IML: Initial Machine/Microcode Load; analogous to LPAR image activation IML starts CP IPL: Initial Program Load; analogous to booting an operating system IPL loads a kernel (CMS, Linux); initiated via CP s IPL command 7

SIE SIE Start Interpretive Execution (assembly instruction) z/vm (and the LPAR hypervisor) uses SIE to run guests SIE has access to a control block with virtual processor state and dynamic address translation tables Control returns to z/vm on page faults, certain types of I/O, CPU timer expiration, etc. 8

Shared Memory 9

Name Saved Segments (NSS) NSS and Discontiguous Shared Segments (DCSS) allow groups of users to share applications, data and operating systems. Accessed using names ( LNXTST, CMS ) instead of virtual device numbers ( IPL 580 ) A list of all NSS can be obtained using Q NSS ALL NSS contain IPL-able operating systems DCSS contain shared data or code 10

VMSES/E The Virtual Machine Serviceability Enhancements Staged/Extended (VMSES/E) subsystem helps with: Installation of z/vm, VMSES/E products and patches Definition, building and managing of NSS 11

Memory Management Responsibilities VM: Paging between storage classes (central and expanded) Stealing from central and expanded storage based on LRU Paging activity is considered normal LPAR: Dedicated storage, no paging Linux: Pages on per-page basis to swap disks Does not swap entire processes Paging considered bad (let z/vm do it!) 12

Device Management Concepts Dedicated or attached: The guest has exclusive use of the entire real device. Virtualized: Present a slice (in time or space) of a real device to multiple virtual machines Examples: DASD, crypto devices, CPs Simulated: Provide a device without the help of real hardware Examples: vitual disks, guest LANs, spool devices Emulated: Provide a device of one type on top of a device of a different type 13

z/vm logon 14

IP: 192.86.33.79 Use x3270 to LOGON IPL CMS LOGOFF Login Information 15

Execution Modes CP Read CP is waiting for a command VM Read CMS is waiting for a command Running Ready for commands or working More... More info than can fit on screen (ALT-2) Holding Waiting for you to clear the screen (ENTER) Not Accepted Too many commands in buffer 16

Starting and Stopping CMS #CP IPL CMS (re)start entire CMS session #CP LOGOFF sign off 17

z/vm User Directory A z/vm user directory defines: Memory Architecture Processors Spool devices Network devices Disk devices... 18

z/vm User Directory: Example USER LINUX01 MYPASS 512M 1024M G MACHINE ESA 2 IPL 190 PARM AUTOCR CONSOLE 01F 3270 A SPOOL 00C 2540 READER * SPOOL 00D 2540 PUNCH A SPECIAL 500 QDIO 3 SYSTEM MYLAN LINK MAINT 190 190 RR MDISK 191 3390 012 001 ONEBIT MW MDISK 200 3390 050 100 TWOBIT MR 19

Directory Maintenance Facility (DirMaint) DIRMAINT consists of a command ( DIRMAINT ) and the DIRMAINT service machine (a guest in the sysplex). The DIRMAINT command routes commands to the DIRMAINT service machine. EXEC DIRMAINT [PREFIX] OPERATION ARGUMENTS More details are in z/vm Basics, chapter 9.11 and z/vm: Directory Maintenance Facility Tailoring and Administration Guide, SC24-6135. 20

Adding Users with DIRMAINT EXEC DIRMAINT ADD userid LIKE prototype PW newpas EXEC DIRMAINT ADD profile EXEC DIRMAINT FOR userid GET EXEC DIRMAINT FOR userid REPLACE By default, GET locks the user directory and REPLACE automatically unlocks it (LOCK prevents retrieval or modification by other users). 21

CP Commands Information about all CP commands is in the CP Commands and Utilities Reference, chapter 2. DEFINE defines virtual device or disk LINK link minidisks (give local number) DETACH opposite of LINK QUERY obtain information 22

CP Commands: DEFINE DEFINE can change the configuration of the VM or OS, including adding new commands and virtual hardware. DEFINE NIC vdev TYPE QDIO Define a Network Interface Card (NIC) of type OSA Direct Express (QDIO). 23

CP Commands: LINK Use LINK to make a device associated with another virtual machine available to your VM configuration: LINK [TO] userid vdev1 [AS] vdev2 MODE [[PASS=] password] Links to userid s vdev1 (virtual device number as defined in the user s entry in the system directory), making the device available as vdev2 with access mode MODE (i.e. RR read only). 24

CP Commands: DETACH Use DETACH to detach a real device from a virtual machine: DETACH CRYPTO 1 DETACH CPU 1-3 If the guest is using the device, this can cause problems (and may require re-ipl-ing). 25

CP Commands: QUERY Use QUERY STUFF to obtain information about STUFF. Examples include: QUERY DASD QUERY [VIRTUAL] CRYPTO QUERY CPLEVEL QUERY CMSLEVEL QUERY USERS QUERY VIRTUAL CPUS QUERY TIME 26

Other CP Commands ENABLE enable access to terminal devices, try this if users can not logon DISABLE disable access to terminal devices FORCE disconnect or logoff active users CPACCESS access special PRAM disks used by CP AUTOLOG log on another virtual machine automatically, useful for daemons like DIRMAINT) WARNING send message to users SET change various properties of the system 27

Spool Devices Spool devices are used to read, write or process an ordered list of files (data) kept in a queue. The canonical spool devices are: Reader (000C) virtual punch card reader Punch (000D) virtual punch card punch Printer (000E) virtual printer 28

Modern Use of Spool Devices Mail box for files Booting of operating systems (Linux) 29

Managing spool devices DEFINE READER 00C define device 00C as reader DETACH 00C remove reader QUERY READER ALL list files in reader queue PURGE READER NUMBER/ALL remove file from queue TRANSFER yourid READER filenumber destid READER 30

Data Facility Storage Management (DFSMS) Integrity checking of CMS minidisks Migration of CMS minidisks between DASDs Assignment of storage classes to SFS storage; manual and automatic migration of SFS storage between DASDs Data compression Performance analysis (DFSMS Optimizer) 31

z/vm Components CP Control Program (already discussed) DirMaint Directory Maintenance (already discussed) DFSMS Data Facility Storage Management (already discussed) CMS Conversational Monitor System (next lecture) TCP/IP TCP/IP support (lecture 15) RACF Security manager (lecture 16) Performance monitoring toolkit (lecture 17) Many more overview now! 32

Communications support z/vm includes various subsystems related to remote login and communication between applications: Virtual Telecommunications Access Method (VTAM) is the basic package for SNA communications (including remote login) Group Control System (GCS) supports certain VTAMrelated needs of SNA networks Advanced VTAM Support (AVS) provides Advanced Program-to-Program Communication (APPC, related to the APPN extension of SNA) on top of GCS 33

Hardware Configuration Definition and Manager (HCD/HCM) Alternative (graphical) method for managing z/vm hardware configuration HCM is a graphical interface (running on W32) HCD is part running inside of z/vm (and/or z/os) using the configuration HCD can also be used to change the configuration HCD stores configuration in the input/output definition file (IODF), 34

a single source for all hardware and software definitions for an entire system (multiple LPARs / VMs or even entire sysplex environment). 35

Open Systems Adapter Support Facility (OSA/SF) OSA is a network controller (in the mainframe s I/O cage) supporting up to 10 Gbps data transfers. OSA/SF is the z/vm subsystem for supporting this hardware. 36

Remote Spooling Communication Subsystem (RSCS) Used for communication with remote users and printers Like SMTP queues messages locally until remote communication is available Protocol used is the network job entry (NJE) protocol RSCS can run over SNA and TCP/IP networks 37

Questions? 38