HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)
Syntax
The basic syntax for adding or deleting ILM resources assigned to a virtual partition is:
-a|d mem::size[:base|float]
where:
-a add
-d delete
size the quantity of ILM in MBs
base add/delete as base memory (this is the default when neither base nor float is specified)
float add/delete as float memory
Examples
• To create the virtual partition winona2 with 1024 MB of ILM:
winona1# vparcreate -p winona2 -a mem::1024
• To add 1024 MB of ILM as float memory to an existing partition winona2:
winona1# vparmodify -p winona2 -a mem::1024:float
• To decrease the amount of base ILM assigned to partition winona2 by 1024 MB:
winona1# vparmodify -p winona2 -d mem::1024
NOTE: Use of this syntax (removal of base memory) will only work when the target partition
is down.
• To see how much of the ILM memory is currently float memory, use vparstatus -v:
# vparstatus -p keira4 -v
...
[Memory Details]
ILM, user-assigned [Base /Range]:
(bytes) (MB)
ILM, monitor-assigned [Base /Range]: 0x50000000/512
(bytes) (MB) 0x4080000000/256
0x40f0000000/256 (Floating)
ILM Total (MB): 1024 (Floating 256)
ILM Granularity (MB): 256
NOTE: Although not an error, the size of ILM assigned should be a multiple of the granularity
value.
When a user specifies online memory deletion by size, the kernel can select any granule to delete
in order to satisfy the request. Typically the kernel selects any granule which will be quick to delete.
If the selected granule falls within a user-specified float range, then the user-specified range is
converted to a vPars Monitor-assigned range.
See also “Memory: Notes on vPars Syntax, Rules, and Output” (page 190) and “Memory, CPU:
Canceling Pending Operations” (page 201).
Memory: Assigning (Adding) Or Deleting by Size (CLM)
Before assigning CLM, see the section on configuring CLM: “Configuring CLM for an nPartition”
(page 253). Once CLM is configured, you can assign an amount of CLM to a virtual partition.
The syntax to assign, delete, or modify an amount of CLM is:
-a|d|m cell:cell_ID:mem::size[:base|float]
Memory: Assigning (Adding) Or Deleting by Size (CLM) 181