IVM rstprofdata command

Purpose

Restores profile data. This command is operable only in an Integrated Virtualization Manager environment.

Syntax

To restore logical partition configuration data from a file:

rstprofdata -l RestoreType [-f RestoreFile] [ --ignoremtms ] [ --ignoremac ] [ --ignorehea ] [ -m ManagedSystem ]

Description

The rstprofdata command performs a restore of logical partition configuration information from a file which was created with the bkprofdata command. Logical partition configuration must be cleared using the lpcfgop command before performing a restore operation. The restore operation may require a restart of the managed system, after which the rstprofdata command should be run again with the same parameters as were used the first time (before the system restart).

Flags

Flag name Description
-l RestoreType The type of restore to perform. Valid options are:

1 - full restore from the backup file

-f RestoreFile The name of the file to read from in the current working directory. If not specified, the default file is "/var/adm/lpm/profile.bak"
--ignoremtms Do not fail the restore operation if the type, model, or serial number of the managed system does not match the values in the backup file. This flag is used for the following primary reasons:
  • To clone the configuration from one system to another.
  • To force new worldwide port names to be allocated for any logical partitions that use virtual fibre channel.
Note: If you use the -ignoremtms flag, new worldwide port names are generated.
--ignoremac Do not try to restore the virtual Ethernet MAC addresses from the backup file. Default to the automatically generated MAC addresses.
--ignorehea Do not try to restore the Host Ethernet Adapter resources.
-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.
--help Display the help text for this command and exit.

Exit Status

This command has a return code of 0 on success.

Security

This command is not accessible by users with the ViewOnly role.

Examples

  1. To restore the partition configuration data from /var/adm/lpm/profile.bak, type:
    rstprofdata -l 1 
  2. To restore the partition configuration data from lparData.bak without validating that the type, model, and serial number match, type:
    rstprofdata -l 1 -f lparData.bak --ignoremtms



Last updated: Wed, November 18, 2020