Previous Topic: dpmlpar-setresources Command--Subtract Memory Resources (Funclet)Next Topic: CA Oracle Solaris Zones AutoShell Commands


dpmlpar-setresources Command--Subtract Processor Resources (Funclet)

The dpmlpar-setresources command removes processors and processor units from IBM AIX LPARs.

This command has the following format:

dpmlpar-setresources 
{-subtract_processors|subtract_processor_units} value 
-hmc name 
-managed_system managedsystemname 
-partition_name partitionname 
-type {dynamic|all} 
[-verbose add_commandinfo]
[-sc URL]
[-ws_remote_user username]
[-ws_remote_password password]
[-pre]
[-post]
-subtract_processors value

Defines the number of processors to remove from the partition.

-subtract_processor_units value

Defines the processor units to remove from the partition.

Limits: .01 increments

-hmc name

Specifies the Hardware Management Console (HMC) or Integrated Virtualization Manager (IVM) that controls the managed systems where the logical partition resides.

-managed_system managedsystemname

Specifies the managed system on which the logical partition resides. The managed system must exist on the HMC/IVM.

-partition_name partitionname

Specifies the logical partition to which the resources are going to be applied. The partition must exist on the managed system.

-type {dynamic|all}

Specifies whether the adjustment is temporary or permanent. Options include the following:

dynamic

Adjusts the current resources only and the adjusted values are lost when you shut down the partition.

all

Adjusts the current resources and the current profile value. The adjusted values are saved for the partition.

-verbose add_commandinfo

Provides additional information about how to execute the command.

-sc URL

(Optional) Specifies the URL of the service controller.

-ws_remote_user username

(Optional) Specifies the CA Virtual Assurance remote user name.

-ws_remote_password password

(Optional) Specifies the CA Virtual Assurance remote password.

-pre

(Optional) Specifies whether to generate an event before the operation is performed.

-post

(Optional) Specifies whether to generate an event after the operation is performed.

Example: Subtract Processors From a Partition and Update Profile

This example subtracts a processor from the partition "lpartest01" and updates the partition profile

dpmlpar-setresources -subtract_processors 1 -partition_name lpartest01
-hmc hmc02 -managed_system MSsystem1 -type all

Example: Subtract Processors and Processor Units From a Partition

This example temporarily adjusts the processor and processor unit resources for the partition "lpartest01."

dpmlpar-setresources -subtract_processors 1 -subtract_processor_units 4.5 
-partition_name lpartest01 -hmc ivm02 -managed_system MSsystem1 -type dynamic