The dpmlpar setresources command adjusts memory units for IBM AIX LPARs.
This command has the following format:
dpmlpar setresources
[-sc sc_url]
-add_memory 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]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Defines the amount of memory to add to the partition.
Specifies the Hardware Management Console (HMC) or Integrated Virtualization Manager (IVM) that controls the managed systems where the logical partition resides.
Specifies the managed system on which the logical partition resides. The managed system must exist on the HMC/IVM.
Specifies the logical partition to which the resources are going to be applied. The partition must exist on the managed system.
Specifies whether the adjustment is temporary or permanent. Options include the following:
Adjusts the current resources only and the adjusted values are lost when you shut down the partition.
Adjusts the current resources and the current profile value. The adjusted values are saved for the partition.
(Optional) Specifies whether to generate an event before the operation is performed.
(Optional) Specifies whether to generate an event after the operation is performed.
(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.
(Optional) Specifies whether you are prompted for the web service user ID and password.
Default: Yes
(Optional) Specifies the CA Server Automation remote user name.
(Optional) Specifies the CA Server Automation remote password.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native". Example: Add Memory to a Logical Partition
This example adds 128 MB of memory to the logical partition "lpartest01."
dpmlpar setresources -add_memory 128 -partition_name lpartest01 -hmc uni02 -managed_system usil01system1 -type dynamic
Example: Add Memory to a Logical Partition and Update a Profile
This example adds 128 MB of memory to the logical partition "lpartest01" and updates the partition profile file.
dpmlpar setresources -add_memory 128 -partition_name lpartest01 -hmc uni02 -managed_system usil01system1 -type all -profile_name lpartest01
Copyright © 2013 CA. All rights reserved. |
|