Our previous blog on What’s new in HMC V9 R1.910.0, mentioned a set of Remote Restart Enhancements. This blog provides details on the Simplified Remote Restart enhancement being introduced with HMC V9 R1.910.0.
Remote Restart a partition with reduced or minimum CPU/Memory on the Target system:
When a system outage occurs and you want to restart all the partitions on another system to reduce the downtime, there might be scenarios where the target system does not have enough capacity to host all the partitions, but some partitions could be run with reduced resources (say dev/test versus production workloads). You can now achieve this with the option to restart a partition with reduced resources on target system.
- Validate/perform the Remote Restart operation of a logical partition with a different number of dedicated processors or virtual processors on the target server than what the partition was assigned on the source server, or with a different number of shared processing units on the Target server than what the logical partition was assigned on the source server.
- CLI: rrstartlpar -o validate/restart -m <managed system> -t <target system> [-p <partition name> | --id <partition ID>] -i “desired_procs = <desired procs absolute value>|min, desired_proc_units = <desired proc units absolute value>|min” [--ip <target hmc ip/host name>] [-u target hmc user name]
- Validate/perform the Remote Restart operation of a logical partition when you want to start the logical partition with a different amount of memory on the Target server than what the logical partition was assigned on the source server.
- CLI: rrstartlpar -o validate/restart -m <managed system> -t <target system> [-p <partition name> | --id <partition ID>] -i “desired_mem = <desired absolute memory>|min” [--ip <target hmc ip/host name>] [-u target hmc user name]
Remote Restart by choosing different Virtual Switch on Target system:
Validate/perform the Remote Restart operation of a logical partition when you want to start the logical partition with a different virtual switch on the Target server than what the logical partition was assigned on the source server.
- CLI: rrstartlpar -o validate/restart -m <managed system> -t <target system> [-p <partition name> | --id <partition ID -i “vswitch_mappings = <vlanId_1>/<source_vswitchName_1>/<target_vswitchName_1>, ...,<vlanId_n>/<source_vswitchName_n>/<target_vswitchName_n>”]” [--ip <target hmc ip/host name>] [-u target hmc user name]
Remote Restart the partition without powering on the partition on Target system:
This option allows you to prevent a logical partition from being started during the Remote Restart operation. You can use this option in cases where you would like to check the configuration on the Target system before powering on the partition. Please note that all the other steps performed during a Remote Restart operation would be done in this case except for powering on the partition.
- CLI: rrstartlpar -o restart -m <managed system> -t <target system> [-p <partition name> | --id <partition ID>] –skippoweron [--ip <target hmc ip/host name>] [-u target hmc user name]
Remote Restart the partition for test purposes when the source managed system is in the Operating or Standby state:
Remote Restart is supported when a system has failed. If you would like to validate if a remote restart operation would work in case of a system failure, you can always use the validate option. However, if you want to go one step further and actually test restarting the partition on another system, you can do that with the test option being introduced with HMC V9 R1.910.0. NOTE: The source partition has to be in shutdown state to use the test option for Remote Restart.
- CLI: rrstartlpar -o restart -m <managed system> -t <target system> [-p <partition name> | --id <partition ID>] --test [--ip <target hmc ip/host name>] [-u target hmc user name]
Display the partition configuration information:
HMC collects and persists the configuration data required for restarting a partition. You can now use the lsrrstartlpar command to view the persisted configuration information of all the logical partitions that support the simplified version of the Remote Restart feature.
- CLI: lsrrstartlpar -r lparcfg -m <managed system>
Remote Restart via Rest API:
You can also exercise the Remote Restart operation via the REST API; all the options/overrides have been added to the REST API as well.
https://<<HMCIP>>:12443/rest/api/uom/ManagedSystem/<ManagedSystem_UUID>LogicalPartition/<<PARTITION_UUID>>/do/RemoteRestart
Refer to the documentation at https://www-01preview.ibm.com/support/knowledgecenter/POWER9/p9ehl/apis/LogicalPartition_RemoteRestart.htm for details.
Contacting the PowerVM Team
Have questions for the PowerVM team or want to learn more? Follow our discussion group on LinkedIn IBM PowerVM or IBM Community Discussions
#HMC#PowerVM#powervmblog