System information
42 Sharing and maintaining SLES 10 SP2 Linux under z/VM
You can now log on to LNX226 and IPL from 1B0. At the initial logon, be sure there are no
errors related to minidisks nor VSWITCH access:
LOGON LNX226
00: NIC 0600 is created; devices 0600-0602 defined
00: z/VM Version 5 Release 4.0, Service Level 0801 (64-bit),
00: built on IBM Virtualization Technology
00: There is no logmsg data
00: FILES: NO RDR, NO PRT, NO PUN
00: LOGON AT 10:33:03 EDT TUESDAY 05/05/09
z/VM V5.4.0 2008-12-05 12:25
DMSACP723I A (191) R/O
DMSACP723I C (592) R/O
DIAG swap disk defined at virtual address 1B2 (16245 4K pages of swap space)
DIAG swap disk defined at virtual address 1B3 (16245 4K pages of swap space)
Choose to boot Linux from 1B0, and you should notice the modified default boot time of 3
seconds and the modified parameter line:
Do you want to IPL Linux from DASD 1B0? y/n
y
00: zIPL v1.6.3 interactive boot menu
00:
00: 0. default (ipl)
00:
00: 1. ipl
00: 2. Failsafe
00:
00: Note: VM users please use '#cp vi vmsg <number> <kernel-parameters>'
00:
00: Please choose (default will boot in 3 seconds):
00: Booting default (ipl)...
Linux version 2.6.16.60-0.21-default (geeko@buildhost) (gcc version 4.1.2 200701
15 (SUSE Linux)) #1 SMP Tue May 6 12:41:02 UTC 2008
We are running under VM (64 bit mode)
Detected 2 CPU's
Boot cpu address 0
Built 1 zonelists
Kernel command line: dasd=1b0-1bf,2b0-2bf,320-33f root=/dev/dasdb1 TERM=dumb
vmpoff=LOGOFF BOOT_IMAGE=0
...
The script /etc/init.d/boot.findself later run in the boot sequence. It accesses the 191
disk (CMSCLONE 192), read the parameter file and set the TCP/IP address and host name. It
does this by modifying the files /etc/HOSTS, /etc/hostname and the eth0 configuration file
under /etc/sysconfig/network/. Note that the gateway, DNS server and broadcast
information are not modified. The script assumes this information is the same for all Linux
virtual servers. If this information is different, you will need to modify the script
/etc/init.d/boot.findself. See 1.10.1, “The boot.findself script” on page 67 for a complete
listing of the source code.
You should see informational messages similar to the following:
...
/etc/init.d/boot.findself: changing (escaped) gpok222\.endicott\.ibm\.com to gpo
k226.endicott.ibm.com in /etc/HOSTNAME
/etc/init.d/boot.findself: changing gpok222 to gpok226 and IP address in /etc/ho
sts
/etc/init.d/boot.findself: changing (escaped) 9\.60\.18\.222 to 9.60.18.226 in /
etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.0600