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.

<strong>The</strong>n the SSH keys are regenerated in such a way that they are unique <strong>for</strong> the new virtual<br />

server. <strong>The</strong> new root file system is then unmounted, set offline, and detached: In the final<br />

section, the LINUX01 user ID is logged on via XAUTOLOG. Because the shared PROFILE EXEC<br />

detects that the user ID is in a disconnected mode, it carries out an IPL of Linux from minidisk<br />

<strong>10</strong>0.<br />

You may want to SSH into the newly cloned Linux server.<br />

Note: If the clone script fails, you can check that:<br />

► <strong>The</strong> configuration contains all of the correct in<strong>for</strong>mation in /etc/clone/<br />

► No other users have links to the clone’s read-write disks<br />

A block diagram of this process is displayed in Figure 9-1.<br />

Figure 9-1 Cloning block diagram<br />

<strong>The</strong> top of the figure shows the Linux cloner/installation server that is running on the RH6CLONE<br />

user ID. In order to FLASHCOPY or dd, the RH6CLONE user ID requires a LINK to the source<br />

minidisks that RH6GOLD owns and the destination minidisks that LINUX01 owns. <strong>The</strong> figure<br />

shows that the LINK statement is issued as read-only (RR) <strong>for</strong> the source and read/write (W) <strong>for</strong><br />

the target. <strong>The</strong> VDISK-based swap spaces at virtual addresses 300 and 301 are defined<br />

in-memory, there<strong>for</strong>e, they do not need to be copied.<br />

Note: If the clone script fails, you can check that:<br />

► <strong>The</strong> configuration contains all of the correct in<strong>for</strong>mation in /etc/clone/<br />

► No other users have links to the clone’s read-write disks<br />

156 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6

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

Saved successfully!

Ooh no, something went wrong!