Running Linux on IBM System Z9 and Zseries Under Z/VM
Total Page:16
File Type:pdf, Size:1020Kb
Front cover Running Linux on IBM System z9 and zSeries under z/VM Native SCSI support for z/VM Networking enhancements for Linux guests Layer 2 network support Gregory Geiselhart Klaus Egeler Lutz Kühner Markku Kymalainen Esthon Medeiros Karl-Erik Stenfors ibm.com/redbooks International Technical Support Organization Running Linux on IBM System z9 and zSeries under z/VM February 2006 SG24-6311-00 Note: Before using this information and the product it supports, read the information in “Notices” on page v. First Edition (February 2006) This edition applies to z/VM Version 5, Release 1 and multiple Linux distributions. SUSE Linux Enterprise 8 (SLES8) and Red Hat Enterprise Linux 3 (RHEL 3) are used for examples in this publication. © Copyright International Business Machines Corporation 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 . v Trademarks . vi Preface . vii The team that wrote this redbook. vii Become a published author . viii Comments welcome. ix Chapter 1. Installing z/VM 5.1. 1 1.1 Installation from DVD . 2 1.2 First level installation from DVD . 2 1.2.1 Establish an Integrated 3270 Console session . 2 1.2.2 Access the primary Support Element . 3 1.2.3 Load the z/VM 5.1 RAMDISK . 6 1.2.4 IPL the RAMDISK . 9 1.2.5 Load the system image . 12 1.2.6 IPL the installed z/VM 5.1 system . 14 1.2.7 Apply the Recommended Service Upgrade . 16 1.3 Second level installation from DVD . 17 1.3.1 Set up the userid for installation . 17 1.3.2 Run the DVDPRIME EXEC. 18 1.4 Installation to FCP-attached SCSI disk . 20 1.4.1 Planning for installation . 22 1.4.2 Emulated FBA disks . 23 1.4.3 Installation steps . 24 1.5 TCP/IP configuration . 28 1.5.1 Configuring TCP/IP with the IPWIZARD command . 28 1.5.2 Using the IFCONFIG command . 32 Chapter 2. Networking enhancements for z/VM 5.1 . 33 2.1 Virtual Switch enhancements . 34 2.2 VSWITCH configuration . 34 2.3 Define the VSWITCH controller. 35 2.4 Define the VSWITCH . 37 2.4.1 Supplying OSA port names. 39 2.5 Authorize guests to access the VSWITCH . 39 2.5.1 Using CP authorization . 40 2.5.2 Using RACF authorization. 41 2.6 Connect the guest to the VSWITCH . 42 © Copyright IBM Corp. 2006. All rights reserved. iii 2.7 Configuring a Layer 2 VSWITCH in z/VM . 42 2.7.1 The VMLAN statement . 43 2.7.2 Assigning a specific MAC address . 45 2.8 Configuring a Layer 2 VSWITCH in Linux . 45 Chapter 3. Cryptographic hardware support . 47 3.1 Configuring the LPAR to use cryptographic devices . 48 3.1.1 LPAR definition . 49 3.2 Configuring the z/VM system . 50 3.3 Configuring SSL for Apache . 51 3.3.1 Load the hardware device driver. 52 3.3.2 Verify OpenSSL supports IBM cryptographic hardware . 54 3.3.3 Generate certificate and keys for SSL . 55 3.3.4 Configure the Apache Web server . 57 3.3.5 Accessing the Web server . 58 Appendix A. z/VM and Linux for zSeries in an On Demand environment 61 IBM Tivoli Intelligent ThinkDynamic Orchestrator . 62 Related publications . 65 IBM Redbooks . 65 Other publications . 65 Online resources . 66 How to get IBM Redbooks . 66 Help from IBM . 66 Index . 67 iv Running Linux on IBM System z9 and zSeries under z/VM Notices This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing, IBM Corporation, North Castle Drive Armonk, NY 10504-1785 U.S.A. The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. COPYRIGHT LICENSE: This information contains sample application programs in source language, which illustrates programming techniques on various operating platforms. You may copy, modify, and distribute these sample programs in any form without payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming to the application programming interface for the operating platform for which the sample programs are written. These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply reliability, serviceability, or function of these programs. You may copy, modify, and distribute these sample programs in any form without payment to IBM for the purposes of developing, using, marketing, or distributing application programs conforming to IBM's application programming interfaces. © Copyright IBM Corp. 2006. All rights reserved. v Trademarks The following terms are trademarks of the International Business Machines Corporation in the United States, other countries, or both: Eserver ® Enterprise Storage Server® RACF® pSeries® ECKD™ S/390® xSeries® FICON® System z9™ z/OS® HiperSockets™ Tivoli® z/VM® IBM® TotalStorage® zSeries® Redbooks™ Virtualization Engine™ z9™ Redbooks (logo) ™ The following terms are trademarks of other companies: IPX, and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Intel, Intel logo, Intel Inside logo, and Intel Centrino logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States, other countries, or both. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, and service names may be trademarks or service marks of others. vi Running Linux on IBM System z9 and zSeries under z/VM Preface This IBM® Redbook discusses running Linux® under z/VM® on IBM System z9™ and zSeries® platforms. It describes enhancements introduced in z/VM Version 5.1. We describe installing z/VM on FCP-attached SCSI disks. Configured as emulated Fixed Block Architecture (FBA) disks, z/VM 5.1 can use FCP-attached disks for its system paging, spooling, directory, and minidisks. z/VM 5.1 adds new functions for Virtual Switches. For increased network security, guests must have authorization before connecting to a VSWITCH. z/VM 5.1 introduces VSWITCH Layer 2 support. Operating at Layer 2, a VSWITCH delivers and receives network traffic in Ethernet frames. This provides the ability to handle non-IP protocols such as SNA, NetBIOS, and IPX. In addition, Layer 2 support reduces network latency and CPU overhead. The team that wrote this redbook This redbook was produced by a team of specialists from around the world working at the International Technical Support Organization, Poughkeepsie Center. Gregory Geiselhart is a Project Leader for Linux on zSeries at the International Technical Support Organization, Poughkeepsie Center. Klaus Egeler is an IT Systems Management Specialist with IBM Global Services, Germany. He has more than 15 years of experience as a VSE and VM Systems Programmer.