Red Hat SATELLITE 5.1.0 RELEASE NOTES Instrukcja Instalacji Strona 1

Przeglądaj online lub pobierz Instrukcja Instalacji dla Oprogramowanie Red Hat SATELLITE 5.1.0 RELEASE NOTES. Red Hat SATELLITE 5.1.0 RELEASE NOTES Installation manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 268
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 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

Strona 2

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

Strona 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

Strona 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

Strona 5 - Contents

84 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 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

Strona 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

Strona 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

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

Strona 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

Strona 11

90 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 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

Strona 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

Strona 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

Strona 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

Strona 16

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 42 - 3.2 Setting up a VNC client

118 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 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

Strona 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

Strona 45

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 57

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

Strona 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

Strona 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

Strona 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

Strona 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

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 70

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

Strona 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

Strona 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

Strona 73

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

Strona 74

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

Strona 75

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

Strona 76

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

Strona 77

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

Strona 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

Strona 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

Strona 80

152 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 81

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

Strona 82

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

Strona 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

Strona 84

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

Strona 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

Strona 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

Strona 87

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

Strona 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

Strona 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

Strona 90 - 5.1 Applying a PTF

xvi The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 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

Strona 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

Strona 93

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

Strona 94

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 100

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

Strona 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

Strona 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

Strona 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

Strona 104

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

Strona 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

Strona 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

Strona 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

Strona 108

178 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 109

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

Strona 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

Strona 111

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

Strona 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

Strona 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

Strona 115

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

Strona 116

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

Strona 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

Strona 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

Strona 119

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

Strona 120

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

Strona 121

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

Strona 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

Strona 123

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

Strona 124

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

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

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

Strona 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

Strona 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

Strona 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

Strona 130

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

Strona 131

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

Strona 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

Strona 133

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 138

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

Strona 139

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

Strona 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

Strona 141

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 150

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

Strona 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

Strona 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

Strona 153

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

Strona 154 - IPL the target system

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

Strona 155

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

Strona 156

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

Strona 157 - 9.3.2 Using the clone script

6 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 158

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

Strona 159 - Master Image

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

Strona 160

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

Strona 161

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

Strona 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

Strona 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

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

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

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

Strona 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

Strona 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

Strona 169

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

Strona 170

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

Strona 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

Strona 172

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

Strona 173

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

Strona 174

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

Strona 175

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

Strona 176

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

Strona 177

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

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

Strona 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

Strona 180

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

Strona 181

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

Strona 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

Strona 183

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

Strona 184 - Start the LDAP service

246 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 185

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

Strona 186 - Deleting duplicate users

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

Strona 188

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

Strona 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

Strona 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

Strona 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

Strona 192 - 12.3.6 Testing your changes

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 203

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

Strona 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

Strona 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

Strona 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

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

Strona 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

Strona 209

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

Strona 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

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

Strona 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

Strona 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

Strona 214 - Determining who is logged on

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 225

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

Strona 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

Strona 227

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

Strona 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

Strona 229 - References

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 236

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

Strona 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

Strona 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

Strona 239

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 247

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

Strona 248

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 256

70 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2

Strona 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

Strona 258 - Help from IBM

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

Strona 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

Strona 260

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

Strona 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

Strona 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

Strona 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

Strona 264

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

Strona 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

Strona 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

Strona 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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag