Previous Topic: dpmlpar setresources Command--Add Memory ResourcesNext Topic: dpmlpar setresources Command--Subtract Memory Resources


dpmlpar setresources Command--Add Processor Resources

The dpmlpar setresources command adds processors and processor units for IBM AIX LPARs.

This command has the following format:

dpmlpar setresources 
[-sc sc_url] 
{-add_processors|add_processor_units} value 
-hmc name 
-managed_system managedsystemname 
-partition_name partitionname 
-type {dynamic|all} 
[-pre] [-post]
[-ws_user username]
[-ws_password password]
[-prompt <no|yes>]
[-ws_remote_user username]
[-ws_remote_password password]
[-locale iso639value]
-sc sc_url

(Optional) Defines the URL for the service controller host.

Example: https://hostname:port/...

hostname

Defines the fully qualified host where the service controller is installed.

Example: localhost.ca.com

port

Defines the listening port for the service controller server.

Example: 80

-add_processors value

Defines the number of processors to add to the partition.

-add_processor_units value

Defines the processor units to add to 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.

-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.

-ws_user username -ws_password password

(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.

-locale iso639value
-prompt {yes|no}

(Optional) Specifies whether you are prompted for the web service user ID and password.

Default: Yes

-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.

-locale iso639value

Example: Add Processors for a Partition and Update Profile

This example adds a processor to the partition "lpartest01" and updates the partition profile.

dpmlpar setresources -add_processors 1 -partition_name lpartest01 
-hmc uni02 -managed_system MSsystem1 -type all -profile_name lpartest01

Example: Add Processors and Processor Units for a Partition

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

dpmlpar setresources -add_processors 1 -add_processor_units 4.5 
-partition_name lpartest01 -hmc uni02 -managed_system MSsystem1 
-type dynamic