Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Virtual Partitions Administrator’s Guide > Chapter 6 CPU, Memory, and I/O Resources (A.05.xx)

Memory, CPU: Canceling Pending Operations

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

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 or mixed HP-UX 11i v1/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.xx 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:

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.

 

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.

Online float memory addition or deletion can take significant time or even fail if the target virtual partition is under memory pressure. Use vmstat or other virtual memory monitoring tools to check the memory pressure on the target partition. In particular, if you are deleting float memory, make sure the target virtual partitions is not under memory pressure.

Cancel Pending Usage

To use the cancel pending feature:

  1. Determine which vPar has the pending operation, and acquire the sequenceID.  

    • If necessary, use vparstatus to determine which vPar has the pending operation.  For example:

      keira1# vparstatus ... [Resource OL* Details] [Virtual Partition Resource Summary] # User # User Virtual Partition Name Ranges/MB Total MB Ranges/MB Total MB ============================== ====================== ====================== keira1 0/ 0 2560 0/ 0 0 keira2 1/ 128 4352p 1/ 128 640p keira3 0/ 0 1224 0/ 0 0
      The vparstatus output shows that a pending online addition of memory is occurring on keira2.

    • Use the vparstatus -v option to acquire the sequenceID.  For example:

      keira1# vparstatus -p keira2 -v ... [Resource OL* Details] Sequence ID: 1234 Operation: Memory Addition Status: PENDING
      The vparstatus output shows that a pending online addition of memory has been assigned the sequenceID of 1234.

  2. To cancel this pending operation, use the -C sequenceID option of the vparmodify command.  For example:

    keira1# vparmodify -p keira2 -C 1234

NOTE:
  • For a given virtual partition, the vPars memory and CPU online modification requests (vparmodify) are processed serially; in other words, a subsequent operation on the same virtual partition cannot begin until the current modification has been successfully completed or canceled.

    When using the -C sequenceID operation, you can cancel only the current (pending) operation.

    Note that operations on different virtual partitions can be canceled because the sequenceID is unique within each virtual partition.

  • An operation consists of the entire command line of the modification requests, including all options. You cannot cancel a portion of a command.

  • The OL* Details show N/A if there have been no CPU or memory OL* operations performed since the virtual partition was booted. Operations that are not related to virtual partitions (such as processor sets) are not represented in vparstatus output.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.