Tip:
When interacting with the Linux installation program, you might enter virtual
machine console mode. For instance, the installation program might tell you to
press Enter to accept a default option and pressing the Enter key results in the VM
READ state. If this happens, simply press the Enter key again. For more
information about virtual machine console states, see “The virtual machine
console” on page 4. Also, see “Virtual machine operation tasks” on page 107.
(Optional) Steps for loading Linux automatically at logon
Once you are satisfied with your Linux master, you might want to automate the
loading of Linux whenever its virtual machine is logged on. You can do this by
placing an IPL command in the PROFILE EXEC.
4
Whenever the virtual machine is
logged on, the PROFILE EXEC automatically executes and, through the IPL
command, loads the Linux operating system.
Because the same PROFILE EXEC is replicated in every clone, this automation
makes it convenient for systems with many Linux virtual servers. Chapter 9,
“Setting up basic system automation,” on page 85 shows you how to automate the
startup of Linux virtual servers whenever z/VM itself loads; thus whenever z/VM
loads, all your virtual machines are logged on and, in turn, each virtual machine
loads the Linux operating system.
Before you begin:
You need to be logged onto the LINMSTR virtual machine.
Perform these steps to load Linux automatically at logon:
1.
If Linux is operating, shut it down.
2.
Load (IPL) CMS. Issue this command:
ipl cms
z/VM V6.1.0
2004-02-11 16:57
.
.
.
Ready;
3.
Edit the PROFILE EXEC. Issue this command:
xedit profile exec
4.
At the bottom of the file, add this line:
.
.
.
"CP IPL 150 CLEAR"
5.
Save the file. From the XEDIT command line, issue this command:
====>
file
You are done.
4. As an alternative to using the PROFILE EXEC, you can use the COMMAND directory control statement to specify a command or
a list of commands to be issued automatically whenever the Linux virtual machine is logged on. Note that the commands to be
executed may be of any class, and that privileged commands can therefore be executed this way without having to give the
virtual machine the associated privilege class. For more information, see the COMMAND directory control statement in
z/VM: CP
Planning and Administration
, SC24-6178.
82
z/VM: Getting Started with Linux on System z
Summary of Contents for ZVM - FOR LINUX V6 RELEASE 1
Page 1: ...z VM Getting Started with Linux on System z version 6 release 1 SC24 6194 00...
Page 2: ......
Page 3: ...z VM Getting Started with Linux on System z version 6 release 1 SC24 6194 00...
Page 10: ...viii z VM Getting Started with Linux on System z...
Page 12: ...x z VM Getting Started with Linux on System z...
Page 14: ...xii z VM Getting Started with Linux on System z...
Page 64: ...50 z VM Getting Started with Linux on System z...
Page 76: ...62 z VM Getting Started with Linux on System z...
Page 80: ...66 z VM Getting Started with Linux on System z...
Page 156: ...142 z VM Getting Started with Linux on System z...
Page 160: ...146 z VM Getting Started with Linux on System z...
Page 162: ...148 z VM Getting Started with Linux on System z...
Page 166: ...152 z VM Getting Started with Linux on System z...
Page 170: ...156 z VM Getting Started with Linux on System z...
Page 171: ......
Page 172: ...Program Number 5741 A07 Printed in USA SC24 6194 00...