HP-UX Virtual Partitions Administrator's Guide (includes A.05.02)

CPU, Memory, and I/O Resources (A.05.xx)
Memory, CPU: Canceling Pending Operations
Chapter 6
233
Memory, CPU: Canceling Pending Operations
Beginning with vPars A.05.01, you can now cancel pending CPU and memory operations with the new -C
SequenceID option to the vparmodify command:
# vparmodify -p
vp_name
-C
sequenceID
The
sequenceID
value comes from the vparstatus -v output.
CPU and memory operations may not occur instantaneously. Therefore, it is possible that you may want to
cancel a pending (in other words, still in progress) operation. If a virtual partition has a pending CPU or
memory operation, the letter p will be displayed in the summary output and the words (Migration
pending) will be displayed in Status: field of the vparstatus output.
In a mixed HP-UX 11i v2/v3 vPars environment, the virtual partitions running vPars A.04.xx do not support
sequence IDs. If you execute vparstatus -v on a vPars A.05.01 partition to get information about a vPars
A.04.xx partition, the SequenceID will be N/A. In addition, you cannot cancel a pending operation on a vPars
A.04.xx partition.
Status: Pending
An operation can only be canceled when vparstatus shows a Status value of PENDING and a SequenceID.
keira1# vparstatus -p keira2 -v
...
[Resource OL* Details]
Sequence ID: 1234
Operation: Memory Addition
Status: PENDING
The following are the valid values for the Status: field of the vparstatus output:
When the status indicates Fail or Abort, or remains Pending for a long time, you can do the following to get
more information on the status:
Dump the vPars Monitor log using vparextract -l and examine the output.
Run evmget | evmshow on the target virtual partition and examine the output pertaining to the
SequenceID.
Check the /var/adm/syslog/syslog.log file on the target virtual partition.
Table 6-2 Values for the Status field
State Definition
Pending The requested operation is pending.
When this is the Status value, you can cancel the operation.
Pass The requested operation has completed successfully.
Fail The requested operation has encountered an early failure before it started on the
target operating system. It will not have a valid SequenceID.
Abort The requested operation has been aborted by the Operating System on the virtual
partition, or by the user explicitly canceling the operation. Refer to the vPars
Monitor event log for the cause of the failure.