27.12.2012 Views

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

► You will be asked <strong>for</strong> the type of software to be installed. Accept the default of Basic<br />

Server and click Next. <strong>The</strong> installation process will start. This will run <strong>for</strong> 5 - <strong>10</strong> minutes<br />

► You will be prompted to reboot. Click Reboot.<br />

7.1.8 Booting your new Linux system from disk<br />

A minimal system should now be installed onto minidisk <strong>10</strong>0. Return to your z/<strong>VM</strong> 3270<br />

session and IPL the newly installed system with the command #CP IPL <strong>10</strong>0.<br />

/mnt/sysimage/dev done<br />

/mnt/sysimage done<br />

you may safely reboot your system<br />

==> #cp ipl <strong>10</strong>0<br />

CP IPL <strong>10</strong>0<br />

zIPL v1.3.2 interactive boot menu<br />

0. default (linux)<br />

1. linux<br />

Note: <strong>VM</strong> users please use '#cp vi vmsg '<br />

Please choose (default will boot in 15 seconds):<br />

...<br />

Linux will boot after 15 seconds if you take no action. To boot immediately, issue the following<br />

command:<br />

==> #cp vi vmsg 0<br />

You system should continue to boot until a login prompt is presented. Start an SSH session<br />

into the master image as root. At this point, you can disconnect from the 3270 session with:<br />

==> #cp disc<br />

7.2 Configuring the cloner<br />

Now that your cloner is installed, it must be configured. <strong>The</strong> following steps are involved:<br />

► “Copying files to the cloner” on page 119<br />

► “Retiring the PC NFS server” on page 120<br />

► “Configuring yum” on page 121<br />

► “Turning off unneeded services” on page 121<br />

► “Configuring the VNC server” on page 122<br />

► “Setting system to halt on SIGNAL SHUTDOWN” on page 123<br />

► “Turning on the NFS server” on page 124<br />

► “Configuring SSH keys” on page 125<br />

► “Inserting the vmcp module” on page 125<br />

► “Changing the order of the swap disks” on page 125<br />

► “Setting the system to logoff when Linux is shut down” on page 126<br />

► “Rebooting the system” on page 126<br />

► “Changing the order of the swap disks” on page 125<br />

7.2.1 Copying files to the cloner<br />

Copy the RHEL 6 install tree to the cloner, along with other files associated with this book To<br />

do so, per<strong>for</strong>m the following steps:<br />

► Mount the directory /nfs/rhel6/ on the PC NFS server over the directory /mnt/. In this<br />

example the PC NFS server is at IP address 9.60.18.240:<br />

Chapter 7. Installing RHEL 6 on the cloner 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!