The Virtualization Cookbook for IBM Z System Volume 3: SUSE Linux Enterprise Server 12
Total Page:16
File Type:pdf, Size:1020Kb
Front cover The Virtualization Cookbook for IBM z Systems Volume 3: SUSE Linux Enterprise Server 12 Lydia Parziale Berthold Gunreben Filipe Miranda Paul W Novak Ken Werner Redbooks International Technical Support Organization The Virtualization Cookbook for IBM z Systems Volume 3: SUSE Linux Enterprise Server 12 October 2015 SG24-8890-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (October 2015) This edition applies to Version 6, Release 3 of IBM z/VM, and to SUSE Linux Enterprise Server 12. © Copyright International Business Machines Corporation 2015. 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 . vii Trademarks . viii IBM Redbooks promotions . ix Preface . xi Description of volumes in this series . xi Conventions . xii Font conventions used in this book. xii Command conventions used in this book . xii Operating system releases used . xii Authors. xiii Special thanks . xiv Now you can become a published author, too . .xv Comments welcome. .xv Stay connected to IBM Redbooks . .xv Summary of changes. xvii Summary of changes in this book . xvii Part 1. SUSE Linux Enterprise Server 12 . 1 Chapter 1. Installing SUSE Linux Enterprise Server 12 on LNXADMIN . 3 1.1 Preparing the SUSE Linux Enterprise Server bootstrap files . 4 1.2 Installing SUSE Linux Enterprise Server 12 onto the Linux administration system . 6 1.3 Configuring the SUSE Linux Enterprise Server 12 administration system . 14 1.3.1 Enabling swap on the virtual disks . 14 1.3.2 Setting up the data DASD disk . 15 1.3.3 Copying the SUSE Linux Enterprise Server 12 Installation tree to LNXADMIN . 17 1.3.4 Configuring the FTP server. 17 1.3.5 Reconfigure the Software Repositories. 19 1.3.6 Configuring graphical YaST . 20 1.3.7 Applying service if necessary: Online update . 21 1.3.8 Rebooting the system . 22 1.3.9 Verify that the system comes up correctly . 22 Chapter 2. Automating SUSE Linux Enterprise Server 12 installation using the AutoYaST tool . 23 2.1 Getting started with AutoYaST . 24 2.2 Creating an AutoYaST XML file . 24 2.3 Run the automated installation . 34 Chapter 3. Creating appliances with KIWI . 37 3.1 Set up KIWI on LNXADMIN . 39 3.1.1 Add disks for KIWI . 39 3.1.2 Install the required packages . 41 3.1.3 Create a basic KIWI configuration. 42 3.2 Options to adapt the KIWI image . 45 3.2.1 Add more software packages . 45 3.2.2 Add software repositories . 46 © Copyright IBM Corp. 2015. All rights reserved. iii 3.2.3 Update configurations and services in the target system . 47 3.2.4 Reduce the initial zipl boot timeout . 47 3.2.5 Update the System during first boot . 47 3.2.6 Replace or add configuration files. 49 3.2.7 Manually provide an update script . 49 3.2.8 Add more software not available in SUSE Linux Enterprise Server 12. 50 3.3 Create and clone the image . 50 3.4 More information . 51 Chapter 4. Servicing SUSE Linux Enterprise Server 12 . 53 4.1 System patching philosophies. 54 4.2 The Subscription Management Tool . 55 4.3 SUSE Manager on z Systems. 55 4.4 Managing software and repositories with zypper . 56 4.5 The btrfs and grub2 features on SUSE Linux Enterprise Server 12 . 56 Part 2. Other topics. 57 Chapter 5. Working with disks . 59 5.1 Add disk space to virtual machines. 60 5.1.1 Make new minidisks or CKD DASD available in SUSE Enterprise Linux 12 . 60 5.1.2 Making new EDEV available in SUSE Enterprise Linux 12 . 61 5.1.3 Make new zFCP LUN available in Linux. 62 5.2 Add a logical volume . 64 5.2.1 Create a logical volume and file system . 64 5.2.2 Update the file system table . 67 5.3 Extend an existing logical volume . 68 5.4 Moving a physical volume . 71 Chapter 6. Monitoring IBM z/VM and Linux . 75 6.1 Using basic z/VM commands . 76 6.1.1 Using the INDICATE command . 76 6.1.2 Use other basic commands. 78 6.2 The z/VM Performance Toolkit . 79 6.2.1 Configure the IBM Performance Toolkit for VM . 80 6.2.2 Configuring web browser support . 81 6.2.3 Configure PERFSVM . 82 6.2.4 Start the IBM Performance Toolkit for VM . ..