04.11.2012 Views

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

HP-UX Virtual Partitions Administrator Guide - Hewlett Packard

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Memory: Assigning by Size (ILM)<br />

Syntax<br />

Examples<br />

Assigning memory by specifying only size uses ILM memory. ILM memory is the only type of<br />

memory used in vPars A.03.xx and earlier. vPars A.04.xx and later can use either ILM or CLM<br />

memory.<br />

The basic syntax for adding or deleting ILM resources assigned to a virtual partition is:<br />

-[a|d] mem::size<br />

where:<br />

-a is adding<br />

-d is deleting<br />

size is the quantity of ILM in MBs<br />

• To create the virtual partition winona2 with 1024 MB of ILM:<br />

winona1# vparcreate -p winona2 -a mem::1024<br />

• To add 1024 MB of ILM to an existing partition winona2:<br />

winona1# vparmodify -p winona2 -a mem::1024<br />

• To decrease the amount of ILM assigned to partition winona2 by 1024 MB:<br />

winona1# vparmodify -p winona2 -d mem::1024<br />

NOTE: Although not an error, the size of ILM assigned should be a multiple of the granularity<br />

value. See also “Memory: Assigning by Size (CLM)” (page 223).<br />

Memory: Assigning by Size (CLM)<br />

Before assigning CLM, see the section on configuring CLM: “Configuring CLM for an nPartition”<br />

(page 276). Once CLM is configured, you can assign an amount of CLM to a virtual partition,<br />

The syntax to assign an amount of CLM is:<br />

-a|d cell:cell_ID:mem::size<br />

where:<br />

-a is adding<br />

-d is deleting<br />

cell_ID is the cell number<br />

size is the quantity of memory in MBs<br />

Example<br />

• To add 1024 MB of memory from cell 6 (at least 1024 MB must already be configured as<br />

CLM) to the existing partition keira2:<br />

keira1# vparmodify -p keira2 -a cell:6:mem::1024<br />

• You can set both ILM and CLM memory on the same partition. To assign 1024 MB of available<br />

CLM and 1024 MB of available ILM to keira2:<br />

keira1# vparmodify -p keira2 -a cell:6:mem::1024 -a mem::1024<br />

Memory: Assigning by Size (ILM) 223

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

Saved successfully!

Ooh no, something went wrong!