ProLiant Servers (ML,DL,SL)
1748008 Members
4815 Online
108757 Solutions
New Discussion юеВ

Re: ILO IP from Linux OS

 
SOLVED
Go to solution
satyahc
Occasional Advisor

ILO IP from Linux OS

Hi,

  I have Hp servers with ILO. The server is loaded with Linux OS and connected to the deadnet which starts 10.x.x.x.

ILO is connected to the external network.

 

Some how i lost the IP of the ILO. But i can access the server using the deadnet IP using SSH.

 

Is it possible to extract the ILO IP using SSH console from the Server?

 

I am sure it should be possible. 

 

Appreciate your response on this. 

 

Thanks In advance,

satya

 

7 REPLIES 7
kkpro
Regular Advisor

Re: ILO IP from Linux OS

Hi,

 

You could use "HP iLO online configuration utility for Linux":

hponcfg -w conf.txt

 

-and then see xml config in conf.txt file.

Jimmy Vance
HPE Pro

Re: ILO IP from Linux OS

if you have IPMI enabled on the host you can issue 'ipmitool lan print' This will give you the iLO IP.  You can also use hponcfg which has already been suggested

No support by private messages. Please ask the forum! 
satyahc
Occasional Advisor

Re: ILO IP from Linux OS

Thanks for your quick response.

Should i install any rpm or is it bash scripts? 

Can you help me to provide links on how can i proceed to use this script/utility?

 

 

Jimmy Vance
HPE Pro
Solution

Re: ILO IP from Linux OS

'ipmitool' is included with most distributions, but may not be part of the standard installation.

 

'hponcfg' is a tool provided by HP. The latest version can be found here

 

https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5ab6295f49964f16a699064f29

 

No support by private messages. Please ask the forum! 
satyahc
Occasional Advisor

Re: ILO IP from Linux OS

Thanks a lot.

ipmitool is enabled in my server and i could able to extract the IP.

 

Thanks for the quick response & your support.

vizio007
New Member

Re: ILO IP from Linux OS

molnart
Occasional Visitor

Re: ILO IP from Linux OS

I am too trying to find out my ILO ip address, tried both hponcfg and ipmitool, but the outputs below did not tell me anything.

also the routers dhcp interface does not show anything ilo related

 

<!-- HPONCFG VERSION = "5.6.0" -->
<!-- Generated 12/23/2021 23:32:5 -->
<RIBCL VERSION="2.1">
 <LOGIN USER_LOGIN="Administrator" PASSWORD="password">
  <DIR_INFO MODE="write">
  <MOD_DIR_CONFIG>
    <DIR_AUTHENTICATION_ENABLED VALUE = "N"/>
    <DIR_LOCAL_USER_ACCT VALUE = "Y"/>
    <DIR_SERVER_ADDRESS VALUE = ""/>
    <DIR_SERVER_PORT VALUE = "636"/>
    <DIR_OBJECT_DN VALUE = ""/>
    <DIR_OBJECT_PASSWORD VALUE = ""/>
    <DIR_USER_CONTEXT_1 VALUE = ""/>
    <DIR_USER_CONTEXT_2 VALUE = ""/>
    <DIR_USER_CONTEXT_3 VALUE = ""/>
  </MOD_DIR_CONFIG>
  </DIR_INFO>
  <RIB_INFO MODE="write">
  <MOD_NETWORK_SETTINGS>
    <SPEED_AUTOSELECT VALUE = "Y"/>
    <NIC_SPEED VALUE = "10"/>
    <FULL_DUPLEX VALUE = "N"/>
    <IP_ADDRESS VALUE = "0.0.0.0"/>
    <SUBNET_MASK VALUE = "0.0.0.0"/>
    <GATEWAY_IP_ADDRESS VALUE = "0.0.0.0"/>
    <DNS_NAME VALUE = "server2"/>
    <PRIM_DNS_SERVER value = "192.168.50.1"/>
    <DHCP_ENABLE VALUE = "Y"/>
    <DOMAIN_NAME VALUE = "domain.local"/>
    <DHCP_GATEWAY VALUE = "Y"/>
    <DHCP_DNS_SERVER VALUE = "Y"/>
    <DHCP_STATIC_ROUTE VALUE = "Y"/>
    <DHCP_WINS_SERVER VALUE = "Y"/>
    <REG_WINS_SERVER VALUE = "Y"/>
    <PRIM_WINS_SERVER value = "0.0.0.0"/>
    <STATIC_ROUTE_1 DEST = "0.0.0.0" GATEWAY = "0.0.0.0"/>
    <STATIC_ROUTE_2 DEST = "0.0.0.0" GATEWAY = "0.0.0.0"/>
    <STATIC_ROUTE_3 DEST = "0.0.0.0" GATEWAY = "0.0.0.0"/>
  </MOD_NETWORK_SETTINGS>
  </RIB_INFO>
  <USER_INFO MODE="write">
  <ADD_USER
    USER_NAME = "molnart"
    USER_LOGIN = "molnart"
    PASSWORD = "%user_password%">
    <ADMIN_PRIV value = "Y"/>
    <REMOTE_CONS_PRIV value = "Y"/>
    <RESET_SERVER_PRIV value = "Y"/>
    <VIRTUAL_MEDIA_PRIV value = "Y"/>
    <CONFIG_ILO_PRIV value = "Y"/>
  </ADD_USER>
  </USER_INFO>
 </LOGIN>
</RIBCL>

 

 

Set in Progress         : Set Complete
Auth Type Support       :
Auth Type Enable        : Callback :
                        : User     :
                        : Operator :
                        : Admin    :
                        : OEM      :
IP Address Source       : DHCP Address
IP Address              : 0.0.0.0
Subnet Mask             : 0.0.0.0
MAC Address             : 94:18:82:35:7e:4f
SNMP Community String   :
BMC ARP Control         : ARP Responses Enabled, Gratuitous ARP Disabled
Default Gateway IP      : 0.0.0.0
802.1q VLAN ID          : Disabled
802.1q VLAN Priority    : 0
RMCP+ Cipher Suites     : 0,1,2,3
Cipher Suite Priv Max   : XuuaXXXXXXXXXXX
                        :     X=Cipher Suite Unused
                        :     c=CALLBACK
                        :     u=USER
                        :     o=OPERATOR
                        :     a=ADMIN
                        :     O=OEM
Bad Password Threshold  : Not Available