Red Hat SATELLITE 5.1.0 RELEASE NOTES Installationshandbuch Seite 1

Stöbern Sie online oder laden Sie Installationshandbuch nach Software Red Hat SATELLITE 5.1.0 RELEASE NOTES herunter. Red Hat SATELLITE 5.1.0 RELEASE NOTES Installation manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 268
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - The Virtualization Cookbook

ibm.com/redbooksFront coverz/VM and Linux on IBM System zThe Virtualization Cookbookfor Red Hat Enterprise Linux 5.2Michael MacIsaacBradford HinsonLes

Seite 2

viii The Virtualization Cookbook for Red Hat Enterprise Linux 5.2How to get Redbooks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 3 - October 2008

82 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2To invoke the new CP load module, use the SHUTDOWN REIPL command. When your system com

Seite 4 - First Edition (October 2008)

Chapter 5. Servicing z/VM 83This shows information about the TCPIP MODULE. Use the TCPSLVL command and the complete file specification (TCPIP MODULE

Seite 5 - Contents

84 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 6

© Copyright IBM Corp. 2008. All rights reserved. 85Chapter 6. Configuring a Network File System server for RHEL 5.2A common method of installing Linux

Seite 7 - Contents v

86 The Virtualization Cookbook for Red Hat Enterprise Linux 5.26.1 Installing Linux on the PCIf you do not have a Linux PC, then you must obtain acc

Seite 8

Chapter 6. Configuring a Network File System server for RHEL 5.2 876.3.1 Copying from physical DVDRHEL 5.2 is distributed on physical CDs or files t

Seite 9 - Contents vii

88 The Virtualization Cookbook for Red Hat Enterprise Linux 5.26.3.3 Copying the DVD contentsCopy the contents of the ISO image to the file system.

Seite 10

Chapter 6. Configuring a Network File System server for RHEL 5.2 89make the files associated with this book available. First make a backup copy of th

Seite 11

90 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 12 - Trademarks

© Copyright IBM Corp. 2008. All rights reserved. 91Chapter 7. Installing RHEL 5.2 on the controllerAt this point, you must have created a new z/VM use

Seite 13 - The team that wrote this book

© Copyright IBM Corp. 2008. All rights reserved. ixNoticesThis information was developed for products and services offered in the U.S.A. IBM may not o

Seite 14

92 The Virtualization Cookbook for Red Hat Enterprise Linux 5.27.1 Installing the controllerIn this section you will install the RHEL 5.2 controller

Seite 15 - Chapters and appendixes

Chapter 7. Installing RHEL 5.2 on the controller 935 This provides read access to the LNXMAINT 192 disk as the user’s 191 disk.6 This provides read a

Seite 16

94 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2====> all /gap/|/overlap/-------------------- 4 line(s) not displayed -----------

Seite 17 - Comments welcome

Chapter 7. Installing RHEL 5.2 on the controller 95file, and an initial RAMdisk. The fourth file is a configuration file stored on a CMS disk that th

Seite 18

96 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 RHEL52 EXEC D1 V 69 9 1 7/15/08 9:43:52SWAPGEN

Seite 19

Chapter 7. Installing RHEL 5.2 on the controller 97After:==> x lnxinst conf-rh5DASD=100-10f,300-30fHOSTNAME=<virtc530.itso.ibm.com>NETTYPE=q

Seite 20 - 1.1 What is virtualization

98 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2NICDEF statement in the USER DIRECT file), and that two VDISKs have been created at vi

Seite 21 - 1.2 This book’s approach

Chapter 7. Installing RHEL 5.2 on the controller 99DMSACP723I A (191) R/O DMSACP723I C (592) R

Seite 22 - 1.4 Infrastructure design

100 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 7-1 Initial window of installer3. The Choose a Language window should appear

Seite 23

