27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - 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.

RETAIN XSTORAGE/XSTORE<br />

Usage Notes<br />

1174 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

OFF<br />

indicates that <strong>CP</strong> does not use XSTORE for minidisk cache. Main storage may<br />

still be used for minidisk cache. The XSTORE portion of the minidisk cache is<br />

set to 0 MB.<br />

0M<br />

minM<br />

indicates the minimum size of the XSTORE portion of the minidisk cache in<br />

megabytes — min can be from 0 to 16777216. If minM is specified, maxM must<br />

also be specified. If minM is not specified, a value of 0 MB is assumed.<br />

MAX<br />

maxM<br />

indicates the maximum size of the XSTORE portion of the minidisk cache in<br />

megabytes — max can be from 0 to 16777216. If minM is specified, max must<br />

be greater than or equal to min.<br />

If MAX is specified for the maximum size of the XSTORE portion of the minidisk<br />

cache, the upper limit of the XSTORE portion of the minidisk cache is set to the<br />

size of the <strong>CP</strong> partition. If the value specified as max is 0, XSTORE is not used<br />

for the minidisk cache.<br />

When min equals max, the size of the XSTORE portion of the minidisk cache is<br />

fixed. It does not vary dynamically.<br />

1. If the amount specified is greater than the amount available, the amount<br />

specified is rounded down to the amount available.<br />

2. Issuing the RETAIN XSTORE comm<strong>and</strong> at initialization suspends virtual<br />

machine execution until Exp<strong>and</strong>ed Storage initialization completes. To avoid<br />

this, you can (a) wait until XSTORE initialization completes to enter RETAIN<br />

XSTORE or (b) Enter RETAIN XSTORE from a disconnected virtual machine<br />

that has been automatically logged on.<br />

3. In the initial state, all the Exp<strong>and</strong>ed Storage is assigned to the <strong>CP</strong> partition, <strong>and</strong><br />

none is retained.<br />

4. The RETAIN XSTORE comm<strong>and</strong> allows the class B operator to control the<br />

amount of Exp<strong>and</strong>ed Storage that can be assigned to guest virtual machines. A<br />

value of ALL inhibits the use of Exp<strong>and</strong>ed Storage by guest virtual machines<br />

regardless of the user directory Exp<strong>and</strong>ed Storage statement <strong>and</strong> size value.<br />

The user directory Exp<strong>and</strong>ed Storage size is the guest partition size<br />

established, if the directory size is less than or equal to the maximum guest<br />

partition size at logon. If the user directory size is greater than the maximum<br />

guest partition, a guest partition equal to the maximum guest partition is<br />

established.<br />

5. If the RETAIN comm<strong>and</strong> is issued after Exp<strong>and</strong>ed Storage has been given to<br />

the user, the response to the comm<strong>and</strong> may indicate that the amount retained is<br />

less than the amount requested. In this case, pending retain is created.<br />

To recover the Exp<strong>and</strong>ed Storage from a guest, use the following procedure:<br />

a. The guest operator issues a guest operating system comm<strong>and</strong> to quiesce<br />

the use of Exp<strong>and</strong>ed Storage in the guest; for example, if the quest is MVS,<br />

the MVS operator issues the MVS VARY XSTORE OFFLINE comm<strong>and</strong>.<br />

b. The guest operator issues <strong>CP</strong> DETACH XSTORE.<br />

c. <strong>CP</strong> now acquires the Exp<strong>and</strong>ed Storage.<br />

d. The guest operator or the <strong>CP</strong> operator issues the <strong>CP</strong> ATTACH XSTORE<br />

comm<strong>and</strong>. (Note that ATTACH is a privilege class B comm<strong>and</strong>.)<br />

e. The guest operator issues the VARY XSTORE ONLINE comm<strong>and</strong>.

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

Saved successfully!

Ooh no, something went wrong!