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.

4.6.4 Testing the changes<br />

It is recommended that you again shutdown and reIPL to test the changes. Be<strong>for</strong>e you shut<br />

down, note that you have only one page volume (UV6282 in this example) using the QUERY<br />

ALLOC PAGE command. Your output should look similar to the following:<br />

==> q alloc page<br />

EXTENT EXTENT TOTAL PAGES HIGH %<br />

VOLID RDEV START END PAGES IN USE PAGE USED<br />

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

UV6282 6282 1 3338 600840 1 4 1%<br />

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

SUMMARY 600840 1 1%<br />

USABLE 600840 1 1%<br />

Now shut the system down again with the command SHUTDOWN REIPL IPLPARMS CONS=SYSC. This<br />

is analogous to the Linux reboot command in that the system attempts to come back up after<br />

it shuts down. If you are connected using a 3270 emulator, you will lose your session, but if all<br />

goes well, your system will be available again in a couple of minutes.<br />

==> shutdown reipl iplparms cons=sysc<br />

After the system comes back, logon as MAINT and look at the page space again. You<br />

should now see that you have six paging volumes:<br />

==> q alloc page<br />

EXTENT EXTENT TOTAL PAGES HIGH %<br />

VOLID RDEV START END PAGES IN USE PAGE USED<br />

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

UV6282 6282 1 3338 600840 1 5 1%<br />

UP6285 6285 0 3338 60<strong>10</strong>20 0 0 0%<br />

UP6286 6286 0 3338 60<strong>10</strong>20 0 0 0%<br />

UP6287 6287 0 3338 60<strong>10</strong>20 0 0 0%<br />

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

SUMMARY 2348K 1 1%<br />

USABLE 2348K 1 1%<br />

<strong>The</strong> output shows there are four paging volumes constituting 2348 K pages, or about 9 GB of<br />

page space (a page is 4KB).<br />

4.7 Creating a user ID <strong>for</strong> common files<br />

Now it is time to define your first z/<strong>VM</strong> user ID, LNXMAINT. It will be used to store files that will<br />

be shared by Linux user IDs. Be<strong>for</strong>e starting, make a copy of the original USER DIRECT file:<br />

==> copy user direct c = direorig = (oldd<br />

4.7.1 Define the user in the USER DIRECT file<br />

A small 20 cylinder minidisk is allocated at virtual address 191 and a larger 300 cylinder<br />

minidisk (approximately 225MB), to be shared by many guests, is defined at virtual address<br />

192. Use the next free DASD designated as PERM space on your worksheet (2.7.2, “z/<strong>VM</strong><br />

DASD worksheet” on page 17). Cylinder 0 should always be reserved <strong>for</strong> the label there<strong>for</strong>e<br />

you should start minidisks at cylinder 1.<br />

► Edit the USER DIRECT file and add the following user ID definition to the bottom of the file. A<br />

comment is added signifying the split between z/<strong>VM</strong> system user IDs and locally added<br />

user IDs (this can be helpful when moving to a new version of z/<strong>VM</strong>):<br />

Chapter 4. Installing and configuring z/<strong>VM</strong> 55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!