Z/VM and Linux Operations for Z/OS System Programmers
Total Page:16
File Type:pdf, Size:1020Kb
Front cover z/VM and Linux Operations for z/OS System Programmers An introduction to z/VM and Linux for z/OS programmers Migrate z/OS to a z/VM guest system Install and manage Linux on System z Lydia Parziale Omar Badreddin Roy P Costa Rodrigo Ceron Ferreira de Castro Marian Gasparovic Kenneth P Haas Guillaume Lasmayous Raymond Van Deurs ibm.com/redbooks International Technical Support Organization z/VM and Linux Operations for z/OS System Programmers October 2008 SG24-7603-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (October 2008) This edition applies to z/VM Version 5, Release 3, modification 0 (product number 5741-A05). © Copyright International Business Machines Corporation 2008. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this book . xi Become a published author . xiii Comments welcome. xiii Chapter 1. Why z/VM and Linux for System z?. 1 1.1 Why z/VM? . 2 1.1.1 The Virtual Machine Capability of z/VM . 2 1.1.2 z/VM offers proven system integrity, security, reliability . 4 1.2 Why Linux? . 4 1.3 Why Linux and z/OS together with z/VM?. 5 1.3.1 Server simplification . 5 1.3.2 Ten great reasons to run Linux as a guest of z/VM . 7 Chapter 2. Introducing z/VM to z/OS system programmers . 9 2.1 Overview of virtualization . 10 2.1.1 Benefits of virtualization . 10 2.1.2 How virtualization works . 12 2.1.3 Virtualization on the mainframe. 13 2.2 Overview of z/VM . 13 2.2.1 History of z/VM . 14 2.2.2 About z/VM . 16 2.2.3 First-level versus second-level guest system . 17 2.2.4 User directory . 18 2.3 Components of z/VM. 20 2.3.1 Control Program . 21 2.3.2 Conversational Monitor System . 21 2.3.3 TCP/IP. 23 2.3.4 APPC/VM VTAM Support (AVS). 23 2.3.5 Dump Viewing Facility. 24 2.3.6 Group Control System (GCS) . 24 2.3.7 HCD and HCM for z/VM . 24 2.3.8 Language Environment . 25 2.3.9 OSA/SF . 26 2.3.10 REXX/VM . 26 2.3.11 TSAF . 26 © Copyright IBM Corp. 2008. All rights reserved. iii 2.3.12 VMSES/E . 27 2.3.13 DFSMS/VM . 27 2.3.14 Directory Maintenance Facility for z/VM . 28 2.3.15 Performance Toolkit for VM . 29 2.3.16 RACF Security Server for z/VM . 30 2.3.17 RSCS Networking for z/VM. 31 2.4 Control Program (CP) . 33 2.4.1 CP functions and concepts . 33 2.4.2 CP modes of execution . 35 2.5 Conversational Monitor System (CMS) . 35 2.5.1 Overview of the HELP command in CMS . 36 2.5.2 Layers (levels) of help . 39 2.5.3 Other help options. 42 2.5.4 Other ways to get help . 42 2.5.5 Getting help for error messages . 43 2.5.6 Tips for using the Help system . 43 2.5.7 Exiting the Help system. 44 2.6 Networking options in z/VM. 44 2.6.1 OSA adapters . 44 2.6.2 HiperSockets. 44 2.6.3 HiperSockets for fast LPAR communication . 46 2.6.4 VSWITCH . 49 2.6.5 Further information about networking . 50 2.7 Consoles . 50 2.7.1 The Hardware Management Console . 51 2.7.2 The primary system operator console. 53 2.7.3 The z/VM virtual consoles . 53 2.7.4 The virtual machine guest systems console . 54 2.7.5 Getting to know your virtual console . 54 2.7.6 Session management . 59 2.7.7 Terminal management . 62 2.8 Getting started with basic commands for z/VM . 65 2.8.1 CP . 66 2.8.2 CMS . 72 2.8.3 XEDIT . 77 Chapter 3. Introducing Linux on System z to z/OS system programmers95 3.1 Overview of Linux . 96 3.1.1 History of Linux . 96 3.1.2 Components of Linux . 97 3.1.3 Linux on System z distributions. 97 3.2 Getting started with Linux . 100 3.2.1 The file system and root user . 100 iv z/VM and Linux Operations for z/OS System Programmers 3.2.2 Basic starting steps . 102 3.2.3 File permissions . 110 3.2.4 Job control. 114 3.2.5 Linux vi editor . 115 3.3 Exploring further . 120 Chapter 4. Installing z/VM and creating Linux or z/OS guests . 121 4.1 Initial installation of z/VM, compared to z/OS . 122 4.1.1 Installation methods and deliveries . 122 4.1.2 z/VM delivery. ..