42 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
4.4 Customizing the SYSTEM CONFIG file
The first configuration file read when z/VM IPLs is the SYSTEM CONFIG file. The following
changes are recommended:
Change the system name.
Increase retrieve key capacity.
Allow virtual disks (VDISKs) to be created.
Turn off the Disconnect Timeout. This will prevent idle disconnected users from being
forced off the system.
Define a virtual switch (VSWITCH) that will be used for Linux networking.
To make these changes, perform the following steps:
1. To edit the SYSTEM CONFIG file, the MAINT CF1 minidisk must be released as a CP disk
using the CPRELASE command. The CP disks are queried using the QUERY CPDISK command.
Note the MAINT CF1 disk is accessed as CP disk A before it is released, but not after.
==> q cpdisk
Label Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLoc
MNTCF1 MAINT 0CF1 A R/O 540RES D850 CKD 39 158
MNTCF2 MAINT 0CF2 B R/O 540RES D850 CKD 159 278
MNTCF3 MAINT 0CF3 C R/O 540RES D850 CKD 279 398
==> cprel a
CPRELEASE request for disk A scheduled.
HCPZAC6730I CPRELEASE request for disk A completed.
==> q cpdisk
Label Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLoc
MNTCF2 MAINT 0CF2 B R/O 540RES D850 CKD 159 278
MNTCF3 MAINT 0CF3 C R/O 540RES D850 CKD 279 398
2. After it is released, you are able to access the MAINT CF1 disk read-write. Use the LINK
command with multi-read (MR) parameter and ACCESS command to get read-write access
as your F disk.
==> link * cf1 cf1 mr
==> acc cf1 f
3. Make a backup copy of the vanilla SYSTEM CONFIG file using the COPYFILE command with the
OLDDATE parameter so that the time stamp of the file is not modified. Note that because the
target file name (system) and mode (f) are the same, the equal sign (=) can be used as a
wildcard.
==> copy system config f = conforig = (oldd
4. Edit the original file:
==> x system config f
5. The system name is set to ZVMV5R40 by default in the System_Identifier_Default
statement. You can search for it using the / subcommand:
====> /System_Identifier_D
Modify this to the new name of your system. In this example, VMLINUXA is used.
System_Identifier_Default <VMLINUXA>
6. Next look for the Features statement. You can search for it again or you can use F8 to page
down. The following changes and additions are recommended:
– Increase the number of commands that can be retrieved from 20 to 99.
– Set the Disconnect_Timeout to off so disconnected users do not get forced off.
– Allow unlimited VDISKs to be created by users by changing Userlim to infinite and
by adding the Syslim infinite clause, as shown here:
Komentarze do niniejszej Instrukcji