IBM Support

Which HMC manages this server?

How To


Summary

How to discover which HMC manages a particular IBM Power System.

Objective

Banner_AIX_i_Linux
You may want to find out which HMC or HMCs manage a particular server.
Just ask one of the LPARs - it will need an RMC connection.

Environment

This is a command run on AIX or Linux.

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

You can contact me: 

Document Location

Worldwide

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"HW1A1","label":"IBM Power Systems"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF050","label":"BMC"},{"code":"PF041","label":"HMC"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
03 May 2021

UID

ibm11117029