Previous Topic: dpmlpar-cycle Command--Cycle a Logical Partition (Funclet)Next Topic: dpmlpar-getresources Command--Get LPAR Resources (Funclet)


dpmlpar-delete Command--Delete a Logical Partition (Funclet)

The dpmlpar-delete command deletes a logical partition that is deactivated.

Important! Verify that you back up any important data before you issue this command. This command deletes the LPAR and the data files for the LPAR. The LPAR must be powered off when you issue this command.

This command has the following format:

dpmlpar-delete 
-hmc name 
-managed_system managedsystemname 
-partition_name partitionname 
[-verbose add_commandinfo]
[-sc URL]
[-ws_remote_user username]
[-ws_remote_password password]
[-pre]
[-post]
-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 name of a logical partition to delete. This partition must exist on the managed system.

-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: Delete a Logical Partition

This example deletes the logical partition lpar01.

dpmlpar-delete -hmc hmc02 -managed_system system05 -partition_name lpar01