Archive for October 2022
AIX - Get the serial number of the system.
Posted on Fri, Oct 28, 2022 at 11:55 by Hubertus A. Haniel
On AIX the serial number of the system can be retrieved multible ways. - "lsconf | head" will get you the serial number and you can grep it out of that output but actually this is quite an expensive call to make if you are doing this across a large estate to populate your inventory database. lsconf will actually go down and probe the hardware for things and will be quite in efficiant.
The serial number is actually stored on the local filesystem in the ODM which is the system registry for an AIX system and it is much more efficient to retrieve it from there using "odmget CuAt | grep -p systemid"
Posted in HowTo (RSS), System - AIX (RSS)
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:42Posted in System - AIX (RSS), Virtualization (RSS)