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.

==> x user direct c<br />

====> bottom<br />

====> a 9<br />

...<br />

*------------------------------------------------------------<br />

* z/<strong>VM</strong> system user IDs are above, local user IDs are below<br />

*------------------------------------------------------------<br />

USER LNXMAINT LNXMAINT 64M 128M BEG 1<br />

INCLUDE TCPCMSU 2<br />

LINK TCPMAINT 592 592 RR 3<br />

MDISK 0191 3390 0001 0020 UM6289 MR READ WRITE MULTIPLE 4<br />

MDISK 0192 3390 0021 0300 UM6289 MR ALL WRITE MULTIPLE 5<br />

* 6<br />

...<br />

====> file<br />

Note the following points <strong>for</strong> the numbers in black:<br />

1 User ID LNXMAINT, same password, default size of 64MB, with class B, E and G<br />

privileges<br />

2 Include the profile named TCPCMSU (defined earlier in the USER DIRECT file)<br />

3 Link to the TCPMAINT 592 disk read-only <strong>for</strong> access to FTP and other TCP/IP<br />

commands<br />

4 Define a 191 minidisk of size 20 cylinders from volume UM6289<br />

5 Define 192 minidisk of size 300 cylinders (approximately 225MB) from volume<br />

UM6289 with the special read password of ALL which allows read access from any<br />

user ID without a disk password<br />

6 An empty comment line <strong>for</strong> better readability.<br />

► Whenever an MDISK statement is added or modified in the USER DIRECT file you should<br />

always check <strong>for</strong> overlapping cylinders and gaps (gaps will only leave empty disk space,<br />

however, overlaps can occur because z/<strong>VM</strong> will allow you to shoot yourself in the foot by<br />

defining multiple minidisks over the same disk space). This is done with the DISKMAP<br />

command:<br />

==> diskmap user<br />

<strong>The</strong> minidisks with the END option specified in this directory will not be includ<br />

ed in the following DISKMAP file.<br />

File USER DISKMAP A has been created.<br />

► <strong>The</strong> file created, USER DISKMAP, contains a mapping of all minidisk volumes defined in the<br />

USER DIRECT file. It will list any overlaps or gaps found on the volumes. Edit the file and<br />

turn off the prefix area with the XEDIT PREFIX OFF subcommand to view 80 columns:<br />

==> x user diskmap<br />

====> prefix off<br />

► Search <strong>for</strong> the text overlap with the / subcommand:<br />

====> /overlap<br />

You should see the error message: DMSXDC546E Target not found. This means that no<br />

minidisks are overlapping each other.<br />

Now search <strong>for</strong> all the gaps using the ALL subcommand. You should also see some gaps:<br />

====> all /gap<br />

0 500 501 GAP<br />

-------------------- 6 line(s) not displayed --------------------<br />

0 0 1 GAP<br />

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