The Virtualization Cookbook
Total Page:16
File Type:pdf, Size:1020Kb
z/VM and Linux on IBM System z The Virtualization Cookbook A cookbook for installing and customizing z/VM 5.2 and Linux SLES 10 on the mainframe Marian Gasparovic, Michael MacIsaac, Carlos Ordonez, Jin Xiong . Contents Preface . ix Summary of changes to August 2006 version . ix Summary of changes to February 2007 version . ix Conventions . .x The team that wrote this trilogy . xi Comments welcome. xi Notices . xii Trademarks . xiii Part 1. z/VM . 1 Chapter 1. Introduction to z/VM and Linux . 3 1.1 What is virtualization? . 4 1.2 A philosophy adopted in this book . 4 1.3 Choices and decisions made in this book . 4 1.4 IBM Director and z/VM Center Extension . 5 1.5 Infrastructure design . 5 1.6 Usability tests performed for this book . 6 1.7 The chapters in this book . 7 Chapter 2. Planning . 9 2.1 Bill of materials . 9 2.1.1 Hardware resources . 9 2.1.2 Software resources . 10 2.1.3 Networking resources . 10 2.2 z/VM conventions . 10 2.2.1 Volume labeling convention . 11 2.2.2 Backup file naming convention . 11 2.2.3 The command retrieve convention . 12 2.3 Disk planning. 12 2.4 Memory planning. 13 2.5 Password planning . 13 2.6 Planning worksheets . 14 2.6.1 z/VM resources used in this book . 14 2.6.2 z/VM DASD used in this book. 15 2.6.3 Linux resources used in this book. 16 2.6.4 Linux user IDs used in this book . 16 2.7 Blank worksheets . 17 2.7.1 z/VM resources worksheet . 17 2.7.2 z/VM DASD worksheet . 18 2.7.3 Linux resources worksheet . 19 2.7.4 Linux user ID worksheet . 19 Chapter 3. Configuring a desktop machine . 21 3.1 PuTTY: A free SSH client for Windows. 21 3.2 Setting up a VNC client . 25 3.2.1 Downloading and running RealVNC . 25 3.2.2 Customizing RealVNC . 26 © Copyright IBM Corp. 2007. All rights reserved. iii 3.3 3270 emulators . 27 Chapter 4. Installing and configuring z/VM. 29 4.1 Installing z/VM from DVD . 29 4.1.1 Booting z/VM from DVD . 30 4.1.2 Copying a vanilla z/VM system to DASD . 32 4.1.3 IPL the vanilla z/VM from DASD . 35 4.1.4 Completing the z/VM installation. 37 4.2 Configuring TCP/IP . 38 4.2.1 Use the IPWIZARD tool . 39 4.3 Configuring the XEDIT profile . 41 4.4 Customizing the SYSTEM CONFIG file . 42 4.5 Configuring TCP/IP to start at IPL time . 43 4.5.1 Renaming the TCPIP configuration file. 45 4.5.2 Copy the PROFILE XEDIT file . 45 4.5.3 Configuring the FTP server. 45 4.5.4 Shutting down and reIPLing the system . 46 4.6 Adding paging volumes. 47 4.6.1 Formatting the paging volumes. 47 4.6.2 Formatting DASD for minidisks. 49 4.6.3 Updating the SYSTEM CONFIG file . 51 4.6.4 Testing the changes . 52 4.7 Creating a user ID for common files . 53 4.7.1 Define the user in the USER DIRECT file. 53 4.7.2 Logging and customizing the new user ID . 55 4.7.3 Copying a PROFILE XEDIT . 55 4.7.4 Creating a PROFILE EXEC . 56 4.7.5 Copying files associated with this book to LNXMAINT . 56 4.8 Customizing system startup and shutdown. ..