Z/VM Installation Guide
Z/VM Installation Guide
Z/VM Installation Guide
The accompanying License Information Document explains the terms and conditions of use.
1.1 Overview
The z/VM Evaluation Edition is delivered on DVD-RAM. You may download the files and
create your own DVD-RAM from:
https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=zvmeval
Once you have a z/VM Evaluation Edition DVD-RAM disk, you place it in the DVD drive of a
System z™ Hardware Management Console (HMC) and load it into memory in a logical
partition. A DVD-RAM is read/write, so changes made to the system in memory can be
written back to the disk.
No external disks are required to bring up the Evaluation Edition or to perform simple
functions. However, in order to run any significant Linux® workload, external disks are
required for z/VM paging and spooling, as well as for minidisks to hold Linux data.
IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM
representative for information on the products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used.
Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be
used instead. However, it is the user's responsibility to evaluate and verify the operation of any non-IBM product, program,
or service.
IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing
of this document does not give you any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing, IBM Corporation, North Castle Drive, Armonk, NY 10504-1785 U.S.A.
The following paragraph does not apply to the United Kingdom or any other country where such provisions are
inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions,
therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically made to the
information herein; these changes will be incorporated in new editions of the publication. IBM may make improvements
and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.
Trademarks
The following terms are trademarks of other companies:
Linux is a trademark of Linus Torvalds in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.
If you intend to install Linux, basic Linux skills will also be helpful. However, this manual
focuses mainly on the z/VM aspects of setting up the system.
For background reading, there is a IBM Redbook for those new to z/VM - Introduction to the
New Mainframe: z/VM Basics, SG24-7316, on the Web at:
http://www.redbooks.ibm.com/abstracts/sg247316.html?Open
DASD real address/label for 371A/PG371A 3390-3 obtained from System z administrator
page space
DASD real address/label for 371B/SP371B 3390-3 obtained from System z administrator
spool space
DASD real address/label for 5023/LX5023 3390-3 obtained from System z administrator
Linux
OSA Express starting address 6D0 First real address of three to be used for
network connectivity
Default IEEE VLAN 1 VLAN trunk port number for OSA device
IEEE VLAN for z/VM and 505 Obtained from Network administrator
Linux
CEC/LPAR name
Subnet mask
z/VM System ID
Linux user ID
Linux IP address
It is recommended that you investigate the following settings for your emulator:
Set the Enter and Clear function keys to be where you would expect them. On some
emulators, the default Enter key is set to the right Ctrl key of modern keyboards. Likewise
the Clear key is sometimes set to the Esc key in the upper left corner of modern keyboards
or to the Pause key in the upper right.
You will be asked to fill out a short questionnaire. Then you can download the following files:
ZVM.NUCLEUS z/VM 5.3 nucleus
ZVM.RAMDISK z/VM 5.3 self-contained system residence volume (RAM disk)
ZVM.ins HMC install file
ZVMBOOT.IMAGE Boot loader (part 1)
ZVMBOOT.PREFIX Boot loader (part 2)
install_guide.pdf Detailed installation information (this document)
readme.pdf Readme text file
notices.file Notices regarding Licensing Information
Download all the files. Place the blank disk in your DVD-RAM drive. Bring up your DVD-writer
software and copy all the downloaded files to the DVD-RAM.
The following types of DVD-RAM media have been tested with the z/VM Evaluation Edition:
Panasonic DVD-RAM 2-3x Speed Single-sided 4.7 GB/Non-cartridge
Maxell DVD-RAM 4.7 GB V2 (REORDER #636070)
While other DVD-RAM media might function correctly, they have not been tested by IBM.
8. If not already selected, click on the radio button Hardware Management Console
CD-ROM / DVD. Click OK.
9. A new window opens as shown in Figure 1-3. The software ZVM.ins should be found.
Click OK.
10.You might see the warning screen stating Load will cause jobs to be cancelled. Click Yes
to continue. The warning screen will close.
11.The Load from CDROM, DVD, or Server Progress window opens as shown in Figure 1-4
on page 9. When the DVD is loaded, click OK. The load process should only take about
10-15 seconds.
2. Click OK in the Access to Removable Media window. The confirmation window shown in
Figure 1-6 opens:
3. Click Yes in the Access Removable Media Task Confirmation window. The RAMdisk will
begin loading from the DVD-RAM. The window shown in Figure 1-7 on page 10 opens:
4. Do not click OK in the Access Removable Media window, shown in Figure 1-7, until you
are ready to end your access to the DVD drive. Leave this window open as long as you
need access to the DVD drive and at least until the z/VM Evaluation Edition starts
executing.
5. Switch to the Integrated 3270 Console window. After about 6-15 minutes, the z/VM 5.3
Evaluation Edition should start executing, as shown in Figure 1-8.
6. Reply force drain at the Start prompt to continue the initial program load.
7. Reply no when you are asked if you want to Change TOD clock.
The z/VM Evaluation Edition is now initialized and you are logged on as the OPERATOR. You
can now customize z/VM for your environment.
3. Enter the networking values into the second CUSTOMIZ panel. Press Enter when you are
finished entering them:
4. CUSTOMIZ will now begin formatting your page, spool and Linux disks. This can take
several minutes per disk. Each time the screen fills up and shows either the MORE... or the
HOLDING status message in the lower right corner, press the Esc key to clear the screen.
After formatting the disks, CUSTOMIZ completes the networking configuration. Again, read
the messages that are displayed.
5. CUSTOMIZ will terminate. The new z/VM system should be on the network. To test this, you
can try a ping from another system or try opening a 3270 emulator session to the IP
address or host name that you provided on the second screen of CUSTOMIZ.
6. Disconnect from the OPERATOR user ID on the Integrated 3270 Console:
=> disc
Disconnecting from a virtual machine is analogous to turning a PC’s monitor off, while
logging off is analogous to powering off the machine.
If all of these are correct, try shutting down the TCP/IP service virtual machine with the
command FORCE TCPIP, then log on to TCPIP manually (the password is TCPIP), press
Enter twice and watch the messages carefully for errors.
Note: this is a priced feature of the licensed z/VM, but there is no charge for DirMaint in the
Evaluation Edition.
This shows that DirMaint is running and allows MAINT to issue DirMaint commands without
needing to enter the MAINT password.
The first user is named LINUX43 in this example because of a convention that uses the last
octet of the IP address (this Linux system will get the IP address 9.12.20.43). Using part of
the IP address in the user ID can sometimes be helpful in associating systems with TCP/IP
addresses. But of course, you can name the user whatever you would like.
COMMAND ===>
3. Observe the messages as the virtual machine IPLs CMS. Verify that a NIC has been
created at virtual address 0600:
LOGON LINUX43
NIC 0600 is created; devices 0600-0602 defined
HCPNDF6011E You are not authorized to COUPLE to SYSTEM VSW1
z/VM Version 5 Release 3.0, Service Level 0881 (64-bit),
built on IBM Virtualization Technology
There is no logmsg data
FILES: 0006 RDR, NO PRT, NO PUN
LOGON AT 14:22:47 EDT THURSDAY 07/03/08
Command complete
NIC 0600 is connected to VSWITCH SYSTEM VSW1
DMSWSP327I The installation saved segment could not be loaded
z/VM V5.3.0 2008-05-22 15:06
Ignore the HCPNDF6011E message. The NIC is coupled to VSW1 by the second command
that you added to the directory entry.
You can now install Linux onto the LINUX43 user ID.
There are a number of sources of documentation that you can use to install Linux:
An installation manual from your Linux distributor
z/VM and Linux on IBM System z: The Virtualization Cookbook for SLES10 or z/VM and
Linux on IBM System z: The Virtualization Cookbook for RHEL5, on the Web at:
http://linuxvm.org/present/
z/VM V5R3.0 Getting Started with Linux on System z9® and zSeries®, SC24-6096-02, on
the Web at:
http://publibz.boulder.ibm.com/epubs/pdf/hcsx0b20.pdf
If the Access Removable Media window is no longer up, return to the HMC session and bring
up the window as described in section 1.3.1, “Accessing the DVD-RAM on the HMC” on
page 9.
Issue the RAMSAVE command to write the state of the current system back to the DVD-RAM
disk:
=> ramsave
5351 changed RAMdisk pages saved
Note: If the Access Removable Media task is not active for the z/VM Evaluation Edition
LPAR, you will get an error:
=> ramsave
ZVM0002E Error saving RAMdisk data
Ready(00002); T=0.01/0.01 13:56:30
You have now saved the system’s state to the DVD-RAM disk.
At this point, you can continue to use the z/VM Evaluation Edition to accomplish your
evaluation objectives.
The value 9082 usually means that there is not enough memory configured in the LPAR. Any
other values probably means that the DVD-RAM disk is not being IPLed on an IBM System
z10.
Line Commands
a Add a line
a<n> Add ‘n’ lines
c/<old>/<new>/ <n> <m> Search for string ‘old’ and replace it with ‘new’ for ‘n’ lines
below the current line and ‘m’ times on each line. ‘*’ can be used for ‘n’ and ‘m’
/<string> Search for ‘string’ from the current line
-/<string> Search backwards for ‘string’
all /<string>/ Show all occurences of ‘string’ and hide other lines
bottom Move to the bottom of the file
top Move to the top of the file
down <n> Move down ‘n’ lines
up <n> Move up ‘n’ lines
file Save the current file and exit XEDIT
ffile Save the current file and exit but don’t warn of overwrite
save Save the current file but don’t exit
quit Exit XEDIT if no changes have been made
qquit Exit XEIDT even if changes have not been saved
left <n> Shift ‘n’ characters to the left
right <n> Shift ‘n’ characters to the right
get <file> Copy file and insert past the current line
:<n> Move to line ‘n’
? Display last command
= Execute last command
x <file> Edit ‘file’ and put it into the XEDIT “ring”
x Move to the next file in the ring
A.3 Support
No formal support is provided for the z/VM Evaluation Edition. However, questions and
problems may be submitted by e-mail to:
zvmdemo@us.ibm.com
Appendix A. References 23
24 The z/VM 5.3 Evaluation Edition Installation and User’s Guide