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.

Table 4. DASD Control Levels<br />

CU<br />

Type<br />

3990-3<br />

3990-6<br />

MB of XSTORE to a user results in <strong>CP</strong> responding with 4 MB attached.<br />

However, the guest operating system sees 68 MB attached with 64 MB not<br />

configured.<br />

8. Issuing ATTACH XSTORE at initialization suspends virtual machine execution<br />

until XSTORE initialization completes. To avoid this, do one of the following:<br />

v Wait to issue ATTACH XSTORE until XSTORE initialization completes.<br />

v Issue ATTACH XSTORE from a disconnected virtual machine that has been<br />

logged on automatically.<br />

9. Levels of control (SYSCTL/DEVCTL/NOCTL)<br />

Additional Control CCWs<br />

Accepted for DEVCTL<br />

a. The default control level value is normally DEVCTL.<br />

b. The SYSCTL, DEVCTL, <strong>and</strong> NOCTL oper<strong>and</strong>s apply only to DASD on a<br />

cached control unit. If one of these oper<strong>and</strong>s is specified for a noncached<br />

DASD, the device is attached <strong>and</strong> a response is issued stating that the<br />

oper<strong>and</strong> was ignored.<br />

c. Specifying a level of control (NOCTL, DEVCTL, or SYSCTL) for a DASD<br />

attached to a cache storage control unit authorizes <strong>CP</strong> to accept particular<br />

control CCWs.<br />

Table 4 shows the additional control CCWs <strong>CP</strong> accepts for a level of<br />

control. The DEVCTL column shows the CCWs <strong>CP</strong> accepts in addition to<br />

those it accepts for the NOCTL level of control. The SYSCTL column<br />

shows the CCWs <strong>CP</strong> accepts in addition to those it accepts for the<br />

DEVCTL <strong>and</strong> NOCTL levels of control.<br />

v Set subsystem mode<br />

– Activate caching for device<br />

– Deactivate caching for device<br />

– Activate DASD fast write<br />

– Deactivate DASD fast write<br />

– Force deactivate DASD fast write<br />

v Perform Subsystem Function<br />

– Establish duplex pair<br />

– Terminate duplex pair<br />

– Suspend duplex pair<br />

– Direct I/O to one device of the duplex pair<br />

Additional Control CCWs<br />

Accepted for SYSCTL<br />

v Set subsystem mode<br />

– Make cache available<br />

– Make cache unavailable<br />

– Force cache unavailable<br />

– Make NVS available<br />

– Make NVS unavailable<br />

– Activate cache fast write<br />

– Deactivate cache fast write<br />

v Perform Subsystem Function<br />

– Destage Modified Tracks<br />

– Set Cache Allocation Parameters<br />

– Suspend/Resume Function<br />

ATTACH<br />

10. When an authorized user issues the GIVE comm<strong>and</strong> to transfer control of a<br />

tape drive, the ATTACH comm<strong>and</strong> is invoked.<br />

11. The ATTACH comm<strong>and</strong> may be used to attach duplex volumes to a guest<br />

virtual machine or the system. Only the primary duplex volume may be<br />

attached to the system. Either the primary volume, the secondary volume, or<br />

both volumes may be attached to a guest virtual machine.<br />

When a duplexed volume is attached to a virtual machine (or to the system),<br />

the responses generated will indicate that the volume was either the primary<br />

duplex volume or the secondary duplex volume of a duplex pair.<br />

12. For a guest virtual machine to establish a duplex pair, both of the affected<br />

volumes must be physically attached to the same 3990 storage control<br />

subsystem, <strong>and</strong> each volume must be logically attached to that guest with<br />

either DEVCTL or SYSCTL. In order for a guest virtual machine to suspend or<br />

stop a duplex pair, the guest must have DEVCTL or SYSCTL over the primary<br />

volume of the duplex pair.<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 31

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

Saved successfully!

Ooh no, something went wrong!