ibm.com/redbooksFront coverz/VM and Linux on IBM System zThe Virtualization Cookbook for Red Hat Enterprise Linux 6.0Brad HinsonMichael MacIsaacHands-
viii z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.014.2.6 Using the z/VM Performance Toolkit. . . . .
80 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0CK:VMFSUI2104I PTF UM32501 contains user information.
Chapter 5. Servicing z/VM 815.1.5 Putting the service into productionThis section describes how to use the PUT2PROD command to put the service into
82 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.05. To load the new CP load module, use the SHUTDOWN RE
Chapter 5. Servicing z/VM 83Because support for HCD and HCM was not necessary for the system used in the examples in this book, only the PTFs for the
84 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.05. In Step 3 of 5, enter the APAR numbers as shown in
Chapter 5. Servicing z/VM 8510.Download the two documentation envelopes and the two PTF envelopes to your workstation or other staging system.11.Comp
86 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.07. This should create the file DISK MAP on your A disk
Chapter 5. Servicing z/VM 87'service cp status VM64814''service cms status VM64799''service cp status VM64818'==> ch
88 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0This shows the controller is named DTCVSW1. 3. Use the
Chapter 5. Servicing z/VM 895.4.1 Getting service using ShopzSeriesService for z/VM is still available on the media of tape. However, getting servic
© Copyright IBM Corp. 2011. All rights reserved. ixNoticesThis information was developed for products and services offered in the U.S.A. IBM may not o
90 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Farther down the page, note the Fixed component name,
Chapter 5. Servicing z/VM 915.4.3 Downloading the service to z/VMPerform the following steps:1. From the previous APAR web page search, the link for
92 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04. Point your browser to the link in the email. You sh
Chapter 5. Servicing z/VM 938. Access the MAINT 500 disk as C:==> acc 500 cDMSACC724I 500 replaces C (2CC)9. The envelope files arrive in a compre
94 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 $VMFP2P $MSGLOG A1 V 80 805
Chapter 5. Servicing z/VM 955.4.6 Checking for APARMEMO filesAfter you have applied the PTFs, you should check for files with a file type of APARMEM
96 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 97Chapter 6. Configuring an NFS/FTP serverA common method of installing Linux on z/VM on a server is
98 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.06.1 Installing Linux on the PCIf you do not have a Li
Chapter 6. Configuring an NFS/FTP server 99You can also click the Contact Sales link at the left of the page or call 1-888-733-4281.6.3.1 Copying fr
x z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0TrademarksIBM, the IBM logo, and ibm.com are trademarks
100 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.06.3.3 Copying the DVD contentsCopy the contents of t
Chapter 6. Configuring an NFS/FTP server 101The directories to export with NFS are in the /etc/exports configuration file. Export the /nfs/rhel6/ dir
102 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.06.5 Configuring an FTP server for z/VM installationT
Chapter 6. Configuring an NFS/FTP server 103inflating: cpdvd/CKD50000 ...You should now have all the z/VM product installation files in place under
104 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.05. Set the vsftpd service to start at boot time by us
© Copyright IBM Corp. 2011. All rights reserved. 105Chapter 7. Installing RHEL 6 on the clonerBy now, you must have created a new z/VM user ID named L
106 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.07.1 Installing the clonerIn this section, you instal
Chapter 7. Installing RHEL 6 on the cloner 1074. Edit the duplicated profile by deleting the three LINK MAINT 040x lines, and inserting the lines tha
108 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 OPTION LNKNOPAS APPLMON MDISK 100 3390 0001 3338 UM6
Chapter 7. Installing RHEL 6 on the cloner 1097.1.2 Adding RH6CLONE to AUTOLOG1 PROFILE EXECThe new Linux ID you defined needs access to the VSWITCH
© Copyright IBM Corp. 2011. All rights reserved. xiPrefaceThis IBM® Redbooks® publication describes how to create Linux® virtual servers in IBM z/VM®
110 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0perform an IPL of the reader. A sample RHEL 6 paramet
Chapter 7. Installing RHEL 6 on the cloner 1116. Verify that the RHEL6 EXEC file has the correct information. Note the kernel and RAM disk have hardc
112 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.09. Linux user IDs will obtain their PROFILE EXEC file
Chapter 7. Installing RHEL 6 on the cloner 113DMSACP723I A (191) R/ODMSACP723I C (592) R/ODIAG swap disk defined at virtual address 300 (64989 4K pag
114 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.05. You might see warnings about systems that cannot b
Chapter 7. Installing RHEL 6 on the cloner 1157. From your workstation, use your SSH client (for example, PuTTY) to connect to the IP address and beg
116 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0waiting for hardware to initialize...Running anaconda
Chapter 7. Installing RHEL 6 on the cloner 1177.1.5 Stage 2 of the RHEL 6 installationAfter you have connected using VNC, perform the following step
118 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03. You might see the Unformatted DASD Devices Found w
Chapter 7. Installing RHEL 6 on the cloner 1197.1.6 Working around a known issueImportant: If the minidisks 100-102 (dasdb-dasdd) have not been form
xii z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 Chapter 10, “Installing Linux with kickstart” on pa
120 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.07.1.7 Continuing the installationContinue your insta
Chapter 7. Installing RHEL 6 on the cloner 1215. The installer now searches for a previous installation. It is important to select the Create Custom
122 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.06. The next window that opens requires you to move di
Chapter 7. Installing RHEL 6 on the cloner 1237. The Please Select A Device window allows you to set up minidisks and VDISKs. Click the Create button
124 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.010.Use the Create button to create a LVM physical vol
Chapter 7. Installing RHEL 6 on the cloner 12513.The next step is to set up LVM. Perform the following steps:a. Click Create and the Create Storage w
126 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Figure 7-13 Symptom of a known issue17.You will be
Chapter 7. Installing RHEL 6 on the cloner 127You system should continue to boot until a login prompt is presented. Start an SSH session to the maste
128 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03. Unmount the RHEL 6 installation tree and repeat th
Chapter 7. Installing RHEL 6 on the cloner 129You are now ready to use yum to install or upgrade an RPM package. To install a package, run yum instal
Preface xiiiMonospace and bold Commands entered by the user on the command line when inline. This only applies to lower-case commands.<value>
130 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0rsyslog 0:off 1:off 2:on 3:on 4:on
Chapter 7. Installing RHEL 6 on the cloner 131...xsetroot -solid greyvncconfig -iconic &xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP
132 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0# pressed. Usually used to shut down the machine.sta
Chapter 7. Installing RHEL 6 on the cloner 1337.2.8 Configuring SSH keysSSH sessions are typically authenticated with passwords entered on the keybo
134 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.07.2.10 Changing the order of the swap disksIt is lik
Chapter 7. Installing RHEL 6 on the cloner 1357.2.12 Rebooting the systemYou should now reboot the system to test the changes:# rebootBroadcast mess
136 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 137Chapter 8. Installing and configuring the golden imageIn this chapter, you install the copy of Lin
138 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.08.1 Installing the golden imageIn this section, you
Chapter 8. Installing and configuring the golden image 1394. Run DISKMAP to check for overlaps and gaps. You should only see the single 501 cylinder
xiv z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Now you can become a published author, too!Here’s an
140 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02. These changes will not take effect until the next
Chapter 8. Installing and configuring the golden image 141Perform the following steps:1. Log on to RH6GOLD. The PROFILE EXEC file from the LNXMAINT 1
142 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.05. There will be many, many panels of DASD I/O messag
Chapter 8. Installing and configuring the golden image 14311.A warning window opens, as shown in Figure 8-1. Click Re-initialize all. The mindisks ar
144 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.019.In the Add Partition window, shown in Figure 8-2,
Chapter 8. Installing and configuring the golden image 14522.Create partitions with a File System Type of swap with dasdd (virtual disk 300) and dasd
146 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0This results in about 1 GB of free space remaining in
Chapter 8. Installing and configuring the golden image 14725.In the Please Select A Device window, click Next (Figure 8-5). You see a Format Warnings
148 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0/dev/dasdc1 partition
Chapter 8. Installing and configuring the golden image 149To configure automount, perform the following steps:1. Make a backup copy of the /etc/auto.
Preface xv Explore new Redbooks publications, residencies, and workshops with the IBM Redbooks weekly newsletter:https://www.redbooks.ibm.com/Redbo
150 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02. Enter the file to verify the contents:# cat rhel6.
Chapter 8. Installing and configuring the golden image 1518.2.4 Configuring the VNC serverConfigure the VNC server the same way as you did on the cl
152 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.08.2.7 Configuring SSH keysRecall that you generated
Chapter 8. Installing and configuring the golden image 153/dev/disk/by-path/ccw-0.0.0100-part2 swap swap defaults 0 0...
154 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04. Verify the shutdown settings with the lsshut comma
© Copyright IBM Corp. 2011. All rights reserved. 155Chapter 9. Configuring RHEL 6 for cloningAt this point, you have completed the installation of RH6
156 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.09.1 Formatting DASD for minidisksIn 4.6.2, “Formatti
Chapter 9. Configuring RHEL 6 for cloning 1579.2 Defining a new user ID for a virtual serverIn this section, you define a new user ID, LINUX01, in z
158 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0'cp xautolog tcpip' /* star
Chapter 9. Configuring RHEL 6 for cloning 1598. Detach the target disks.9. Perform an IPL of the target system.10.Modify the SSH keys on the target s
xvi z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
160 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Detaching the source disksNow that you no longer need
Chapter 9. Configuring RHEL 6 for cloning 161Mounting the newly copied root file systemTo mount the newly copied root file system, perform the follow
162 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02. Change the host name in the /etc/hosts file:# cd /
Chapter 9. Configuring RHEL 6 for cloning 163DMSACP723I A (191) R/ODMSACP723I C (592) R/ODIAG swap disk defined at virtual address 300 (64989 4K page
164 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0# PROMPT - This will set if the script should prompt
Chapter 9. Configuring RHEL 6 for cloning 165# Define networking information that will be used for the host.IPADDR=9.60.18.224SUBCHANNELS=0.0.0600,0.
166 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0The clone script can operate in two modes: where the
Chapter 9. Configuring RHEL 6 for cloning 167Invoking CP command: LINK linux01 100 ffff WInvoking CP command: FLASHCOPY fffe 0 END ffff 0 END100 disk
168 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0A block diagram of this process is shown in Figure 9-
Chapter 9. Configuring RHEL 6 for cloning 1692. Edit the USER DIRECT file and create three new sections, that is, LINUX02, LINUX03, and LINUX04. You
© Copyright IBM Corp. 2011. All rights reserved. xviiSummary of changesThis section describes the technical changes made in this edition of the book a
170 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.05. Check for overlaps and the single gap. Run quit to
Chapter 9. Configuring RHEL 6 for cloning 171PORTNO=0LAYER2=0You should now have three new parameter files and three new configuration files.9.5.3 A
172 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 VLAN Unaware State: Ready IPTimeout: 5 Qu
Chapter 9. Configuring RHEL 6 for cloning 1739.6 Reviewing system statusYou can step back now and view your system from a DASD point of view, as sho
174 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 175Chapter 10. Installing Linux with kickstartKickstart is an automated way of installing RHEL 6. Usi
176 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.010.1 Configuring the cloner for kickstartThe install
Chapter 10. Installing Linux with kickstart 177part pv.uB82Dq-ajP3-QEln-dcsJ-XHds-tCxx-BRjx0c --grow --size=200part swap --grow --size=200part swap -
178 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0/nfs/ks */nfs/virt-cookbook-RH6 */nfs/
Chapter 10. Installing Linux with kickstart 17900: Storage cleared - system reset.==> ipl cms...Do you want to IPL Linux from minidisk 100? y/nnVe
xviii z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
180 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 181Chapter 11. Cloning open source virtual serversThis chapter describes how to clone and customize t
182 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.011.1 Creating a virtual web serverThe example in thi
Chapter 11. Cloning open source virtual servers 183You should see the test page shown in Figure 11-1, which verifies that the web server is working.F
184 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03. Go back to your browser and click Refresh. You sho
Chapter 11. Cloning open source virtual servers 1853. Verify that the RPM was added:# rpm -qa | grep mod_sslmod_ssl-2.2.15-5.el6.s390x4. Restart the
186 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02. Start an SSH session to the IP address of the new
Chapter 11. Cloning open source virtual servers 187olcMonitoring: TRUEolcDbDirectory: /var/lib/ldap...4. Save the file. Your LDAP server should now b
188 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0dn: cn=Manager,dc=my-domain,dc=comobjectClass: organi
Chapter 11. Cloning open source virtual servers 189## See ldap.conf(5) for details# This file should be world readable but not world writable.BASE dc
© Copyright IBM Corp. 2011. All rights reserved. 1Chapter 1. Introduction to z/VM and LinuxVirtualization is an important topic in the IT industry. Th
190 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02. Invoke the authconfig-tui command. Use the Tab key
Chapter 11. Cloning open source virtual servers 19111.3 Creating a virtual file and print serverSamba allows Windows clients to map Linux file syste
192 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02. Confirm that the RPMs were added:# rpm -qa | grep
Chapter 11. Cloning open source virtual servers 1932. Add the sambauser1 user to the smbpasswd file by using the smbpasswd -a command:# smbpasswd -a
194 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 --------- ------- MYGROUP
Chapter 11. Cloning open source virtual servers 19511.3.7 Configuring printingConfiguring printing is beyond the scope of this book. For more detail
196 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 372M 86M 267M 25% /varIn th
Chapter 11. Cloning open source virtual servers 19711.4.1 Additional resourcesThe following websites provide additional information about applicatio
198 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 199Chapter 12. Servicing Linux with Red Hat NetworkThis chapter describes Red Hat Network (RHN) and i
2 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Many functions have been added to z/VM since Version 5.
200 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.012.1 Registering your system with RHNThis section as
Chapter 12. Servicing Linux with Red Hat Network 201Remove 0 Package(s)Total download size: 2.6 MIs this ok [y/N]: yDownloading Packages:Runnin
202 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Next, click the link that is the system name. This op
© Copyright IBM Corp. 2011. All rights reserved. 203Chapter 13. Miscellaneous tasksThis chapter describes the following miscellaneous tasks that you m
204 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.013.1 Adding DASDThe process in this section describe
Chapter 13. Miscellaneous tasks 205Setting device 0.0.0103 onlineDone3. View the available disks again with the lsdasd command:# lsdasdBus-ID Sta
206 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.00.0.0101 use_diag=0 readonly=0 erplog=0 failfast=00.0
Chapter 13. Miscellaneous tasks 207Figure 13-1 shows a block diagram of the logical volume manager for this example.Figure 13-1 LVM block diagramCr
208 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 PV Size 1.15 GiB Allocatable
Chapter 13. Miscellaneous tasks 209 LV Status available # open 0 LV Size 2.29 GiB Current LE
Chapter 1. Introduction to z/VM and Linux 3the z9 BC processors or later. Virtual Machine Resource Manager (VMRM) detects when memory is constrained
210 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0# Accessible filesystems, by reference, are maintaine
Chapter 13. Miscellaneous tasks 21113.3 Extending an existing logical volumeThis section describes the process of adding a new minidisk to an existi
212 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 Metadata Sequence No 2 VG Access read
Chapter 13. Miscellaneous tasks 213 Extending logical volume homelv to 4.58 GB Logical volume homelv successfully resized# resize2fs /dev/homevg/ho
214 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0The output shows that the LPAR has many FCP devices f
Chapter 13. Miscellaneous tasks 21510.List the contents of the directory again. You should see that many entries were added after the device was put
216 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.016.Create a partition with the fdisk command:# fdisk
Chapter 13. Miscellaneous tasks 217availability driver lic_version peer_wwpn subsystemcard_version failed mod
218 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.08. Add an entry to /etc/multipath.conf using the mpat
Chapter 13. Miscellaneous tasks 21913.5 Rescuing a Linux systemThis section describes how to boot your Linux server into different modes for trouble
4 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 Provisioning versus predefined user IDs: z/VM user ID
220 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0'PUNCH RHEL6 KERNEL * (NOHEADER''PUNCH
Chapter 13. Miscellaneous tasks 221Connect now to 9.60.18.225 and log in as user install to start the installation.E.g. using: ssh -x [email protected]
222 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.013.6 Setting up Linux Memory HotpluggingLinux Memory
Chapter 13. Miscellaneous tasks 223y...7. Start an SSH session as root and view the memory in the /sys/ file system. Change the directory to /sys/dev
224 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.015.Verify that the memory has returned:# cat memory*/
Chapter 13. Miscellaneous tasks 225The output shows that cpuplugd starts by default in the current run level.4. Wait a few minutes and run the lscpus
226 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Where the variables in the statements have the follow
Chapter 13. Miscellaneous tasks 227/sys/devices/system/cpu/cpu51/sys/devices/system/cpu/cpu60/sys/devices/system/cpu/cpu70/sys/devices/system/cpu/cpu
228 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0To test copy a file with and without cryptographic ac
Chapter 13. Miscellaneous tasks 229 libselinux.s390 0:2.0.94-2.el6 nss-softokn-freebl.s390 0:3.12.7-1.1.el6 openssl.s390 0:1.0.0-4.el6 zl
Chapter 1. Introduction to z/VM and Linux 5Figure 1-1 shows a block diagram of a System z10 with multiple LPARs. z/VM V5.4 is installed in one of the
230 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0/usr/lib64/libibmca.so: cannot open shared object fil
Chapter 13. Miscellaneous tasks 23113.9 The X Window SystemFor many years, UNIX-like operating systems have been using the X Window System. This sys
232 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.013.9.2 X Window System Server on workstationIf for s
Chapter 13. Miscellaneous tasks 233This command failed, because XliveCD requires an explicit command to allow remote hosts to connect to it. When the
234 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Using PuTTYTo use PuTTY for X Window System 11 forwar
Chapter 13. Miscellaneous tasks 235As you can see in Figure 13-4, the DISPLAY environment variable contains the special value of localhost:10.0, whic
236 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Using embedded SSHIt is also possible to achieve X Wi
Chapter 13. Miscellaneous tasks 23713.10.1 Recommendations for centralizing home directoriesIn December of 2009, the topic of how to set up a common
238 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0We've found POSIX group membership management to
© Copyright IBM Corp. 2011. All rights reserved. 239Chapter 14. Monitoring and tuning z/VM and LinuxThis chapter briefly describes how to monitor z/VM
6 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
240 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.014.1 Using INDICATE and other commandsz/VM has many
Chapter 14. Monitoring and tuning z/VM and Linux 241being measured in 100s rather than 1000s. The higher values seen tend to build up over time, and
242 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0EDLWRK9 Q3 AP 00002372/00002334 ... .1107 A0
Chapter 14. Monitoring and tuning z/VM and Linux 243Determining storage or memoryTo see how much central and expanded storage (memory) is installed a
244 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Determining DASD, OSA, and virtual resourcesThe QUERY
Chapter 14. Monitoring and tuning z/VM and Linux 245VMFSUT2760I VMFSUFTB processing completed successfullyVMFSRV2760I SERVICE processing completed su
246 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03. When the system comes back, log on to TCPMAINT and
Chapter 14. Monitoring and tuning z/VM and Linux 247The modified lines should be as follows. Save your changes with the FILE subcommand:* Followin
248 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0'PERFKIT' /* Invoke the
Chapter 14. Monitoring and tuning z/VM and Linux 249Before starting the Performance Toolkit, you may want to increase the size of the DCSS named MOND
© Copyright IBM Corp. 2011. All rights reserved. 7Chapter 2. PlanningThis chapter covers the planning that should be done before installing z/VM. It b
250 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.014.2.5 Starting the z/VM Performance ToolkitTo start
Chapter 14. Monitoring and tuning z/VM and Linux 251You should see a splash window, then the Web Server Logon window, as shown in Figure 14-1.Figure
252 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04. Click your system identifier and the Initial Perfo
Chapter 14. Monitoring and tuning z/VM and Linux 2532. If you had disconnected, pressing Enter should get you back to the Performance Toolkit command
254 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.014.3 Monitoring LinuxMeasurements can show resource
Chapter 14. Monitoring and tuning z/VM and Linux 255To turn on the built in kernel monitoring, use the echo command to send a non-zero value into fou
256 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 257Appendix A. Referencesz/VM differs from Linux in regards to the location and number of configurati
258 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Cheat sheetsThis section contains quick references or
Appendix A. References 259p The line before which a copy (c) or a move (m) is to be inserted. i Inserts a line. i<n> Inserts 'n' line
8 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02.1 Bill of materialsThe resources needed for a Linux
260 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 261Appendix B. Additional materialThis book refers to additional material that can be downloaded from
262 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0clone-1.0-10.s390x.rpm RPM with Linux cloning script
© Copyright IBM Corp. 2011. All rights reserved. 263Related publicationsThe publications listed in this section are considered particularly suitable f
264 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 The Program Directory for Performance Toolkit for V
Related publications 265 The Linux for IBM eServer zSeries and S/390 portal:http://linuxvm.org/ Linux on IBM System z and S/390 developerWorks:htt
266 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 267IndexSymbols(REPLACE 93$VMF* $MSGLOG 93Numerics3270 emulatorsoftware 2563a2 63a9 53AACCES
268 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0define a VSWITCH 45define z/VM user ID 56device e
Index 269IPWIZARD 41SET PF12 ? 44shutdown reipl 40SYSTEM CONFIG 44XEDIT PROFILE 43z/VM install code 30ZVMV6R10 45Integrated 3270 31c
Chapter 2. Planning 9– A Linux SSH client, such as PuTTY (recommended) or TeraTerm –A VNC viewerThese resources are described in more detail in the c
270 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03270 interface 252browser interface 250command li
Index 271command 151, 222value 63SMP 141, 163, 220SSH 20SSH client 19–20, 231, 233SSH key 147, 159new set 147SSH session 24, 61, 140
272 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0website 185WRKS 54XXAUTOLOG 62XAUTOLOG command
(0.5” spine)0.475”<->0.873”250 <-> 459 pagesz/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0z/
z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0z/VM and Linux on IBM System z: The Virtualization Cookboo
®SG24-7932-00 ISBN 0738435104INTERNATIONAL TECHNICALSUPPORTORGANIZATIONBUILDING TECHNICAL INFORMATION BASED ON PRACTICAL EXPERIENCEIBM Redbooks are de
International Technical Support Organizationz/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0February 2011S
10 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0The LPAR used in this book is identified by the charac
Chapter 2. Planning 112.3 Disk planningThere are different aspects to consider when planning how to choose and allocate disk storage. Some aspects i
12 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02.4 Memory planningPlanning memory may be the most di
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
14 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02.6.2 z/VM DASD used in this bookTable 2-3 lists the
Chapter 2. Planning 152.6.3 Linux resources used in this bookTable 2-4 lists the Linux NFS server resources used for the first System z Linux instal
16 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02.7 Blank worksheetsBlank copies of the same four wor
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
18 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02.7.3 Linux resources worksheetUse the worksheet in T
© Copyright IBM Corp. 2011. All rights reserved. 19Chapter 3. Configuring a desktop machineMany people use Microsoft Windows as a desktop operating sy
© Copyright International Business Machines Corporation 2011. All rights reserved.Note to U.S. Government Users Restricted Rights -- Use, duplication
20 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03.1 PuTTY: A no cost SSH client for WindowsThroughout
Chapter 3. Configuring a desktop machine 213. Click Logging in the left pane as shown in Figure 3-2. –Select Printable output in the Session logging
22 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.06. In the left Category pane, click Terminal as shown
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
24 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Now to save a session for each virtual server, perform
Chapter 3. Configuring a desktop machine 253.3 3270 emulatorsTo access a logon session with z/VM, it is common to use a 3270 emulator that runs on W
26 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
© Copyright IBM Corp. 2011. All rights reserved. 27Chapter 4. Installing and configuring z/VMz/VM can be installed first level from tape, from DVD, or
28 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04.1 Installing z/VM from DVD or FTP serverThis sectio
Chapter 4. Installing and configuring z/VM 2912.It may take some time for the order to be prepared. In this example, the email stating that the order
© Copyright IBM Corp. 2011. All rights reserved. iiiContentsNotices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.014.Clicking this link brought up the window shown in F
Chapter 4. Installing and configuring z/VM 314. On the Recovery or CPC Recovery menu, double-click the Integrated 3270 Console as shown at the bottom
32 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.06. The LPAR that z/VM will be installed into should st
Chapter 4. Installing and configuring z/VM 337. On the Load from Removable Media or Server window shown in Figure 4-4, the Hardware Management Consol
34 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Setting up an FTP server so as to provide the z/VM pro
Chapter 4. Installing and configuring z/VM 354.1.3 Copying a vanilla z/VM system to DASDThis section describes the steps to copy z/VM to DASD.Perfor
36 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03. Invoke the instplan command. This will allow you to
Chapter 4. Installing and configuring z/VM 37Running INSTDVDThe INSTDVD EXEC copies the z/VM system from DVD to disk.Perform the following steps:1. E
38 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04.1.4 Performing an IPL of the vanilla z/VM from DASD
Chapter 4. Installing and configuring z/VM 396. Move back to the Integrated 3270 Console window. You should see the Standalone Program Loader panel a
iv z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03.2.1 Downloading and running RealVNC . . . . . . . .
40 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.02. Run IPL CMS, then press Enter at the VM READ prompt
Chapter 4. Installing and configuring z/VM 41Congratulations! You should now have a vanilla z/VM system installed.4.2 Configuring TCP/IPIt is recomm
42 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04. An Interface Name of eth0 (Figure 4-14) is arbitrar
Chapter 4. Installing and configuring z/VM 436. Enter 1 to restart the TCP/IP stack (you may see other warnings):The TCP/IP stack (TCPIP) must be res
44 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Search for the XEDIT User’s Guide and Command Referenc
Chapter 4. Installing and configuring z/VM 452. After it is released, you can access the MAINT CF1 disk read-write. Use the LINK command with the mul
46 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Modify the two starting addresses of the OSA triplets
Chapter 4. Installing and configuring z/VM 47There is no logmsg dataFILES: NO RDR, NO PRT, NO PUNLOGON AT 09:29:16 EST FRIDAY 11/20/09DMSIND201
48 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.07. Save your changes with the FILE subcommand:====>
Chapter 4. Installing and configuring z/VM 494.5.3 Configuring the FTP serverTurn on the FTP server by editing the renamed configuration file:1. Edi
Contents v5.1.5 Putting the service into production . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 815.2 PTFs for the zE
50 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0This console is always accessible whether you are logg
Chapter 4. Installing and configuring z/VM 51It is recommended that you add at least three paging volumes, giving you a total of four (or one more 33
52 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0...ftp> quitYou should now have the CPFORMAT EXEC o
Chapter 4. Installing and configuring z/VM 53ARE YOU SURE you want to format the DASD as PAGE space (y/n)? y...DASD status after:TargetID Tdev OwnerI
54 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0DASD status after:TargetID Tdev OwnerID Odev Dtype Vo
Chapter 4. Installing and configuring z/VM 55 CP_Owned Slot 10 RESERVED CP_Owned Slot 11 RESERVED...5. Move down to the User_Volume_L
56 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04.6.4 Testing the changesIt is recommended that you a
Chapter 4. Installing and configuring z/VM 57Perform the following steps:1. Edit the USER DIRECT file and add the following user ID definition to the
58 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Now search for all the gaps using the ALL subcommand.
Chapter 4. Installing and configuring z/VM 599. Now that you are sure the minidisk layout is correct, the changes to the USER DIRECT file can be brou
vi z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.08.1.1 Creating the RH6GOLD user ID . . . . . . . . .
60 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04. You have now formatted the two minidisks and access
Chapter 4. Installing and configuring z/VM 612. You could test your changes by logging off and logging back on. However, typing the command PROFILE w
62 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0250 Working directory is LNXMAINT 192ftp> promptInt
Chapter 4. Installing and configuring z/VM 632. Make a copy of the working PROFILE EXEC:==> copy profile exec a = execwrks =3. Edit the file and a
64 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0...==> q signal shutdownSystem default shutdown sig
Chapter 4. Installing and configuring z/VM 654.9.5 Changing passwords in USER DIRECTChanging the passwords can be done manually in XEDIT. However, t
66 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0Note that this XEDIT macro will only work on a vanilla
Chapter 4. Installing and configuring z/VM 67To understand this possibility, refer to Figure 4-16. The z/VM system with the lower device addresses st
68 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0 2 610SPL D851 Own Online and attached 3 61
Chapter 4. Installing and configuring z/VM 697. Release and detach the F disk, CPACCESS the A disk, and verify with the QUERY CPDISK command:==> r
Contents vii11.3.2 Installing the necessary RPMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19111.3.3 Configuring
70 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0For reference, here are the entries in the USER DIRECT
Chapter 4. Installing and configuring z/VM 713. Use the circular arrow racetrack buttons to get to the CPC Recovery (or just Recovery) menu.4. Double
72 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.04.12 Restoring your z/VM system from tapeIt is good t
© Copyright IBM Corp. 2011. All rights reserved. 73Chapter 5. Servicing z/VMThis chapter describes how to apply the two main types of service: A Reco
74 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0The body of the page should look similar to Figure 5-1
Chapter 5. Servicing z/VM 75First determine whether your system needs service. Use the QUERY CPLEVEL command:==> q cplevelz/VM Version 6 Release 1
76 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.05.1.2 Downloading the service filesIn this example, t
Chapter 5. Servicing z/VM 775.1.3 Creating a new MAINT minidiskIf you have adequate space to extract the files on the MAINT 500 disk, you can skip t
78 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.03. Move the large RSU file from the MAINT 500 (C) to t
Chapter 5. Servicing z/VM 79Then the same steps were needed for many other components. The process is much easier now with the SERVICE ALL command. O
Commenti su questo manuale