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.

One default setting that can be dangerous, especially if you use F12 to retrieve commands, is<br />

that PF12 is set to the FILE subcommand. Sometimes you may not want to save your<br />

changes with the stroke of one key. It is recommended that you set PF12 to the ?<br />

subcommand which has the effect of a retrieve key:<br />

==> copy profile xedit a profile xediorig a (oldd<br />

==> x profile xedit a<br />

Be<strong>for</strong>e:<br />

After:<br />

SET PF12 FILE<br />

SET PF12 ?<br />

Save your changes with the FILE subcommand.<br />

4.4 Customizing the SYSTEM CONFIG file<br />

<strong>The</strong> first configuration file read when z/<strong>VM</strong> IPLs is the SYSTEM CONFIG file. <strong>The</strong> following<br />

changes are recommended:<br />

► Change the system name<br />

► Increase retrieve key capacity<br />

► Allow virtual disks (VDISKs) to be created<br />

► Turn off the Disconnect Timeout (this will prevent idle disconnected users from being<br />

<strong>for</strong>ced off the system)<br />

► Define a virtual switch (VSWITCH) that will be used <strong>for</strong> Linux networking<br />

To make these changes, per<strong>for</strong>m the following steps:<br />

► To edit the SYSTEM CONFIG file, the MAINT CF1 minidisk must be released as a CP disk<br />

using the CPRELASE command. <strong>The</strong> CP disks are queried using the QUERY CPDISK command.<br />

Note the MAINT CF1 disk is accessed as CP disk A be<strong>for</strong>e it is released but not after.<br />

==> q cpdisk<br />

Label Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLoc<br />

MNTCF1 MAINT 0CF1 A R/O 6<strong>10</strong>RES 6280 CKD 39 158<br />

MNTCF2 MAINT 0CF2 B R/O 6<strong>10</strong>RES 6280 CKD 159 278<br />

MNTCF3 MAINT 0CF3 C R/O 6<strong>10</strong>RES 6280 CKD 279 398<br />

==> cprel a<br />

CPRELEASE request <strong>for</strong> disk A scheduled.<br />

HCPZAC6730I CPRELEASE request <strong>for</strong> disk A completed.<br />

==> q cpdisk<br />

Label Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLoc<br />

MNTCF2 MAINT 0CF2 B R/O 6<strong>10</strong>RES 6280 CKD 159 278<br />

MNTCF3 MAINT 0CF3 C R/O 6<strong>10</strong>RES 6280 CKD 279 398<br />

► Once it is released you are able to access the MAINT CF1 disk read-write. Use the LINK<br />

command with multi-read (MR) parameter and ACCESS command to get read-write access<br />

as your F disk.<br />

==> link * cf1 cf1 mr<br />

==> acc cf1 f<br />

► Make a backup copy of the vanilla SYSTEM CONFIG file using the COPYFILE command with<br />

the OLDDATE parameter so the timestamp of the file is not modified. Note that because the<br />

target file name (system) and mode (f) are the same, the equal sign (=) can be used as a<br />

wildcard.<br />

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