Chapter 7. Installing RHEL 5.2 on the controller 101Figure 7-2 NFS setup window6. Now the curses windows should end and the install program (anacon

Seite 24

x The Virtualization Cookbook for Red Hat Enterprise Linux 5.2TrademarksIBM, the IBM logo, and ibm.com are trademarks or registered trademarks of Int

Seite 25 - Planning

102 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 7-4 Enter installation number3. Because the disks were just formatted by CPF

Seite 26 - 2.1 Bill of materials

Chapter 7. Installing RHEL 5.2 on the controller 103Figure 7-5 Formatting DASD for Linux use5. The installer now searches for a previous installati

Seite 27 - 2.2 z/VM conventions

104 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 7-6 Choosing custom disk partitioning7. Disks dasda through dasde should sho

Seite 28 - 2.3 Disk planning

Chapter 7. Installing RHEL 5.2 on the controller 1058. Click the New button again, again deselecting all drives except dasda. Under Mount Point, sele

Seite 29 - Disk storage per Linux image

106 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 7-9 Configuring the /nfs logical volume13.Enter install_lv for the Logical V

Seite 30 - 2.5 Password planning

Chapter 7. Installing RHEL 5.2 on the controller 10716.At the Network Configuration window, network settings have been automatically taken from the L

Seite 31 - 2.6 Planning worksheets

108 The Virtualization Cookbook for Red Hat Enterprise Linux 5.220.Remove the majority of the package groups as follows:a. Under Desktop Environments

Seite 32

Chapter 7. Installing RHEL 5.2 on the controller 1097.2 Configuring the controllerNow that your controller is installed, it must be configured. The

Seite 33

110 The Virtualization Cookbook for Red Hat Enterprise Linux 5.27.2.2 Retiring the PC NFS serverYou have now copied all files related to this book t

Seite 34 - 2.7 Blank worksheets

Chapter 7. Installing RHEL 5.2 on the controller 111Import the RPM key:# cd /nfs/rhel5.2# rpm --import RPM-GPG-KEY-redhat-releaseYou are now ready to

Seite 35 - 2.7.2 z/VM DASD worksheet

© Copyright IBM Corp. 2008. All rights reserved. xiPrefaceThis IBM® Redbooks® publication describes how to “roll your own” Linux® virtual servers on I

Seite 36

112 The Virtualization Cookbook for Red Hat Enterprise Linux 5.27.2.6 Turning off unneeded servicesA number of services are started in an RHEL 5.2 m

Seite 37 - Configuring a desktop machine

Chapter 7. Installing RHEL 5.2 on the controller 113Turn off the following services using the chkconfig command:# chkconfig cups off# chkconfig iptab

Seite 38

114 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Set a VNC password using the vncpasswd command. This password will be needed to conne

Seite 39 - Figure 3-2 Setting logging

Chapter 7. Installing RHEL 5.2 on the controller 115Figure 7-13 VNC client session to the VNC serverNote that the VNC server will not be started au

Seite 40

116 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Set the NFS server to start at boot time and for this session.# chkconfig nfs on# ser

Seite 41 - Saving sessions

Chapter 7. Installing RHEL 5.2 on the controller 117...touch /var/lock/subsys/localmodprobe vmcp The vmcp command will now be available after the nex

Seite 42 - 3.2 Setting up a VNC client

118 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 43 - 3.3 3270 emulators

© Copyright IBM Corp. 2008. All rights reserved. 119Chapter 8. Installing and configuring RHEL 5.2In this chapter, you will install the copy of Linux

Seite 44

120 The Virtualization Cookbook for Red Hat Enterprise Linux 5.28.1 Installing the golden imageIn this section you will install the RHEL 5.2 golden

Seite 45

Chapter 8. Installing and configuring RHEL 5.2 121====> all /gap/|/overlap/-------------------- 4 line(s) not displayed --------------------

Seite 46 - 4.1 Installing z/VM from DVD

xii The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Production of this IBM Redbooks publication was managed by:Lydia Parziale is a Projec

Seite 47

122 The Virtualization Cookbook for Red Hat Enterprise Linux 5.28.1.3 Preparing RHEL52 bootstrap filesNow that the RHEL52 user is defined, you must

Seite 48

Chapter 8. Installing and configuring RHEL 5.2 1238.1.4 Installing RHEL 5.2 to the golden imageInstall Linux again as described in 7.1.4, “Beginning

Seite 49

124 The Virtualization Cookbook for Red Hat Enterprise Linux 5.21. Select Choose custom layout. from the dropdown menu, then click Next.2. Create the

Seite 50 - ==> instplan

Chapter 8. Installing and configuring RHEL 5.2 125/dev/mapper/system_vg-root_lv on / type ext3 (rw)/dev/mapper/system_vg-usr_lv on /usr type ext3 (rw

Seite 51

126 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Make a backup copy of the file /etc/auto.master, then add the following line at the b

Seite 52 - Running INSTDVD

Chapter 8. Installing and configuring RHEL 5.2 1278.2.4 Adding additional RPMsWe recommend that you install the same packages as you did on the cont

Seite 53 - Figure 4-8 Load window

128 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Copy the public key to the name authorized_keys using the secure copy command scp:# s

Seite 54 - ==> disc

© Copyright IBM Corp. 2008. All rights reserved. 129Chapter 9. Configuring RHEL 5.2 for cloningAt this point you have completed the install of LNXINST

Seite 55

130 The Virtualization Cookbook for Red Hat Enterprise Linux 5.29.1 Formatting DASD for minidisksIn 4.6.2, “Formatting DASD for minidisks” on page 5

Seite 56 - 4.2 Configuring TCP/IP

Chapter 9. Configuring RHEL 5.2 for cloning 131MAINT DA57 MAINT DA57 3390 MMDA57 DA57 0 3339Detach the seven volumes from MAINT

Seite 57

Preface xiii2008In October 2008, two cookbooks were published, one targeting the Novell/SUSE® SLES distribution, the other targeting the Red Hat RHE

Seite 58

132 The Virtualization Cookbook for Red Hat Enterprise Linux 5.24. Again check for gaps and overlaps. You can use the ALL subcommand with the logical

Seite 59

Chapter 9. Configuring RHEL 5.2 for cloning 1339.2 Cloning a virtual server manuallyBefore using the clone script to clone a server, it is recommend

Seite 60

134 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Bring the newly copied LVM onlineTo access the root file system on the newly cloned g

Seite 61

Chapter 9. Configuring RHEL 5.2 for cloning 135DoneSetting device 0.0.2101 onlineDoneNow run vgscan and vgchange to activate the newly cloned LVM:# v

Seite 62 - not specified

136 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2# IBM QETHDEVICE=eth0BOOTPROTO=staticIPADDR=9.12.5.31SUBCHANNELS=0.0.0600,0.0.0601,0.

Seite 63

Chapter 9. Configuring RHEL 5.2 for cloning 137Linux version 2.6.18-92.el5 ([email protected]) (gcc version 4.1.2 20071124 (Red Hat

Seite 64

138 The Virtualization Cookbook for Red Hat Enterprise Linux 5.23. Copy and then edit the supplied sample configuration file to reflect the values of

Seite 65 - 4.6 Adding paging volumes

Chapter 9. Configuring RHEL 5.2 for cloning 13900: DASD 0100 3390 LXAE23 R/W 3338 CYL ON DASD AE23 SUBCHANNEL = 000000: DASD 0101 3390 LXAE24

Seite 66

140 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Host name will be: linux01.example.comIP address will be: 10.1.40.91Do you want to c

Seite 67 - Using the CPFORMAT EXEC

Chapter 9. Configuring RHEL 5.2 for cloning 141Successfully cloned RHEL52 to LINUX01In the final section, the LINUX01 user ID is logged on using XAUT

Seite 68

xiv The Virtualization Cookbook for Red Hat Enterprise Linux 5.2򐂰 Chapter 6, “Configuring a Network File System server for RHEL 5.2” on page 85, expl

Seite 69

142 The Virtualization Cookbook for Red Hat Enterprise Linux 5.29.4.1 Defining three more user IDsDefine three more user IDs for Linux virtual serve

Seite 70

Chapter 9. Configuring RHEL 5.2 for cloning 143====> pre off====> all /gap/|/overlap/-------------------- 4 line(s) not displayed -----------

Seite 71 - 4.6.4 Testing the changes

144 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2'CP SET VSWITCH VSW1 GRANT LNXINST''CP SET VSWITCH VSW1 GRANT RHEL52&a

Seite 72

Chapter 9. Configuring RHEL 5.2 for cloning 145If you forgot to grant access to the VSWITCH you will see an error message. Verify that you have OSA d

Seite 73

146 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 9-2 Linux virtual server system - DASD view and role viewVMDA57VMDA52VMDA54V

Seite 74

© Copyright IBM Corp. 2008. All rights reserved. 147Chapter 10. Installing Linux with kickstartKickstart is an automated way of installing RHEL 5.2. U

Seite 75

148 The Virtualization Cookbook for Red Hat Enterprise Linux 5.210.1 Configure the controller for kickstartIn this section, you configure the contro

Seite 76

Chapter 10. Installing Linux with kickstart 149@base-xdevice-mapper-multipath-sysreport%post 13echo /dev/dasdq1 swap swap defaults 0 0 >> /etc/

Seite 77

150 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Starting NFS daemon: [ OK ]Starting NFS mountd: [ OK ]# showmount -eExport list f

Seite 78 - 4.8.2 Testing the changes

Chapter 10. Installing Linux with kickstart 15100: STORAGE = 512M00: Storage cleared - system reset.==> ipl cms...Do you want to IPL Linux from mi

Seite 79 - 4.9.1 VM security products

Preface xvConventionsThe following font conventions are used in this book:Monospace and bold Commands entered by the user on the command line<val

Seite 80

152 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 81

© Copyright IBM Corp. 2008. All rights reserved. 153Chapter 11. Servicing Linux with Red Hat NetworkThis chapter describes Red Hat Network (RHN) and i

Seite 82

154 The Virtualization Cookbook for Red Hat Enterprise Linux 5.211.1 Registering your system with RHNThis section assumes you have already obtained

Seite 83

Chapter 11. Servicing Linux with Red Hat Network 155Updated: cpp.s390x 0:4.1.1-43.el5Complete!Now query the cpp package and you should see that it ha

Seite 84

156 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 11-2 RHN system detailsFor more information about managing your systems thro

Seite 85

Chapter 11. Servicing Linux with Red Hat Network 157Next, create the file /etc/auto.controller and add the following line, substituting the IP addres

Seite 86 - ==> sampnss cms

158 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Next, back up the current repository and create a new one with the createrepo command

Seite 87

© Copyright IBM Corp. 2008. All rights reserved. 159Chapter 12. Cloning open source virtual serversThis chapter describes how to clone and customize t

Seite 88

160 The Virtualization Cookbook for Red Hat Enterprise Linux 5.212.1 Creating a virtual Web serverThe example in this section uses the LINUX01 user

Seite 89 - Servicing z/VM

Chapter 12. Cloning open source virtual servers 161httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off# chkconfig httpd on# chkconf

Seite 90 - 5.1 Applying a PTF

xvi The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 91

162 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Verify that the firewall is off using the chkconfig --list command. The service name

Seite 92

Chapter 12. Cloning open source virtual servers 16312.1.4 Configuring SSL for ApacheUse the Secure Sockets Layer (SSL) to encrypt data between the c

Seite 93

164 The Virtualization Cookbook for Red Hat Enterprise Linux 5.212.1.6 Apache resourcesThe following Web sites contain additional information about

Seite 94

Chapter 12. Cloning open source virtual servers 165=============================================================================Installing: openldap-

Seite 95

166 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2rootdn "cn=ldaproot,dc=itso,dc=ibm,dc=com"...Set the rootpw line to a value

Seite 96

Chapter 12. Cloning open source virtual servers 167The PADL tools have a shared configuration file named migrate_common.ph. Make a backup copy of thi

Seite 97

168 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Now it is time to populate the LDAP server. This can be done while the server is not

Seite 98

Chapter 12. Cloning open source virtual servers 169Delete the ldapuser1 from the file system with the userdel command, and delete root from LDAP usin

Seite 99

170 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2On the next window, set the Server value to point to the LDAP server. In this example

Seite 100

Chapter 12. Cloning open source virtual servers 171objectClass: accountobjectClass: posixAccountobjectClass: topobjectClass: shadowAccountshadowLastC

Seite 101

© Copyright IBM Corp. 2008. All rights reserved. 1Chapter 1. Introduction to z/VM and LinuxVirtualization is a hot topic in the IT industry. The IBM m

Seite 102

172 The Virtualization Cookbook for Red Hat Enterprise Linux 5.212.3.1 Cloning a Linux virtual serverFrom the controller, clone a basic virtual serv

Seite 103

Chapter 12. Cloning open source virtual servers 173Confirm that the RPMs were added:# rpm -qa | grep sambasamba-common-3.0.28-0.el5.8samba-client-3.0

Seite 104

174 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Retype new SMB password: <lnx4vm>startsmbfilepwent_internal: file /etc/samba/sm

Seite 105

Chapter 12. Cloning open source virtual servers 175You may have to click different user name if the user or password on the new Samba server is diffe

Seite 106 - 6.4 Enabling the NFS server

176 The Virtualization Cookbook for Red Hat Enterprise Linux 5.212.4 Creating a virtual application development serverMost Linux distributions come

Seite 107

Chapter 12. Cloning open source virtual servers 177C/C++http://gcc.gnu.org/onlinedocs/gcc/http://en.wikipedia.org/wiki/GNU_Compiler_Collection#Extern

Seite 108

178 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 109

© Copyright IBM Corp. 2008. All rights reserved. 179Chapter 13. Miscellaneous recipesThis chapter has the following sections of miscellaneous tasks th

Seite 110

180 The Virtualization Cookbook for Red Hat Enterprise Linux 5.213.1 Adding a logical volumeThere are times when you require more disk space than a

Seite 111

Chapter 13. Miscellaneous recipes 181Adding module ext3Adding module dasd_mod with options dasd=100-104Adding module dasd_eckd_modAdding module dasd_

Seite 113

2 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2z/VM 5.3z/VM 5.3 became generally available in June 2007. Scalability was extended to a

Seite 114

182 The Virtualization Cookbook for Red Hat Enterprise Linux 5.213.1.4 Create the logical volume and file systemThe overall steps involved in creati

Seite 115

Chapter 13. Miscellaneous recipes 183 --- NEW Physical volume --- PV Name /dev/dasde1 VG Name PV Size 4.59 GB Alloca

Seite 116

184 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 Segments 2 Allocation inherit Read ahead sectors 0

Seite 117

Chapter 13. Miscellaneous recipes 185In this example, there is only one subdirectory. You can move the contents from the root file system to the new

Seite 118

186 The Virtualization Cookbook for Red Hat Enterprise Linux 5.20.0.0100(ECKD) at ( 94: 0) is dasda : active at blocksize 4096, 600840 blocks, 2347 M

Seite 119

Chapter 13. Miscellaneous recipes 187# df -h | grep home/dev/mapper/homevg-homelv 12G 152M 11G 2% /homeYou have now added

Seite 120

188 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2# service nfs startStarting NFS services: [ OK ]Starting NFS quotas: [ OK ]Start

Seite 121

Chapter 13. Miscellaneous recipes 189Under User Information, select Cache Information and Use LDAP. Under Authentication, select Use LDAP Authenticat

Seite 122

190 The Virtualization Cookbook for Red Hat Enterprise Linux 5.29.12.5.32:/home/ldapuser1 on /home/ldapuser1 type nfs (rw,addr=9.12.5.32)You have now

Seite 123

Chapter 13. Miscellaneous recipes 191To enter a rescue environment, initiate an interactive Linux installation. Perform the following steps to enter

Seite 124

Chapter 1. Introduction to z/VM and Linux 31.2 This book’s approachToday there are numerous technical publications that discuss virtualization, but

Seite 125

192 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2be no device nodes under /dev). If you need to rewrite the master boot record (MBR),

Seite 126

© Copyright IBM Corp. 2008. All rights reserved. 193Chapter 14. Monitoring z/VM and LinuxThis chapter briefly describes how to monitor z/VM and Linux.

Seite 127

194 The Virtualization Cookbook for Red Hat Enterprise Linux 5.214.1 Using INDICATE and other commandsz/VM has many commands to monitor the state of

Seite 128 - 7.2.4 Configuring yum

Chapter 14. Monitoring z/VM and Linux 1952 Paging to expanded storage is displayed here. Most z/VM systems on z9 class machines can sustain several t

Seite 129 - 7.2.5 Adding additional RPMs

196 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2EDLWRK6 Q3 IO 00000750/00000302 ... .0969 A02EDLWRK3 Q3 AP 00005098/0

Seite 130

Chapter 14. Monitoring z/VM and Linux 197Determining storage or memoryTo see how much central and expanded storage (memory) are installed and allocat

Seite 131

198 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2The following list gives the short form of these commands, without associated output:

Seite 132

Chapter 14. Monitoring z/VM and Linux 1993. At IPL time, the SYSTEM CONFIG file is modified by having a line appended to the end. Verify this with th

Seite 133

200 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 Active I

Seite 134 - 7.2.10 Configuring SSH keys

Chapter 14. Monitoring z/VM and Linux 201====> file6. Create a remote data retrieval authorization file with your z/VM system identifier; replace

Seite 135 - 4 6763) is running

4 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2򐂰 Use of manual installation versus cloning script or EXECTwo methods of cloning are de

Seite 136

202 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2/* Increase the size of the SAMPLE CONFIG and EVENT CONFIG */'CP MONITOR SAMPLE

Seite 137

Chapter 14. Monitoring z/VM and Linux 203Figure 14-1 Performance Toolkit logon window3. Enter any valid user ID and password (in this example, MAIN

Seite 138

204 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 14-2 Browser interface to the Performance ToolkitUsing a 3270 interfaceLogon

Seite 139

Chapter 14. Monitoring z/VM and Linux 205Figure 14-3 Performance Toolkit 3270 Interface Main Menu windowDrilling down into report windowsYou should

Seite 140

206 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2and Red Hat RHEL 4 and RHEL 5 have been enabled for the kernel to gather performance

Seite 141

Chapter 14. Monitoring z/VM and Linux 207# ls.rmfpms_config README bin enable_autostart.rmfpms_config_autostart autostart_rmf

Seite 142

208 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2For the second requirement, SLES 9, SLES 10 and RHEL 5 now have this function built i

Seite 143

Chapter 14. Monitoring z/VM and Linux 209view that data, drill down into menu 29, Linux systems. This can be done either from the browser interface o

Seite 144

210 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2In this example, it starts at x3300 and ends at x6FFF (this is a PAGE boundary). You

Seite 145 - 8.2.8 Configuring SSH keys

© Copyright IBM Corp. 2008. All rights reserved. 211Appendix A. ReferencesThis appendix describes the location and content of z/VM configuration files

Seite 146 - 8.2.10 Verifying the changes

Chapter 1. Introduction to z/VM and Linux 5SLES10S2 or RHEL52 This is the SLES10 SP2 or RHEL 5.2 golden image. This is the Linux system that is clon

Seite 147

212 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2z/VM configuration filesz/VM differs from Linux in regard to the location and number

Seite 148

Appendix A. References 213quit Exit XEDIT if no changes have been madeqquit Exit XEIDT even if changes have not been savedleft <n> Shift ‘n’ ch

Seite 149

214 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2:<nn> go to line number <nn>:r <file> read <file> into the cu

Seite 150

© Copyright IBM Corp. 2008. All rights reserved. 215Appendix B. z/VM source codeThis appendix lists the source code associated with this book. Obtaini

Seite 151 - Detach the source disks

216 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2z/VM REXX EXECs and XEDIT macrosThis section lists z/VM REXX EXECs and XEDIT macros.T

Seite 152

Appendix B. z/VM source code 217 say '' say ' Format one or a range of DASD as page, perm, spool or temp disk space' say &apo

Seite 153

218 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 parse upper var dasds dasd dasds dashPos = pos('-', dasd) if (das

Seite 154 - IPL the target system

Appendix B. z/VM source code 219/*| parm 1: source |*//*| parm 2: target

Seite 155

220 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2return retVal /* from formatOne */ /*+-----------------------------------------------

Seite 156

Appendix B. z/VM source code 221'command set num on''command set nulls on''command set serial off''command set cmd

Seite 157 - 9.3.2 Using the clone script

6 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 158

222 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2'command c/OSASF OSASF/OSASF' newPass'/*''command c/5VMRSC40

Seite 159 - Master Image

Appendix B. z/VM source code 223'command c/RDVF WDVF MDVF/'newPass newPass newPass'/*''command c/READ WRITE M

Seite 160

224 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIALDAMAGES (INCLUD

Seite 161

Appendix B. z/VM source code 225 say "Syntax is:" say "" say " >>---LABEL540--res--spl--pag--w01--w02------------

Seite 162

226 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OFTHE USE OR DISTR

Seite 163 - 9.5 Reviewing system status

© Copyright IBM Corp. 2008. All rights reserved. 227Appendix C. Linux source codeThis section lists the Linux source code associated with this book. F

Seite 164 - LNXMAINT

228 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2# "z/VM and Linux on IBM System z: The Virtualization Cookbook for RHEL4"

Seite 165

Appendix C. Linux source code 229# If the host has a id_dsa.pub file then append that to the clone's# authorized_keys file.#+-------------------

Seite 166

230 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 fi done # Expand DASD ranges if they have been defined if [ -n "$DASD"

Seite 167 - Delete these

Appendix C. Linux source code 231 if [ $ret_val -eq 0 ] ; then nblks=`cat /proc/dasd/devices | grep $target_dev_node | awk '{ print $13 }&a

Seite 168

© Copyright IBM Corp. 2008. All rights reserved. 7Chapter 2. PlanningThis chapter covers the planning needed before you install z/VM. It begins by dis

Seite 169

232 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2# Arg 1: Source minidisk# Arg 2: Target minidisk#+-------------------------------

Seite 170

Appendix C. Linux source code 233 { [ -n "$VERBOSE" ] && echo "Unlinking minidisks ..." while [ $# -gt 0 ]; do set_o

Seite 171 - Servicing Linux with Red Hat

234 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 source_host=$(echo $source_hostname| awk -F. '{print $1}') [ ! -d $CLONE

Seite 172

Appendix C. Linux source code 235 set_offline $target_mdisk abort 1 fi } #+-------------------------------------------------------------------

Seite 173

236 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 }#+--------------------------------------------------------------------------+functi

Seite 174

Appendix C. Linux source code 237function autolog# Issue an XAUTOLOG command to bring up the new cloned image.#+-------------------------------------

Seite 175

238 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2echo "Cloning $master_linux_id to $cloned_linux_id ..."[ -z "$DASD&quo

Seite 176

© Copyright IBM Corp. 2008. All rights reserved. 239Related publicationsThe publications listed in this section are considered particularly suitable f

Seite 177

240 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Online resourcesThese Web sites are also relevant as further information sources:򐂰 Th

Seite 178

© Copyright IBM Corp. 2008. All rights reserved. 241IndexSymbols$ALLOC$, z/VM user ID 55, 93, 120, 131, 142/etc/auto.master 126/etc/fstab 110,

Seite 179 - 12.1.3 Turning on a firewall

8 The Virtualization Cookbook for Red Hat Enterprise Linux 5.22.1 Bill of materialsThe resources needed for a Linux on System z project can be divid

Seite 180

242 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2creating 184Ffdasd command 181Features statement 42FILELIST command 95Firewal

Seite 181

Index 243monitor stream support 208monitoring Linux 206–207mount command 124MySQL 176NNetwork File System (NFS) 85networking resources 9

Seite 182 - 12.1.6 Apache resources

244 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2ldap 168smb 174vncserver 114servicesturning off unneeded 112SET SIGNAL comman

Seite 183

Index 245WWhat is virtualization 2which command 139worksheetsexamples in the book 13XXAUTOLOG command 44, 59, 94, 121XEDIT"" prefi

Seite 184 - Start the LDAP service

246 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 185

(0.5” spine)0.475”<->0.873”250 <-> 459 pagesThe Virtualization Cookbook for Red Hat Enterprise Linux 5.2The Virtualization Cookbook for Re

Seite 186 - Deleting duplicate users

The Virtualization Cookbook for Red Hat Enterprise Linux 5.2The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 188

®SG24-7492-00 ISBN 0738431818INTERNATIONAL TECHNICALSUPPORTORGANIZATIONBUILDING TECHNICAL INFORMATION BASED ON PRACTICAL EXPERIENCEIBM Redbooks are de

Seite 189 - Set a password

Chapter 2. Planning 9These resources are described in more detail in the chapters that follow.2.1.3 Networking resourcesThe following network resour

Seite 190

10 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2For example, Figure 2-1 shows the labeling convention for the DASD in LPAR M, of type

Seite 191 - 12.3.4 Adding a Samba user

Chapter 2. Planning 11DASD versus SCSI/FCPThis book describes how to use conventional ECKD DASD and does not discuss FBA disks accessed over SCSI/FCP

Seite 192 - 12.3.6 Testing your changes

International Technical Support OrganizationThe Virtualization Cookbook for Red Hat Enterprise Linux 5.2October 2008SG24-7492-00

Seite 193 - 12.3.7 Configuring printing

12 The Virtualization Cookbook for Red Hat Enterprise Linux 5.22.4 Memory planningPlanning memory may be the most difficult issue with z/VM and Linu

Seite 194 - 12.4.1 Additional resources

Chapter 2. Planning 13You may want to define a finer granularity for passwords based on the following system administration roles:򐂰 The main z/VM sys

Seite 195 - Web development

14 The Virtualization Cookbook for Red Hat Enterprise Linux 5.22.6.2 z/VM DASD used in this bookTable 2-3 lists the z/VM DASD resource values used i

Seite 196

Chapter 2. Planning 152.6.3 Linux resources used in this bookTable 2-4 lists the Linux PC NFS server resources used for the first System z Linux ins

Seite 197 - Miscellaneous recipes

16 The Virtualization Cookbook for Red Hat Enterprise Linux 5.22.7 Blank worksheetsBlank copies of the same four worksheets are provided for your us

Seite 198 - 13.1 Adding a logical volume

Chapter 2. Planning 172.7.2 z/VM DASD worksheetUse the worksheet in Table 2-8 to document the z/VM DASD that you will use. Table 2-8 z/VM DASD bla

Seite 199

18 The Virtualization Cookbook for Red Hat Enterprise Linux 5.22.7.3 Linux resources worksheetUse the worksheet in Table 2-10 to document the resour

Seite 200 - Volume Group - optvg

© Copyright IBM Corp. 2008. All rights reserved. 19Chapter 3. Configuring a desktop machineMany people use Microsoft® Windows as a desktop operating s

Seite 201

20 The Virtualization Cookbook for Red Hat Enterprise Linux 5.23.1 PuTTY: a free SSH client for WindowsThroughout this book, SSH is used to log into

Seite 202

Chapter 3. Configuring a desktop machine 21Figure 3-2 Setting logging4. In the left window, click SSH near the bottom, as shown in Figure 3-3.5. On

Seite 203

© Copyright International Business Machines Corporation 2008. All rights reserved.Note to U.S. Government Users Restricted Rights -- Use, duplication

Seite 204 - Extending the volume group

22 The Virtualization Cookbook for Red Hat Enterprise Linux 5.27. Select the Use background colour to erase screen check box, which results in a bett

Seite 205 - /var/lib/ldap

Chapter 3. Configuring a desktop machine 2310.Click Session in the left pane, as shown in Figure 3-6. 11.Click Default Settings in the Saved Sessions

Seite 206 - Configuring LDAP

24 The Virtualization Cookbook for Red Hat Enterprise Linux 5.22. Under the Saved Sessions text area, choose a name that you will remember. In this e

Seite 207 - Configuring automount

Chapter 3. Configuring a desktop machine 253.2.2 Customizing RealVNCThe latest VNC protocol is Version 4, which is the default with the VNC client.

Seite 208 - 13.4 Rescuing a Linux system

26 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2򐂰 Have the session automatically reconnect after logoff. Having a new logon window com

Seite 209

© Copyright IBM Corp. 2008. All rights reserved. 27Chapter 4. Installing and configuring z/VMTo complete this chapter, you must complete the majority

Seite 210

28 The Virtualization Cookbook for Red Hat Enterprise Linux 5.24.1 Installing z/VM from DVDThe section that follows assumes a first-level installati

Seite 211 - Monitoring z/VM and Linux

Chapter 4. Installing and configuring z/VM 29Figure 4-1 Integrated 3270 Console iconA window entitled Integrated 3270 Console for <your CPC>

Seite 212 - INIDICATE LOAD

30 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 4-2 CPC Recovery menu with Load from CD-ROM or Server icon present8. On the L

Seite 213 - INDICATE QUEUES EXP

Chapter 4. Installing and configuring z/VM 31Figure 4-4 Selecting z/VM 5.4 RAMdisk systemb. From the Confirm the action window, click Yes. You shou

Seite 214 - Determining who is logged on

Contents iiiContentsNotices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 215 - Determining software level

32 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 4-5 z/VM first boot on Integrated console3. Invoke the instplan command. This

Seite 216

Chapter 4. Installing and configuring z/VM 33Figure 4-6 Installation Planning window5. On this window, type X next to AMENG (or select your languag

Seite 217

34 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Running INSTDVDThe INSTDVD EXEC copies the z/VM system from DVD to disk.1. Execute the

Seite 218 - 14.2.3 Configuring PERFSVM

Chapter 4. Installing and configuring z/VM 355. At the Integrated 3270 Console, type GO. You should see a messages of the form DVDLOAD: LOADING FILE

Seite 219

36 The Virtualization Cookbook for Red Hat Enterprise Linux 5.26. Move back to the Integrated 3270 console window. You should see the Standalone Prog

Seite 220 - Using a Web browser interface

Chapter 4. Installing and configuring z/VM 372. IPL CMS, then press Enter at the VM READ prompt in the lower right corner. You should see the Ready;

Seite 221

38 The Virtualization Cookbook for Red Hat Enterprise Linux 5.29. You will lose the current session on the Integrated 3270 Console, but the system sh

Seite 222 - Using a 3270 interface

Chapter 4. Installing and configuring z/VM 393. The z/VM TCP/IP Configuration Wizard opens as shown in Figure 4-10. The first field, User ID, should

Seite 223 - 14.3 Monitoring Linux

40 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Figure 4-12 IPWIZARD window 35. In general, a value for the Port Name is no longer n

Seite 224

Chapter 4. Installing and configuring z/VM 414.3 Configuring the XEDIT profileLogon to MAINT (if not logged on already).The XEDIT command looks for

Seite 225

iv The Virtualization Cookbook for Red Hat Enterprise Linux 5.24.1 Installing z/VM from DVD . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 226

42 The Virtualization Cookbook for Red Hat Enterprise Linux 5.24.4 Customizing the SYSTEM CONFIG fileThe first configuration file read when z/VM IPL

Seite 227

Chapter 4. Installing and configuring z/VM 43Features , Disable , /* Disable the following features */ Set_Privclass ,

Seite 228 - CP SAVESEG MONDCSS

44 The Virtualization Cookbook for Red Hat Enterprise Linux 5.24.5 Configuring TCP/IP to start at IPL timeConfigure the TCPIP service machine to be

Seite 229 - References

Chapter 4. Installing and configuring z/VM 45'CP XAUTOLOG VMSERVU''CP XAUTOLOG VMSERVR''CP XAUTOLOG DTCVSW1''CP XA

Seite 230 - Quick reference sheets

46 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2ENTER READ PASSWORD:readDMSVML2060I MAINT 191 linked as 0120 file mode Z2. Copy the PR

Seite 231 - Prefix commands

Chapter 4. Installing and configuring z/VM 474.5.4 Shutting down and reIPLing the systemYou may want to be able to shut down and reIPL z/VM without

Seite 232 - :help give help

48 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2If you do not have sufficient DASD, this number can be reduced. Having adequate paging

Seite 233 - Appendix B. z/VM source code

Chapter 4. Installing and configuring z/VM 49ftp> put CPFORMAT.EXEC...ftp> quitUsing the CPFORMAT EXECLog back into MAINT. You should now have

Seite 234 - The CPFORMAT EXEC

50 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2MAINT D951 MAINT D951 3390 NWD951 D951 0 3339TargetID Tdev Owner

Seite 235

Chapter 4. Installing and configuring z/VM 514. Attach the eight volumes that will be used for the controller, the common CMS disk, and the golden im

Seite 236

Contents vChapter 6. Configuring a Network File System server for RHEL 5.2 . . . . . . . . . . . . . . 856.1 Installing Linux on the PC . . . . .

Seite 237

52 The Virtualization Cookbook for Red Hat Enterprise Linux 5.24.6.3 Updating the SYSTEM CONFIG fileNow that the PAGE and PERM volumes are ready for

Seite 238 - The CHPW540 XEDIT macro

Chapter 4. Installing and configuring z/VM 53User_Volume_Include MM*/* User_Volume_List USRP01 *//* User_Volume_List USRP02 */...====> fil

Seite 239

54 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2 ------ ------ ----SUMMARY

Seite 240

Chapter 4. Installing and configuring z/VM 55The minidisks with the END option specified in this directory will not be included in the following DISK

Seite 241 - The LABEL540 EXEC

56 The Virtualization Cookbook for Red Hat Enterprise Linux 5.27. Save your changes and run DISKMAP again. Edit the USER DISKMAP file. This time you

Seite 242

Chapter 4. Installing and configuring z/VM 573. Format the larger 192 disk as the D minidisk, which should take a minute or two:==> format 192 dDM

Seite 243 - The LABEL540 XEDIT macro

58 The Virtualization Cookbook for Red Hat Enterprise Linux 5.23. By default, CMS tries to access the 191 disk as A and the 192 disk as D. Also, you

Seite 244

Chapter 4. Installing and configuring z/VM 59 CHPW540 XEDIT D1 V 77 194 3 7/01/08 4:30:39 CPFORMAT EXEC D

Seite 245 - Linux source code

60 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2'CP XAUTOLOG DTCVSW1''CP XAUTOLOG DTCVSW2''cp set pf12 ret&ap

Seite 246

Chapter 4. Installing and configuring z/VM 614.9.1 VM security productsYou might want to use a z/VM security product such as IBM RACF® or CA VM:Secu

Seite 247

vi The Virtualization Cookbook for Red Hat Enterprise Linux 5.29.1 Formatting DASD for minidisks . . . . . . . . . . . . . . . . . . . . . . . . . .

Seite 248

62 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2DMSXDC546E Target not found====> quitThe Target not found message shows that the st

Seite 249

Chapter 4. Installing and configuring z/VM 63To learn how to back up these volumes to tape, refer to Step 11, Store a backup copy of the z/VM system

Seite 250

64 The Virtualization Cookbook for Red Hat Enterprise Linux 5.24.11.1 Modifying labels in the SYSTEM CONFIG fileAn HMC 3270 session is needed becaus

Seite 251

Chapter 4. Installing and configuring z/VM 65DMSXCG517I 1 occurrence(s) changed on 1 line(s)DMSXCG517I 1 occurrence(s) changed on 1 line(s)6. Clear t

Seite 252

66 The Virtualization Cookbook for Red Hat Enterprise Linux 5.24.11.2 Modifying labels in the USER DIRECT fileIn this section you will modify the sy

Seite 253

Chapter 4. Installing and configuring z/VM 672. Now that the five volumes have been relabeled (this is sometimes called “clipping the volumes”, which

Seite 254

68 The Virtualization Cookbook for Red Hat Enterprise Linux 5.28. Go back to the Integrated 3270 console. After a few minutes, the Standalone Program

Seite 255

Chapter 4. Installing and configuring z/VM 69Perform this step only if you successfully completed 4.10, “Backing up your z/VM system to tape” on page

Seite 256

70 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Seite 257 - Related publications

© Copyright IBM Corp. 2008. All rights reserved. 71Chapter 5. Servicing z/VMThis chapter describes how to apply:򐂰 A Programming Temporary Fix (PTF)򐂰 A

Seite 258 - Help from IBM

Contents viiChapter 13. Miscellaneous recipes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17913.1 Adding a lo

Seite 259

72 The Virtualization Cookbook for Red Hat Enterprise Linux 5.25.1 Applying a PTFYou may determine that you need to apply a specific fix or PTF to y

Seite 260

Chapter 5. Servicing z/VM 73_ SEGBLD PPF D2 _ SERVP2P PPF D1 _ UCENG PPF D2 s ZVM PPF D2 _ 4OSASF4

Seite 261

74 The Virtualization Cookbook for Red Hat Enterprise Linux 5.21. Click Support and Downloads at the top menu.2. Click Downloads and Drivers on the l

Seite 262

Chapter 5. Servicing z/VM 75150 Opening BINARY mode data connection for vlst1585.bin (7168 bytes).7168 bytes transferred in 0.231 seconds. Transfer r

Seite 263

76 The Virtualization Cookbook for Red Hat Enterprise Linux 5.23. The SERVICE command will write to the current A disk. Again access minidisk 500 as

Seite 264

Chapter 5. Servicing z/VM 77USER DSC LOGOFF AS BLDCMS USERS = 7 FORCED BY MAINTVMFP2P2760I PUT2PROD processing completed successfully for SA

Seite 265 - Hat Enterprise Linux 5.2

78 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2Point a Web browser to:https://techsupport.services.ibm.com/server/login1. If you have

Seite 266

Chapter 5. Servicing z/VM 794. Use the FTP client to obtain the RSU envelopes from the Internet. The envelope files can be large, so this may take so

Seite 267

80 The Virtualization Cookbook for Red Hat Enterprise Linux 5.25.2.3 Receiving, applying, and building the serviceYou must receive, apply, and build

Seite 268

Chapter 5. Servicing z/VM 815. Invoke the VMFVIEW SERVICE command to review the results of the previous SERVICE command. Following is an example:==&g

Kommentare zu diesen Handbüchern

Keine Kommentare