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.

4.7.5 Copying files associated with this book to LNXMAINT<br />

<strong>The</strong> z/<strong>VM</strong> files associated with this book are in the vm/ subdirectory of the NFS server you set<br />

up earlier. <strong>The</strong>se files should be stored on the larger 192 disk which is accessed as your D<br />

disk. Per<strong>for</strong>m the following steps:<br />

► Log off of LNXMAINT so that the 192 disk can be accessed read-write.<br />

► Start an SSH session on the NFS server and change directory to the <strong>VM</strong> files<br />

associated with this book. <strong>The</strong> directory name will be one of the following two depending<br />

on the distribution you are working with:<br />

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

► FTP to z/<strong>VM</strong>. By default FTP copies files to your 191 disk, so first change directory to the<br />

LNXMAINT 192 disk. <strong>The</strong> files are all in ASCII and the default behavior is to convert to ASCII<br />

to EBCDIC. Use the mput * subcommand to copy the files from the vm/ directory to<br />

LNXMAINT:<br />

# ftp 9.60.18.249<br />

Connected to 9.12.5.22.<br />

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

331-Password:<br />

Password: lnxmaint<br />

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

Remote system type is z/<strong>VM</strong>.<br />

ftp> cd lnxmaint.192<br />

250 Working directory is LNXMAINT 192<br />

ftp> prompt<br />

Interactive mode off<br />

ftp> mput *<br />

...<br />

ftp> quit<br />

► Logon to LNXMAINT. You should see the following files on your D disk:<br />

==> filel * * d<br />

LNXMAINT FILELIST A0 V 169 Trunc=169 Size=5 Line=1 Col=1 Alt=0<br />

Cmd Filename Filetype Fm Format Lrecl Records Blocks Date Time<br />

CHPW6<strong>10</strong> XEDIT D1 V 72 190 3 11/04/<strong>10</strong> 13:57:39<br />

CPFORMAT EXEC D1 V 79 252 3 11/04/<strong>10</strong> 13:57:39<br />

PROFILE EXEC D1 V 63 17 1 11/04/<strong>10</strong> 13:57:39<br />

RHEL6 EXEC D1 V 69 <strong>10</strong> 1 11/04/<strong>10</strong> 13:57:39<br />

SAMPLE CONF-RH6 D1 V 38 11 1 11/04/<strong>10</strong> 13:57:39<br />

SAMPLE PARM-RH6 D1 V 80 3 1 11/04/<strong>10</strong> 13:57:39<br />

SWAPGEN EXEC D1 V 72 467 6 11/04/<strong>10</strong> 13:57:39<br />

PROFILE XEDIT D1 V 45 17 1 11/04/<strong>10</strong> 13:48:08<br />

4.8 Customizing system startup and shutdown<br />

When your z/<strong>VM</strong> system is IPLed, it is often desirable to have important Linux systems also<br />

start. Conversely, when you shut down z/<strong>VM</strong>, it is desirable to have all Linux systems shut<br />

down first.<br />

4.8.1 Configuring the AUTOLOG1 PROFILE EXEC<br />

It is recommended that the following tasks be accomplished by using AUTOLOG1’s PROFILE<br />

EXEC.<br />

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