How to get HMC IP address from the LPAR in AIX ?

In this post, we will look how to get the HMC IP address from the lpar in IBM AIX.

Its quite simple using the lsrsrc command.

ngeaix001 --> lsrsrc IBM.MCP
Resource Persistent Attributes for IBM.MCP
resource 1:
        MNName            = "10.50.16.162"
        NodeID            = 5050069270911682848
        KeyToken          = "ngehmc021"
        IPAddresses       = {"10.56.12.21"}
        ConnectivityNames = {"10.50.16.162"}
        HMCName           = "7042CR9*787179D"
        HMCIPAddr         = "10.56.12.21"
        HMCAddIPs         = "172.17.0.2"
        HMCAddIPv6s       = ""
        ActivePeerDomain  = ""
        NodeNameList      = {"ngeaix001"}
resource 2:
        MNName            = "10.50.16.162"
        NodeID            = 5011307530235829570
        KeyToken          = "ngehmc020"
        IPAddresses       = {"10.56.12.20"}
        ConnectivityNames = {"10.50.16.162"}
        HMCName           = "7042CR9*78717AD"
        HMCIPAddr         = "10.56.12.20"
        HMCAddIPs         = "172.16.0.1"
        HMCAddIPv6s       = ""
        ActivePeerDomain  = ""
        NodeNameList      = {"ngeaix001"}
ngeaix001 -->

Leave a Reply

Your email address will not be published.