Hubba's Blog

Notes from a Linux/Unix Engineer

What HMC is managing an LPAR?

Posted on Tue, Oct 25, 2022 at 11:41 by Hubertus A. Haniel

Trying to work out what HMC is managing an LPAR? - Simple command that I always forget!

This is to work out what the HMC is that is managing an LPAR from AIX on the actual LPAR.

The command you are looking for is "lsrsrc IBM.MCP".

- Note the above command is lsrsrc NOT lssrc!

This will return a bunch of information - The bits you are looking for is "KeyToken" which is the HMC hostname and "HMCIPAddr" which is the public IP address of the HMC. "HMCAddIPs" is the private IP that is talking to the pSeries frame.

There may more than one resource listing these if there are two HMC's that are connected.

Edited on: Wed, Jun 04, 2025 11:42

Posted in System - AIX (RSS), Virtualization (RSS)