4.2. Status of LPARs

It is very easy to determine whether an LPAR is currently active or powered off by printing the status of an LPAR. The “lpar status” command can be used to display the status of a single LPAR or the status of several LPARs (or all LPARs):

$ lpar status aix\*
aix01  3        aixlinux  Running  standard  0     active  4      0.4         33792  AIX 7.1 7100-04-05-1720
aix02  3        aixlinux  Running  standard  0     inactive  1      0.2         16384  AIX 7.1 7100-04-05-1720
aix03  11       aixlinux  Running  standard  0     active  2      0.3         32768  AIX 7.1 7100-04-05-1720
aix04  19       aixlinux  Not Activated  standard  0     inactive  4      0.4         33792  AIX 7.1 7100-04-05-1720


The STATE column shows that the LPARs aix01, aix02 and aix03 are active, whereas the LPAR aix04 is powered off (Not Activated). The LPARs aix01 and aix03 have an active RMC connection to at least one of the HMCs, the two LPARs aix02 and aix04 do not have an active RMC connection. The reason for the LPAR aix04 is clear – it is powered off and therefore cannot have an active RMC connection. With LPAR aix02, however, there seems to be a problem because RMC is not active, although the LPAR is active.

In addition to the status, information on the number of processors (as well as entitlement for shared processor LPARs) and the main memory size are displayed. Finally, the operating system used and the version of the operating system are displayed. However, this information is only available if there is an active RMC connection or has existed at some point in time.