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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.5 Configuring an FTP server <strong>for</strong> z/<strong>VM</strong> installation<br />

This section assumes that you have access to the z/<strong>VM</strong> 6.1 install code in electronic <strong>for</strong>mat.<br />

Ordering it through ShopzSeries is briefly described in section 4.1.1, “Obtaining z/<strong>VM</strong> through<br />

electronic download” on page 28. If you have completed that section, you may have the two<br />

z/<strong>VM</strong> product install files staged on a intermediate workstation, or you may be ready to<br />

download them from the Internet.<br />

6.5.1 Preparing the z/<strong>VM</strong> product install files<br />

<strong>The</strong> two zip files correspond to the larger first z/<strong>VM</strong> product DVD, and to the smaller second<br />

DVD - the RSU. <strong>The</strong> contents of these files must be copied to the directory of the FTP server.<br />

To accomplish this, per<strong>for</strong>m the following steps:<br />

► Create a target directory. In this example the directory /ftp/zvm61/ is used:<br />

# mkdir -p /ftp/zvm61<br />

► Set the group ownership of this directory, recursively, to ftp. This will allow the FTP<br />

daemon, which runs as the user ftp, to change directory into it:<br />

# chgrp -R ftp /nfs/zvm61<br />

► Either upload the two z/<strong>VM</strong> installation zip files from the intermediate workstation, or<br />

download them directly from the Internet. <strong>The</strong> following example shows copying them<br />

from an intermediate workstation Windows DOS session to the FTP server at the IP<br />

address 9.60.18.233 in the directory, /ftp/zvm61/ on thusing the add-on pscp command<br />

(Putty scp):<br />

C:>pscp *.zip root@9.60.18.233:/ftp/zvm61<br />

...<br />

cd813250.zip | 1247495 kB | 303.2 kB/s | ETA: 00:00:00 | <strong>10</strong>0%<br />

CD813270.ZIP | 44031 kB | 352.3 kB/s | ETA: 00:00:00 | <strong>10</strong>0%<br />

► List the newly copied files:<br />

# cd /ftp/zvm61<br />

# ls -l<br />

total 1291532<br />

-rw-r--r--. 1 root root 1277435798 Nov 11 14:08 cd813250.zip<br />

-rw-r--r--. 1 root root 450882<strong>10</strong> Nov 11 14:06 CD813270.ZIP<br />

► Unzip the files from DVD1, the larger file, using the unzip command. This will create the<br />

directory cpdvd/:<br />

# unzip cd813250.zip<br />

Archive: cd813250.zip<br />

creating: cpdvd/<br />

inflating: cpdvd/6<strong>10</strong>GANUC<br />

inflating: cpdvd/6<strong>10</strong>GARAM<br />

...<br />

► Unzip the files from the RSU DVD2, the smaller file. When prompted to replace files,<br />

respond with A <strong>for</strong> all:<br />

# unzip CD813270.ZIP<br />

Archive: CD813270.ZIP<br />

inflating: cpdvd/6<strong>10</strong>rsu.dvdimage<br />

inflating: cpdvd/61ckdrsu.srl<br />

inflating: cpdvd/61fbarsu.srl<br />

replace cpdvd/CKD50000? [y]es, [n]o, [A]ll, [N]one, [r]ename: A<br />

inflating: cpdvd/CKD50000<br />

...<br />

98 <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!