Z/VM and Linux on IBM System Z: the Virtualization Cookbook for SLES9
Total Page:16
File Type:pdf, Size:1020Kb
Front cover z/VM and Linux on IBM System z: The Virtualization Cookbook for SLES9 A cookbook for installing z/VM and Linux on the mainframe Running Linux servers under z/VM made simple Updated for z/VM 5.2 and SLES9 SP3 Michael MacIsaac Jin Xiong ibm.com/redbooks International Technical Support Organization z/VM and Linux on IBM System z: The Virtualization Cookbook for SLES9 April 2006 SG24-6695-01 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. Second Edition (April 2006) This edition applies to z/VM Version 5, Release 2 and multiple Linux distributions. SuSE LINUX Enterprise Server 9, Service Pack 3 is used for the examples in this book. © Copyright International Business Machines Corporation 2005, 2006. 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 Conventions . xii Become a published author . xii Comments welcome. xii Summary of changes. .xv April 2006, Second Edition. .xv Chapter 1. Introduction to z/VM and Linux . 1 1.1 What is virtualization? . 2 1.2 A philosophy adopted in this book . 2 1.3 Choices and decisions made in this book . 2 1.4 IBM Director and z/VM Center Extension . 3 1.5 Infrastructure design . 3 1.6 Usability tests performed for this book . 4 1.7 The chapters in this book . 4 Chapter 2. Planning . 7 2.1 Bill of materials . 8 2.1.1 Hardware resources . 8 2.1.2 Software resources . 8 2.1.3 Networking resources . 8 2.2 z/VM conventions . 9 2.2.1 Volume labeling convention . 9 2.2.2 Backup file naming convention . 10 2.2.3 The command retrieve convention . 10 2.3 Password planning . 10 2.4 Planning worksheets . 11 2.4.1 z/VM resources used in this book . 11 2.4.2 z/VM DASD used in this book. 12 2.4.3 Linux resources used in this book. 13 2.4.4 Linux user IDs used in this book . 13 2.5 Blank worksheets . 14 2.5.1 z/VM resources worksheet . 14 2.5.2 z/VM DASD worksheet . 15 2.5.3 Linux resources worksheet . 16 2.5.4 Linux user ID worksheet . 16 Chapter 3. Configuring a desktop machine . 17 3.1 PuTTY: A free SSH client for Windows. 18 3.2 Setting up a VNC client . 22 3.2.1 Downloading and running RealVNC . 22 3.2.2 Customizing RealVNC . 22 3.3 3270 emulators . 23 © Copyright IBM Corp. 2005, 2006. All rights reserved. iii Chapter 4. Installing and configuring z/VM. 25 4.1 Installing z/VM from DVD . 26 4.1.1 Booting z/VM from DVD . 26 4.1.2 Copying a vanilla z/VM system to DASD . 28 4.1.3 IPL the vanilla z/VM from DASD . 31 4.1.4 Completing the z/VM installation. 32 4.2 Customizing the SYSTEM CONFIG file . 33 4.3 Configure the XEDIT profile . 35 4.4 Configure TCP/IP . 36 4.4.1 Use the IPWIZARD tool . 36 4.4.2 Configuring TCP/IP to start at IPL time. 38 4.4.3 Renaming the TCPIP configuration file. 39 4.4.4 Copy the PROFILE XEDIT file . 40 4.4.5 Configuring the FTP server. 40 4.4.6 Shutting down and reIPLing the system . 41 4.5 Adding paging volumes. 42 4.5.1 Formatting the paging volumes. 42 4.5.2 Formatting DASD for minidisks. 44 4.5.3 Updating the SYSTEM CONFIG file . 45 4.5.4 Testing the changes . 47 4.6 Creating a user ID for common files . 47 4.6.1 Define the user in the USER DIRECT file. 47 4.6.2 Logging and customizing the new user ID . 50 4.6.3 Copying a PROFILE XEDIT . 51 4.6.4 Creating a PROFILE EXEC . 51 4.6.5 Copying files associated with this book to LNXMAINT . 52 4.7 Customizing system startup and shutdown. ..