46 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
Modify the two starting addresses of the OSA triplets (B440 and B424 in this example) to
those you specified in 2.7.1, “z/VM resources worksheet” on page 16.
====> bot
====> a3
/* define vswitch named vsw1 and set MAC address prefixes to 02-00-01 */
define vswitch vsw1 rdev B440 B424
vmlan macprefix 020001
8. Save your changes with the XEDIT FILE subcommand:
====> file
9. Test your changes with the CPSYNTAX command, which is on the MAINT 193 disk:
==> acc 193 g
==> cpsyntax system config f
CONFIGURATION FILE PROCESSING COMPLETE -- NO ERRORS ENCOUNTERED.
Pay attention to the output. If you get any syntax errors, fix them before proceeding.
10.Release and detach the MAINT CF1 disk with the RELEASE command. Then put it back
online with the CPACCESS command:
==> rel f (det
DASD 0CF1 DETACHED
==> cpacc * cf1 a
CPACCESS request for mode A scheduled.
HCPZAC6732I CPACCESS request for MAINT's 0CF1 in mode A completed.
11.Verify that the CP disk A has been accessed using the QUERY CPDISK command:
==> q cpdisk
Label Userid Vdev Mode Stat Vol-ID Rdev Type StartLoc EndLoc
MNTCF1 MAINT 0CF1 A R/O 610RES 6280 CKD 39 158
MNTCF2 MAINT 0CF2 B R/O 610RES 6280 CKD 159 278
MNTCF3 MAINT 0CF3 C R/O 610RES 6280 CKD 279 398
Note that all three CP disks are now accessed.
4.5 Configuring TCP/IP to start at IPL time
Configure the TCPIP service machine to be started when you perform an IPL of z/VM. This is
commonly accomplished from AUTOLOG1’s PROFILE EXEC. If the noautolog parameter is
not specified when you perform an IPL of z/VM, the AUTOLOG1 virtual machine is started.
Because this virtual machine performs an IPL of CMS, the PROFILE EXEC that is found on
its A disk is run. This is analogous to the /etc/profile file on Linux and the autoexec.bat on
DOS systems.
Perform the following steps:
1. Log off of MAINT:
==> log
2. You should see a new logon panel. Log on to AUTOLOG1. Again the password is the
same as the user ID.
3. At the VM READ prompt, enter the command ACCESS (NOPROF so that the PROFILE EXEC
is not run.
z/VM Version 6 Release 1.0, Service Level 0901 (64-bit),
built on IBM Virtualization Technology
Kommentare zu diesen Handbüchern