Red Hat SATELLITE 5.1.0 RELEASE NOTES Manuale di Installazione

Navigare online o scaricare Manuale di Installazione per Software Red Hat SATELLITE 5.1.0 RELEASE NOTES. Red Hat SATELLITE 5.1.0 RELEASE NOTES Installation manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 268
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 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

Pagina 2

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

Pagina 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

Pagina 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

Pagina 5 - Contents

84 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 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

Pagina 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

Pagina 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

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

Pagina 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

Pagina 11

90 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 16

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 42 - 3.2 Setting up a VNC client

118 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 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

Pagina 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

Pagina 45

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 57

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 70

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

Pagina 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

Pagina 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

Pagina 73

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

Pagina 74

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

Pagina 75

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

Pagina 76

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

Pagina 77

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

Pagina 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

Pagina 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

Pagina 80

152 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 81

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

Pagina 82

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

Pagina 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

Pagina 84

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

Pagina 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

Pagina 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

Pagina 87

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

Pagina 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

Pagina 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

Pagina 90 - 5.1 Applying a PTF

xvi The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 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

Pagina 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

Pagina 93

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

Pagina 94

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 100

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

Pagina 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

Pagina 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

Pagina 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

Pagina 104

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

Pagina 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

Pagina 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

Pagina 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

Pagina 108

178 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 109

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

Pagina 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

Pagina 111

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

Pagina 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

Pagina 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

Pagina 115

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

Pagina 116

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

Pagina 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

Pagina 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

Pagina 119

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

Pagina 120

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

Pagina 121

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

Pagina 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

Pagina 123

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

Pagina 124

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

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

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

Pagina 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

Pagina 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

Pagina 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

Pagina 130

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

Pagina 131

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

Pagina 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

Pagina 133

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 138

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

Pagina 139

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

Pagina 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

Pagina 141

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 150

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

Pagina 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

Pagina 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

Pagina 153

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

Pagina 154 - IPL the target system

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

Pagina 155

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

Pagina 156

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

Pagina 157 - 9.3.2 Using the clone script

6 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 158

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

Pagina 159 - Master Image

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

Pagina 160

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

Pagina 161

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

Pagina 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

Pagina 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

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

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

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

Pagina 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

Pagina 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

Pagina 169

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

Pagina 170

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

Pagina 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

Pagina 172

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

Pagina 173

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

Pagina 174

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

Pagina 175

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

Pagina 176

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

Pagina 177

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

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

Pagina 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

Pagina 180

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

Pagina 181

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

Pagina 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

Pagina 183

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

Pagina 184 - Start the LDAP service

246 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 185

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

Pagina 186 - Deleting duplicate users

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

Pagina 188

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

Pagina 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

Pagina 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

Pagina 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

Pagina 192 - 12.3.6 Testing your changes

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 203

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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 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

Pagina 209

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

Pagina 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

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

Pagina 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

Pagina 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

Pagina 214 - Determining who is logged on

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 225

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

Pagina 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

Pagina 227

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

Pagina 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

Pagina 229 - References

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 236

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

Pagina 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

Pagina 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

Pagina 239

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 247

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

Pagina 248

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 256

70 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Pagina 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

Pagina 258 - Help from IBM

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

Pagina 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

Pagina 260

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

Pagina 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

Pagina 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

Pagina 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

Pagina 264

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Commenti su questo manuale

Nessun commento