IBM Support

How to Stop/Start Partitions from VIOS Command Line

Troubleshooting


Problem

This document describes how you can start or stop a partition when you can not access IVM, or when you only have access to VIOS.

Resolving The Problem

This document describes how you can start or stop a partition when you can not access IVM, or when you only have access to VIOS.

o

To power on a partition where the partition is ID number is 2, you should issue the following command:

chsysstate -r lpar -o on --id 2
oTo power on the partition with an ID of 2 and set the boot mode to System Management Services, you should issue the following command:

chsysstate -r lpar -o on --id 2 -b sms
oTo shut down the partition with an ID of 3, you should issue the following command:

chsysstate -r lpar -o shutdown --id 3
oTo immediately restart the partition with an ID of 3 using the client operating system's shutdown command, you should issue the following command:

chsysstate -r lpar -o osshutdown --restart --immed --id 3
oTo select the IPL source before activating an IBM i logical partition, you should issue the following command:

chsysstate -r lpar -o [-i <IPL Source>]

The command is fully documented in the following link:

http://publib.boulder.ibm.com/infocenter/powersys/v3r1m5/topic/iphcg/iphcg.pdf

[{"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Historical Number

586480407

Document Information

Modified date:
19 February 2022

UID

nas8N1011787