132 The Virtualization Cookbook for Red Hat Enterprise Linux 5.2
4. Again check for gaps and overlaps. You can use the ALL subcommand with the logical OR
operator (|) to check for both strings. You should see only one 501 cylinder gap.
==> diskmap user
==> x user diskmap
====> all /gap/|/overlap/
-------------------- 4 line(s) not displayed --------------------
0 500 501 GAP
-------------------- 368 line(s) not displayed --------------------
====> quit
5. Bring the changes online with the DIRECTXA command:
==> directxa user
z/VM USER DIRECTORY CREATION PROGRAM - VERSION 5 RELEASE 3.0
EOJ DIRECTORY UPDATED AND ON LINE
The new Linux user ID has now been defined.
9.1.2 Adding LINUX01 to AUTOLOG1’s PROFILE EXEC
The new Linux ID you defined needs access to the VSWITCH. A SET VSWITCH command with
the GRANT parameter can be added to the AUTOLOG1 PROFILE EXEC to do this. Also, an XAUTOLOG
statement can be added if the user ID is automatically logged on at z/VM IPL time.
Link and access the AUTOLOG1 191 disk read/write and edit the file PROFILE EXEC. Add LINUX01
to the sections that grant access to the VSWITCH and that XAUTOLOG the Linux user IDs:
==> link autolog1 191 1191 mr
==> acc 1191 f
==> x profile exec f // add two lines
/***************************/
/* Autolog1 Profile Exec */
/***************************/
'cp xautolog tcpip' /* start up TCPIP */
'CP XAUTOLOG DTCVSW1' /* start VSWITCH controller 1 */
'CP XAUTOLOG DTCVSW2' /* start VSWITCH controller 2 */
'cp set pf12 ret' /* set the retrieve key */
'cp set mdc stor 0m 128m' /* Limit minidisk cache in CSTOR */
'cp set mdc xstore 0m 0m' /* Disable minidisk cache in XSTOR */
'cp set srm storbuf 300% 250% 200%' /* Overcommit memory */
'cp set signal shutdown 300' /* Allow guests 5 min to shut down */
/* Grant access to VSWITCH for each Linux user */
'cp set vswitch vsw1 grant lnxinst'
'cp set vswitch vsw1 grant rhel52'
'cp set vswitch vsw1 grant linux01'
/* XAUTOLOG each Linux user that should be started */
'cp xautolog lnxinst'
'cp xautolog linux01'
'cp logoff' /* logoff when done */
====> file
These changes will not take effect until the next IPL, so you must grant this user ID access to
the VSWITCH for this z/VM session. This is done as follows:
==> set vswitch vsw1 grant linux01
Command complete
Comentarios a estos manuales