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.

► Start an SSH (putty) session to the NFS server and change to the vm/ directory which<br />

was created when you untarred the files associated with this book. Verify that the file<br />

CPFORMAT.EXEC exists:<br />

# cd /nfs/virt-cookbook-RH6/vm<br />

# ls cp<strong>for</strong>mat*<br />

cp<strong>for</strong>mat.exec<br />

► Start an FTP session to z/<strong>VM</strong>. If you get a reply from the FTP server it shows that you<br />

correctly configured it on the z/<strong>VM</strong> TCPMAINT user ID. Issue the PUT subcommand to copy<br />

the file.<br />

# ftp 9.60.18.249<br />

Name (9.12.5.22:root): maint<br />

331-Password: maint<br />

230-MAINT logged in; working directory = MAINT 191<br />

...<br />

ftp> put cp<strong>for</strong>mat.exec<br />

...<br />

ftp> quit<br />

You should now have the CPFORMAT EXEC on MAINT 191 disk.<br />

Using the CPFORMAT EXEC<br />

To use the CPFORMAT EXEC, per<strong>for</strong>m the following steps:<br />

► Log back into MAINT. You should now have access to the CPFORMAT EXEC. You can get<br />

brief help on CPFORMAT by using a parameter of “?”:<br />

==> cp<strong>for</strong>mat ?<br />

Synopsis:<br />

Format one or a range of DASD as page, perm, spool or temp disk space<br />

<strong>The</strong> label written to each DASD is U where:<br />

is type - P (page), M (perm), S (spool) or T (Temp disk)<br />

is the 4 digit address<br />

Syntax is:<br />

.-PAGE-.<br />

>>--CPFORMAT--.-rdev--------------.--AS---+-PERM-+---------><<br />

| q 6285 6286 6287<br />

DASD 6285 UM6285 , DASD 6286 UM6286 , DASD 6287 UM6287<br />

► Attach the devices to MAINT (the last parameter of * means the current user ID) using the<br />

ATTACH command:<br />

==> att 6285-6287 *<br />

Chapter 4. Installing and configuring z/<strong>VM</strong> 51

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

Saved successfully!

Ooh no, something went wrong!