16.6. Installing under z/VM
vmlink tcpmaint 592 592
set qioassist off
initrd.img), log in, and execute the following commands. Use the
(reploption if you are overwriting existing
locsite fix 80
get kernel.img (repl
get initrd.img (repl
get generic.prm (repl
get redhat.exec (repl
redhat.parm). Refer to Chapter 19, Sample Parameter Files for sample
parmfiles. Below is an explanation of the
.parmfile is still required for the real kernel parameters, such as
root=/dev/ram0 ro ip=off ramdisk_size=40000, and single parameters which are not assigned to variables, such as
vnc. Two parameters which are used in z/VM installs to point the installation program at the new CMS configuration file need to be added to the
variable="value"pairs, one on each line.
root=/dev/ram0 ro ip=off ramdisk_size=40000 CMSDASD=191 CMSCONFFILE=redhat.conf vnc
redhat.execfile shipped by Red Hat is:
/* */ 'cl rdr' 'purge rdr all' 'spool punch * rdr' 'PUNCH KERNEL IMG A (NOH' 'PUNCH REDHAT PARM A (NOH' 'PUNCH INITRD IMG A (NOH' 'ch rdr all keep nohold' 'i 00c'
HOSTNAME="foobar.systemz.example.com" DASD="200-203" NETTYPE="qeth" IPADDR="192.168.17.115" SUBCHANNELS="0.0.0600,0.0.0601,0.0.0602" PORTNAME="FOOBAR" NETWORK="192.168.17.0" NETMASK="255.255.255.0" BROADCAST="192.168.17.255" SEARCHDNS="example.com:systemz.example.com" GATEWAY="192.168.17.254" DNS="192.168.17.1" MTU="4096"
dasd-listrepresents the list of DASD devices to be used by Red Hat Enterprise Linux.Although autoprobing for DASDs is done if this parameter is omitted, it is highly recommended to include the
DASD=parameter, as the device numbers (and therefore the device names) can vary when a new DASD is added to the Red Hat Enterprise Linux guest. This can result in an unusable system.Additionally, in SAN-based environments, autoprobing in an LPAR-based install may have unintended side effects, as the number of DASD and SCSI volumes visible may be unexpectedly large and include volumes currently in use by other users. In particular, autoprobing during a kickstart install (which may have enabled autopartitioning to clear all partitions) is highly discouraged.
file-systemrepresents the device on which the root file system can be found. For installation purposes, it should be set to
/dev/ram0, which is the ramdisk containing the Red Hat Enterprise Linux installation program.
SUBCHANNELS=Provides required device bus IDs for the various network interfaces.
qeth: SUBCHANNELS="read_device_bus_id,write_device_bus_id, data_device_bus_id" lcs: SUBCHANNELS="read_device_bus_id,write_device_bus_id"For example (a sample qeth SUBCHANNEL statement):
stringis the hostname of the newly-installed Linux guest.
typemust be one of the following:
- OSA-2 Ethernet/Token Ring
- OSA-Express Fast Ethernet in non-QDIO mode
- OSA-Express High Speed Token Ring in non-QDIO mode
- Gigabit Ethernet in non-QDIO mode
- OSA-Express Fast Ethernet
- Gigabit Ethernet (including 1000Base-T)
- High Speed Token Ring
- ATM (running Ethernet LAN emulation)
IPis the IP address of the new Linux guest.
networkis the address of your network.
netmaskis the netmask.
broadcastis the broadcast address.
gwis the gateway-IP for your
mtuis the Maximum Transmission Unit (MTU) for this connection.
server1:server2::serverNis a list of DNS servers, separated by colons. For example:
domain1:domain2::domainNis a list of the search domains, separated by colons. For example:
lcs_portnumberThis variable supports OSA devices operating in qdio mode or non-qdio mode.When using qdio mode: osa_portname is the portname specified on the OSA device when operating in qeth mode. PORTNAME is only required for z/VM 4.3 or older without APARs VM63308 and PQ73878.When using non-qdio mode: lcs_portnumber is used to pass the relative port number as integer in the range of 0 through 15.
FCP_n="device_number SCSI_ID WWPN SCSI_LUN FCP_LUN"The variables can be used on systems with FCP devices to preconfigure the FCP setup and can be subsequently edited in anaconda during the installation. An example value may look similar to:
FCP_1="0.0.5000 0x01 0x5105074308c212e9 0x0 4010"
- n is an integer value (e.g.
- device_number is used to specify the address of the FCP device (
0.0.5000for device 5000, for example).
- SCSI_ID is specified in hex-value, typically sequential values (e.g.
0x02... ) are used over multiple FCP_ variables.
- WWPN is the world wide port name used for routing (often in conjunction with multipathing) and is as a 16-digit hex value (e.g.
- SCSI_LUN refers to the local SCSI logical unit value and is specified as a hex-value, typically sequential values (e.g. 0x00, 0x01, ...) are used over multiple FCP_ variables.
- FCP_LUN refers to the storage logical unit identifier and is specified as a hex-value (such as
NoteEach of the values used in the FCP parameters (FCP_1, FCP_2, ...) are site-specific and are normally supplied by the FCP storage administrator.
valueis defined as
1if you want to run the installation program in noninteractive (kickstart) mode in the 3270 terminal, or
cmdlineis specified, 3270 terminal output becomes much more readable, as the installer disables most escape terminal sequences that are applicable to unix-like consoles, but not supported on the 3270 console.
- Make sure that your kickstart file contains all required parameters before you use either of the RUNKS of cmdline options.
parmfile, a prompt appears during the installation boot process.
redhat.execthat contains the commands necessary to IPL the kernel image and start the installation. After having IPLed CMS, enter
redhaton the 3270 console and press the Enter key to execute this script.