Restores hardware resources. This command is operable only in an Integrated Virtualization Manager environment.
rsthwres -r io | mem | proc | virtualio | mempool [-m <managed system>] [-p <partition name> | -- id <partition ID>] [-l <DRC index>] [-s <virtual slot number>] [-a "<attributes>"] [--help]
rsthwres -rhea | -m <managed system>] [-p <partition name> | --id <partition ID>] [-l<HEA DRC index>] [-g <port group ID>] --logport <logical port ID>]--help]
To restore memory or processing resources
rsthwres -r {mem | proc} [{-p partition-name | --id partition-ID}]
To restore physical I/O slots
rsthwres -r io [{-p partition-name | --id partition-ID}] [-l slot-DRC-index]
To restore Host Ethernet Adapter resources
rsthwres -r hea [{-p partition-name | --id partition-ID}] [-lHEA-adapter-ID] [-g port-group --logport logical-port-ID]
To restore memory pool resources
The rsthwres command restores the hardware resource configuration in the managed system. This operation may need to be performed after a dynamic LPAR operation fails.
Flag name | Description |
---|---|
-r | Shows the type of hardware resources to restore:
|
-m <managed system> | Indicates the name of the managed system which has the partitions for which to restore the hardware resources. 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. |
-p< partition name> | Indicates the name of the partition for which to restore the hardware resources. To restore hardware resources for a single partition, you must either use this option to specify the name of the partition, or use the --id option to specify the partition's ID. Otherwise, hardware resources for all partitions in the managed-system will be restored. The -p and the --id options are mutually exclusive. |
--id<partition ID> | Indicates the ID of the partition for which to restore the hardware resources. To restore hardware resources for a single partition, you must either use this option to specify the ID of the partition, or use the -p option to specify the partition's name. Otherwise, hardware resources for all partitions in the managed-system will be restored. The --id and the -p options are mutually exclusive. |
-l <DRC index> | Indicates the DRC index of the physical I/O slot to restore. This option is only valid when restoring physical I/O slots. This option is also used to specify the physical Host Ethernet Adapter to restore. |
-s <virtual slot> | Indicates the slot number of the virtual I/O. |
-a "<attributes>" | The configuration data needed to set hardware
resource related attributes. The configuration data consists of attribute
name/value pairs, which are in comma separated value (CSV) format.
The configuration data must be enclosed in quotation marks. Possible
values are:
Note:
|
-g port group ID | Indicates the logical ports that are part of the specified port group that will be restored. |
--logport <virtual slot> | Indicates the ID of the logical port to recover. |
--help | Displays the help text for this command and exit. |
This command has a return code of 0 on success.
rsthwres -r io -m mySystem
rsthwres -r io -m 9406-570*12345678 -l 21010003
rsthwres -r mem -m 9406-570*12345678 -p p1
rsthwres -r proc -m mySystem --id 1
rsthwres -r hea
rsthwres -r hea -l <HEA DRC> -g <PORT GROUP>
--logport <LP ID> {-p <LPAR NAME | --id <LPAR ID>}
rsthwres -r mempool -a paging_storage_pool=rootvg