How To
Summary
How to discover which HMC manages a particular IBM Power System.
Objective
Just ask one of the LPARs - it will need an RMC connection.
Environment
The lsrsrc command is what you need. (NOTE: not the lssrc command), The Resource Class is IBM.MCP
/# lsrsrc IBM.MCP
Resource Persistent Attributes for IBM.MCP
resource 1:
MNName = "9.137.62.43" <--------- LPAR IP Address
NodeID = 17061862123236921955
KeyToken = "hmc421" <--------- HMC hostname
IPAddresses = {"9.137.62.38"}
ConnectivityNames = {"9.137.62.43"}
HMCName = "Vf57fe5*7744351"
HMCIPAddr = "9.137.62.38" <--------- HMC public IP Address
HMCAddIPs = "10.254.0.1" <--------- HMC private IP Address
HMCAddIPv6s = ""
ActivePeerDomain = ""
NodeNameList = {"peach-gaz.aixncc.uk.ibm.com"}
resource 2:
MNName = "9.137.62.43"
NodeID = 14183474820106480045
KeyToken = "hmc14"
IPAddresses = {"9.137.62.30"}
ConnectivityNames = {"9.137.62.43"}
HMCName = "7042CR8*10D0BCC"
HMCIPAddr = "9.137.62.30"
HMCAddIPs = "10.0.255.1"
HMCAddIPv6s = ""
ActivePeerDomain = ""
NodeNameList = {"peach-gaz.aixncc.uk.ibm.com"}
You can see that the two HMCs are detailed and I have highlighted their hostnames and IP addresses in green. These are the public IP addresses of each HMC and you can see that the private IP addresses are also shown in navy blue.
The eagle-eyed amongst you will notice that the first HMC is in fact a virtual appliance, as shown by "Vf57fe5*7744351"
If you are running a very old version of AIX you would need to use lsrsrc IBM.ManagementServer and then, of course, you should upgrade the operating system!
Additional Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
03 May 2021
UID
ibm11117029