Remotely restarting a logical partition

You can restart an AIX®, Linux, or IBM® i logical partition remotely by using the Hardware Management Console (HMC) command-line interface. You can also restart a partition that supports the simplified version of the remote restart capability. You can run up to four concurrent remote restart operations for a destination server. When the HMC is at version 8.5.0 or later, you can run up to 32 concurrent remote restart operations for a destination server.

Before you begin, complete the following tasks:

  • You must ensure that the HMC is at version 8.1.0 or later, and the firmware is at level FW760, or later, and the VIOS must be at version 2.2.2.0 or later, for the remote restart feature.
  • You must ensure that the HMC is at version 8.2.0 or later, and the firmware is at level FW820, or later, and the VIOS must be at version 2.2.3.4 with the VIOS interim fix IV63331m4a or later, for the simplified version of the remote restart feature.
  • You must ensure that the source and the destination servers are connected to the same HMC. However, when the HMC is at version 8.5.0 or later, the source and destination server can be connected to a different Hardware Management Consoles. In this case, the HMC at the source and destination servers must be at version 8.5.0, or later, and only simplified remote restart is supported.
  • When the HMC is at version 8.3.0, or later, you can restart a logical partition on another server only when the source server is in the Initializing, Power Off, Error, or Error - Dump in progress state and the destination server is in the Operating state. When the HMC is at version 8.4.0, or later, you can restart a logical partition on another server only when the source server is in the Initializing, Power Off, Powering Off, Error, or Error - Dump in progress in progress state and the destination server is in the Operating state. When the HMC is at version 8.5.0, or later, you can restart a logical partition on another server only when the source server is in the Initializing, Power Off, Powering Off, No Connection, Error, or Error - Dump in progress state, and the destination server is in the Operating state.
  1. To remotely restart a logical partition, type the following command from the HMC command line:
     rrstartlpar -o restart -m <source managed system> -t <target manged system> -p <lpar name> 
    When the source server and the destination server are managed by different Hardware Management Consoles, type the following command to remotely restart a logical partition:
    rrstartlpar -m <source managed system> -t <target managed system> -p <lpar name> | --id <lpar id> 
    --ip <IP address> [-u <user ID>] -o restart
    Note: For a logical partition that is enabled with the simplified version of the remote restart feature, if the source partition was in the Suspended state before the remote restart operation started, the remote restart operation fails. You can use the --force option to force a remote restart operation.

    To verify the status of the remote restart operation, type the following command from the HMC command line:

    lssyscfg -r lpar -m <server> -F name,state,remote_restart_status
    You can also run the lsrrstartlpar command to view the status of the remote restart operation.
  2. To specify the destination shared processor pool, type the following command from the HMC command line:
    rrstartlpar -m <source managed system> -t <target managed system> -p <lpar name>
    | --id <lpar id> --ip <IP address> [-u <user ID>] - i|f 
    “shared_proc_pool_name=<spp name>|shared_proc_pool_id=<spp id>” -o restart
    Where:
    • shared_proc_pool_name is the name of the shared processor pool on the destination server.
    • shared_proc_pool_id is the ID of the shared processor pool.
    Note: The shared_proc_pool_id and shared_proc_pool_name attributes are mutually exclusive.
  3. To specify the destination virtual Fibre Channel mapping, type the following command from the HMC command line:
    rrstartlpar -m <source managed system> -t <target managed system> -p <lpar name> | --id <lpar id> 
    --ip <IP address> [-u <user ID>] - i|f “virtual_fc_mappings=
    slot_num/vios_lpar_name/vios_lpar_id/[vios_slot_num]/[vios_fc_port_name]” -o restart
    Where:
    • slot num is virtual Fibre Channel slot number.
    • vios_slot_num is virtual Fibre Channel slot number of the VIOS.
  4. To remotely restart a partition when the source server is in the No Connection state, type the following command from the HMC command line:
    rrstartlpar -m <source managed system> -t <target managed system> -p <lpar name> | --id
    <lpar id> -o restart --noconnection
  5. When the HMC is at version 8.5.0, or later, an auto cleanup operation on the server is performed by the HMC after the successful completion of the remote restart operation, and the source server is back to the Standby or Operating state, and the Resource Monitoring and Control (RMC) connection for the Virtual I/O Server (VIOS) partitions serving the remotely restarted logical partitions becomes active.
    You can enable the auto cleanup operation by typing the following command from the HMC command line:
    rrstartlpar -o set -r <source managed system> -i "auto_cleanup_enabled=1" 
    You can disable the auto cleanup operation by typing the following command from the HMC command line:
    rrstartlpar -o set -r <source managed system> -i "auto_cleanup_enabled=0" 
    The auto cleanup operation is enabled by default. If the remote restarted partitions are not cleaned up automatically, type the following command from the HMC command line to perform a cleanup operation on the source server:
    rrstartlpar -o cleanup -m source managed system -p lpar name 
    The default behavior of a cleanup operation is to remove the reserved storage device from the device pool on the source server. You can use the --retaindev option when you want to retain the reserved storage device in the pool and override the default action of the cleanup operation.



Last updated: Fri, July 05, 2019