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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
MDISK <strong>10</strong>0 3390 0001 3338 UM63A2 MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
MDISK <strong>10</strong>1 3390 0001 3338 UM63A9 MR LNX4<strong>VM</strong> LNX4<strong>VM</strong> LNX4<strong>VM</strong><br />
*<br />
This Linux user ID will have the following minidisks and virtual disks (VDISKs):<br />
Table 8-1 Minidisks to be defined<br />
Minidisk Description<br />
<strong>10</strong>0-<strong>10</strong>1 Minidisks used to create the root file system, plus a logical volume<br />
containing the other file systems of the Linux golden image.<br />
300-301 <strong>The</strong>se are virtual disk (VDISK) swap spaces that are not defined in USER<br />
DIRECT file, but defined by calls to the SWAPGEN EXEC in the user’s<br />
PROFILE EXEC so that when the user ID logs on the VDISKs are created.<br />
► Go back to the top of the file and search <strong>for</strong> string USER $ALLOC$. Add cylinder 0 of the new<br />
volume (or volumes) to this dummy user ID so they don’t show up as gaps in the USER<br />
DISKMAP report file. In this example, one new volume is being used - UM63A9:<br />
====> top<br />
====> /user $alloc$<br />
USER $ALLOC$ NOLOG<br />
MDISK A01 3390 000 001 6<strong>10</strong>RES R<br />
MDISK A02 3390 000 001 UV6283 R<br />
MDISK A03 3390 000 001 UV6284 R<br />
MDISK A04 3390 000 001 UM6289 R<br />
MDISK A05 3390 000 001 UM6290 R<br />
MDISK A06 3390 000 001 UM6293 R<br />
MDISK A07 3390 000 001 UM6294 R<br />
MDISK A08 3390 000 001 UM63A2 R<br />
MDISK A09 3390 000 001 UM63A9 R<br />
...<br />
====> file<br />
► Run DISKMAP to check <strong>for</strong> overlaps and gaps. You should only see the single 501 cylinder<br />
gap.<br />
==> diskmap user<br />
==> x user diskmap<br />
====> pre off<br />
====> all /gap/|/overlap/<br />
0 500 501 GAP<br />
-------------------- 6 line(s) not displayed --------------------<br />
0 0 1 GAP<br />
-------------------- 391 line(s) not displayed --------------------<br />
====> quit<br />
► When the disk layout is correct run DIRECTXA to bring the changes online:<br />
==> directxa user<br />
z/<strong>VM</strong> USER DIRECTORY CREATION PROGRAM - VERSION 5 RELEASE 3.0<br />
EOJ DIRECTORY UPDATED AND ON LINE<br />
You have now defined the user ID that will be the master Linux image.<br />
8.1.2 Adding RH6GOLD to AUTOLOG1’s PROFILE EXEC<br />
<strong>The</strong> new Linux ID you defined needs access to the VSWITCH. Just as with the RH6CLONE<br />
user, a SET VSWITCH command with the GRANT parameter will now be added to AUTOLOG1’s<br />
130 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6