ProLiant Servers - Netservers
1820087 Members
2702 Online
109608 Solutions
New Discussion юеВ

Reboot ILO with hponcfg

 
SOLVED
Go to solution
trevrobwhite
Occasional Contributor

Reboot ILO with hponcfg

Hi all,

I'm hoping someone can help, i've configured my ILO user/password + IP address using hponcfg (included below details for the board), however to activate the new IP address I know I need to reboot the ILO processor, does anyone know the RIBCL to reboot the ILO processor only, the only commands I can find reset the processor which completely wipes it which is not what I want, I want the new IP address activiated.

 

Many thanks.

 

Here are the scripts you can give to hponcfg with the /f switch to change the password and IP address:

 

Change Administrator or User password

<RIBCL VERSION="2.0">
  <LOGIN USER_LOGIN="administrator" PASSWORD="XXXX">
  <RIB_INFO MODE="write">
    <RESET_RIB/>
  </RIB_INFO>
  </LOGIN>
</RIBCL>

Replace administrator with another user if needed, and XXXX with the password you want to use

Change IP Address details:

<RIBCL VERSION="2.1">
    <LOGIN USER_LOGIN=тАЭuserтАЭ PASSWORD=тАЭpasswordтАЭ>
        <RIB_INFO MODE=тАЭWRITEтАЭ >
            <MOD_NETWORK_SETTINGS>
                <IP_ADDRESS VALUE = "0.0.0.0"/>
                <SUBNET_MASK VALUE = "255.255.255.0"/>
                <GATEWAY_IP_ADDRESS VALUE = "0.0.0.0"/>
                <PRIM_DNS_SERVER value = "0.0.0.0"/>
                <SEC_DNS_SERVER value = "0.0.0.0"/>
                <DHCP_ENABLE VALUE = "N"/>
                <DNS_NAME VALUE = "ILO"/>
                <DOMAIN_NAME VALUE = ""/>
                <TER_DNS_SERVER value = "0.0.0.0"/>
                <PRIM_WINS_SERVER value = "0.0.0.0"/>
                <SEC_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>
    </LOGIN>
</RIBCL>

Change details as needed

2 REPLIES 2
Jimmy Vance
HPE Pro
Solution

Re: Reboot ILO with hponcfg

 

 

<!--         RIBCL Sample Script for HP Lights-Out Products          -->
<!--Copyright (c) 2013 Hewlett-Packard Development Company, L.P.     -->

 

<!-- Description:  This is a sample XML script to reset (reboot) the -->
<!--               following devices:                                -->
<!--                 Integrated Lights-Out 4 (iLO 4)                 -->
<!--                 Integrated Lights-Out 3 (iLO 3)                 -->
<!--                 Integrated Lights-Out 2 (iLO 2)                 -->

 

<!-- NOTE:  You will need to replace the USER_LOGIN and PASSWORD     -->
<!--        values with values that are appropriate for your         -->
<!--        environment.                                             -->

 

<!--        All active connections (including Remote Console and     -->
<!--        Virtual Media sessions) to the Lights-Out device will be -->
<!--        dropped immediately when this script executes.           -->

 

<!--        Use CPQLOCFG.EXE ver 4.00 or greater, or HPQLOCFG.EXE    -->
<!--        ver 1.00 or greater with this script.                    -->

<!--        This script was written for iLO 4 firmware version 1.01  -->
<!--        release.                                                 -->

 

<!--        See "HP Integrated Lights-Out Management Processor       -->
<!--        Scripting and Command Line Resource Guide" for more      -->
<!--        information on scripting and the syntax of the RIBCL     -->
<!--        XML.                                                     -->

 

<!--        Firmware support information for this script:            -->
<!--            iLO 4 - All versions.                                -->
<!--            iLO 3 - All versions.                                -->
<!--            iLO 2 - All versions.                                -->

 

 

<RIBCL VERSION="2.0">
   <LOGIN USER_LOGIN="adminname" PASSWORD="password">
      <RIB_INFO MODE="write">
         <RESET_RIB/>
      </RIB_INFO>
   </LOGIN>
</RIBCL>

 

 

No support by private messages. Please ask the forum! 
trevrobwhite
Occasional Contributor

Re: Reboot ILO with hponcfg

Many thanks.