IVM lpcfgop command

Purpose

Perform a partition configuration image operation. This command is operable only in an Integrated Virtualization Manager environment.

Syntax

To clear logical partition configuration data at next system restart:

lpcfgop -o clear [--force ] [ -m ManagedSystem ]

To disable logical partition configuration data at next system restart:

lpcfgop -o disable [--force ] [ -m ManagedSystem ]

To dump logical partition configuration data to a file:

lpcfgop -o dump [-f DumpFile] [ -m ManagedSystem ]

To enable logical partition configuration data at next system restart:

lpcfgop -o enable [ -m ManagedSystem ]

Description

The lpcfgop command performs a partition configuration image operation such as clearing, disabling, enabling, or dumping the logical partition configuration data.

Flags

Flag name Description
-o Operation The type of operations:
  • clear: Marks the logical partition configuration data to be cleared when the managed system is restarted.
  • disable: Marks the logical partition configuration data to be disabled when the managed system is restarted. This will temporarily place the system back into the factory configuration partition mode.
  • dump: Dumps all logical partition configuration data from managed system firmware to a file. This data may be used by service. Use the bkprofdata command to create backups that can be restored.
  • enable: Enables partition configuration data so that it will not be disabled or cleared when the managed system is restarted.
-f DumpFile The name of the file to write the dump to in the current working directory. If not specified, the default file will be /var/adm/lpm/lparConfig.dump
--force Skip confirmation prompts for clear and disable operations.
-m ManagedSystem The name of the managed system. This attribute is optional because there is only one system to manage. The name may either be the user-defined name for the managed system, or be in the form tttt-mmm*ssssssss, where tttt is the machine type, mmm is the model, and ssssssss is the serial number of the managed system.

Exit Status

This command has a return code of 0 on success.

Security

This command is accessible only to the padmin user in an IVM environment.

Examples

  1. Clear the partition configuration data (confirmation will be required) during the next reboot:
    lpcfgop -o clear
  2. Dump the logical partition configuration data to lparData.dump:
    lpcfgop -o dump -f lparData.dump



Last updated: Wed, November 18, 2020