Red Hat SATELLITE 5.1.0 RELEASE NOTES Manuel d'installation Page 1

Naviguer en ligne ou télécharger Manuel d'installation pour Logiciel Red Hat SATELLITE 5.1.0 RELEASE NOTES. Red Hat SATELLITE 5.1.0 RELEASE NOTES Installation manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 268
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 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

Page 2

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

Page 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

Page 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

Page 5 - Contents

84 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 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

Page 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

Page 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

Page 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.

Page 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

Page 11

90 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 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

Page 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

Page 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

Page 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

Page 16

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 42 - 3.2 Setting up a VNC client

118 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 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

Page 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

Page 45

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 57

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

Page 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

Page 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

Page 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

Page 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

Page 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.

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 70

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

Page 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

Page 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

Page 73

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

Page 74

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

Page 75

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

Page 76

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

Page 77

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

Page 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

Page 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

Page 80

152 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 81

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

Page 82

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

Page 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

Page 84

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

Page 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

Page 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

Page 87

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

Page 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

Page 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

Page 90 - 5.1 Applying a PTF

xvi The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 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

Page 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

Page 93

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

Page 94

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 100

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

Page 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

Page 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

Page 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

Page 104

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

Page 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

Page 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

Page 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

Page 108

178 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 109

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

Page 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

Page 111

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

Page 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

Page 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

Page 115

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

Page 116

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

Page 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

Page 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

Page 119

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

Page 120

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

Page 121

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

Page 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

Page 123

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

Page 124

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

Page 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),

Page 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.

Page 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

Page 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

Page 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

Page 130

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

Page 131

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

Page 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

Page 133

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

Page 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

Page 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

Page 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

Page 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

Page 138

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

Page 139

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

Page 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

Page 141

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 150

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

Page 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

Page 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

Page 153

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

Page 154 - IPL the target system

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

Page 155

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

Page 156

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

Page 157 - 9.3.2 Using the clone script

6 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 158

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

Page 159 - Master Image

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

Page 160

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

Page 161

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

Page 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

Page 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

Page 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"

Page 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.#+-------------------

Page 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"

Page 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

Page 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

Page 169

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

Page 170

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

Page 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

Page 172

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

Page 173

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

Page 174

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

Page 175

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

Page 176

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

Page 177

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

Page 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,

Page 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

Page 180

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

Page 181

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

Page 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

Page 183

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

Page 184 - Start the LDAP service

246 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 185

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

Page 186 - Deleting duplicate users

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

Page 188

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

Page 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

Page 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

Page 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

Page 192 - 12.3.6 Testing your changes

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 203

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

Page 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

Page 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

Page 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

Page 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.

Page 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

Page 209

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

Page 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

Page 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>

Page 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

Page 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

Page 214 - Determining who is logged on

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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;

Page 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

Page 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

Page 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

Page 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

Page 225

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

Page 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

Page 227

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

Page 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

Page 229 - References

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 236

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

Page 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

Page 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

Page 239

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 247

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

Page 248

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 256

70 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Page 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

Page 258 - Help from IBM

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

Page 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

Page 260

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

Page 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

Page 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

Page 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

Page 264

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

Page 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

Page 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

Page 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

Page 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

Commentaires sur ces manuels

Pas de commentaire