Chapter 4. Installing and configuring z/VM 37
5. If the Domain Name System (DNS) server cannot be pinged, enter 1 to try it again. Watch
for the message IPWIZARD EXEC ENDED SUCCESSFULLY as Example 4-5 shows.
Example 4-5 Repinging the DNS server
PING: Ping #1 timed out
Not all of the PINGs were successful. Would you like
to try them again?
Enter 0 (No), 1 (Yes)
==> 1
...
Successfully PINGed Interface (10.1.40.90)
Successfully PINGed Gateway (10.1.40.1)
Successfully PINGed DNS (10.1.40.7)
DTCIPW2519I Configuration complete; connectivity has been verified
DTCIPW2520I File PROFILE TCPIP created on TCPIP 198
DTCIPW2520I File TCPIP DATA created on TCPIP 592
DTCIPW2520I File SYSTEM DTCPARMS created on TCPIP 198
HCPINP8392I IPWIZARD EXEC ENDED SUCCESSFULLY
DMSVML2061I TCPIP 592 released
6. At this point, you must have a running z/VM TCP/IP stack. You must now be able to ping it
from another system.
If the IPWIZARD fails, you must continue debugging it until it succeeds. Double check all
values. Verify that the TCP/IP network and OSA information you were given are properly
associated.
4.4.2 Configuring TCP/IP to start at IPL time
Configure the TCPIP service machine to start when z/VM IPLs. This is commonly
accomplished from AUTOLOG1’s PROFILE EXEC. If the noautolog parameter is not
specified, when z/VM starts, the AUTOLOG1 virtual machine also starts. Because it IPLs
CMS, the PROFILE EXEC that is found on its A disk, is run. This is analogous to the
/etc/profile file on Linux and the autoexec.bat on DOS systems. Perform the following steps:
1. Log off MAINT.
==> log
2. You must see a new login panel. Log in to AUTOLOG1. Again the password is the same
as the user ID.
3. At the VM READ prompt, enter the command access (noprof to avoid the PROFILE EXEC
from running. If it does run, then you are logged off.
Example 4-6 The access (noprof command
LOGON AUTOLOG1
z/VM Version 5 Release 2.0, Service Level 0501 (64-bit),
built on IBM Virtualization Technology
There is no logmsg data
FILES: NO RDR, NO PRT, NO PUN
LOGON AT 13:30:12 EST THURSDAY 01/19/06
DMSIND2015W Unable to access the Y-disk. Filemode Y (19E) not accessed
z/VM V5.2.0 2005-12-22 09:36
acc (noprof
38 IBM z/VM and Linux on IBM System z: Virtualization Cookbook for Red Hat Enterprise Linux 4
4. Copy the PROFILE XEDIT from the MAINT 191 disk to allow XEDIT sessions to have a
common interface among user IDs.
a. Use the VMLINK command to both link to the disk read/only and to access it as the
highest available file mode. The default read password is read:
==> vmlink maint 191
ENTER READ PASSWORD:
read
DMSVML2060I MAINT 191 linked as 0120 file mode Z
b. Copy the PROFILE XEDIT to your A disk:
==> copy profile xedit z = = a
5. Make a backup copy of the PROFILE EXEC and edit it:
==> copy profile exec a = execorig =
==> x profile exec
6. You see the text in the top half of Example 4-7. Perform the following steps:
a. The z/VM Shared File System (SFS), is not required to run Linux. Therefore, you can
safely delete the three lines that XAUTOLOG the user IDs VMSERVS, VMSERVR,
and VMSERVU.
b. You can also safely delete the Address Command line.
c. Add a line to start the TCPIP user ID with the XAUTOLOG command and retain the
two statements that start the VSWITCH controllers.
d. Add a line to log off AUTOLOG1 when the PROFILE is complete, as in Example 4-7.
There is no requirement to keep the virtual machine running as its sole purpose is to
run the PROFILE EXEC.
Example 4-7 Changed AUTOLOG1
Before the added line:
/***************************/
/* Autolog1 Profile Exec */
/***************************/
Address Command
'CP XAUTOLOG VMSERVS'
'CP XAUTOLOG VMSERVU'
'CP XAUTOLOG VMSERVR'
'CP XAUTOLOG DTCVSW1'
'CP XAUTOLOG DTCVSW2'
After the added line:
/***************************/
/* Autolog1 Profile Exec */
/***************************/
'cp xautolog tcpip' /* start up TCPIP */
'CP XAUTOLOG DTCVSW1' /* start VSWITCH controller 1 */
'CP XAUTOLOG DTCVSW2' /* start VSWITCH controller 2 */
'cp logoff' /* logoff when done */

Get IBM z/VM and Linux on IBM System z: Virtualization Cookbook for Red Hat Enterprise Linux 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.