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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DMS<strong>VM</strong>L2060I MAINT 191 linked as 0120 file mode Z<br />

► Copy the PROFILE XEDIT to the A disk:<br />

==> copy profile xedit z = = a<br />

► Also copy the same file to the D disk (which will become the Linux user ID’s read-only A<br />

disk). <strong>The</strong>n release and detach the MAINT 191 disk:<br />

==> copy profile xedit z = = d<br />

==> rel z (det<br />

DASD 0120 DETACHED<br />

4.7.4 Creating a PROFILE EXEC<br />

Create a simple PROFILE EXEC that will be run each time this user ID is logged on.<br />

► Create the new file using XEDIT and add the following lines (be sure to type the A file<br />

mode so you don’t pick up a PROFILE EXEC on another disk). REXX EXECs must always<br />

begin with a C language-style comment.<br />

==> x profile exec a<br />

====> a 5<br />

/* PROFILE EXEC */<br />

'acc 592 e'<br />

'cp set run on'<br />

'cp set pf11 retrieve <strong>for</strong>ward'<br />

'cp set pf12 retrieve'<br />

====> file<br />

This PROFILE EXEC access the TCPMAINT 592 disk as file mode E, sets CP run on, and sets<br />

the retrieve keys per convention.<br />

► You could test your changes by logging off and logging back on. However, typing the<br />

command PROFILE will do the same.<br />

==> profile<br />

DMSACP723I E (592) R/O<br />

► By default CMS tries to access the 191 disk as A and the 192 disk as D. Also you should<br />

have the TCPMAINT 592 disk accessed as E. Verify these three disks are accessed with the<br />

QUERY DISK command:<br />

==> q disk<br />

LABEL VDEV M STAT CYL TYPE BLKSZ FILES BLKS USED-(%) BLKS LEFT BLK TOTAL<br />

LXM191 191 A R/W 20 3390 4096 2 9-01 3591 3600<br />

LXM192 192 D R/W 300 3390 4096 0 11-00 53989 54000<br />

TCM592 592 E R/O 70 3390 4096 903 <strong>10</strong>183-81 2417 12600<br />

MNT190 190 S R/O <strong>10</strong>0 3390 4096 694 15028-83 2972 18000<br />

MNT19E 19E Y/S R/O 250 3390 4096 <strong>10</strong>21 28254-63 16746 45000<br />

► Verify that your F11 and F12 keys are set to the RETRIEVE command using the QUERY<br />

PFKEYS command:<br />

==> q pf<br />

...<br />

PF<strong>10</strong> UNDEFINED<br />

PF11 RETRIEVE FORWARD<br />

PF12 RETRIEVE BACKWARD<br />

...<br />

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

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

Saved successfully!

Ooh no, something went wrong!