ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

HP SL230s how to set NTP settings via ssh

GeorgiIvanov
Occasional Visitor

HP SL230s how to set NTP settings via ssh

Hello,

Does anybody have an idea how to set SNTP settings to the iLo4 via ssh.

I have to do that on 1000 servers so using web interface is not an option.

I already succeed with settings like SNMP community host etc but can't find the proper setting for SNTP.

 

Thanks in advance.

 

 

7 REPLIES

Re: HP SL230s how to set NTP settings via ssh

You could try the HP iLO 4 User Guide:

 

http://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c03334051-6.pdf

 

page 69

 

 

 

Regards,

 

Vijayasarathy

I work for HP
To say thanks click the white "thumbs up" icon below!!!
mhunter
Frequent Advisor

Re: HP SL230s how to set NTP settings via ssh

What OS are you using for DHCP?

 

 

GeorgiIvanov
Occasional Visitor

Re: HP SL230s how to set NTP settings via ssh

Yes I looked at that many times.

But there is an information how to do that with WebUI only.

I need to set these settings on more that 1000 machines so I need a script.

GeorgiIvanov
Occasional Visitor

Re: HP SL230s how to set NTP settings via ssh

I use static assigned IP addresses. And don't have an option to use DHCP in that setup.

mhunter
Frequent Advisor

Re: HP SL230s how to set NTP settings via ssh

That is too bad, because part of DHCP is NTP.

 

http://technet.microsoft.com/en-us/library/dd145324(WS.10).aspx

 

 

The other option I'm looking at is using HPSIM to push a script such as...

 

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

<DHCP_SNTP_SETTINGS value="Yes"/>
<SNTP_SERVER1 value="0.0.0.0"/>
<SNTP_SERVER2 value="0.0.0.0"/>
<TIMEZONE value="America/Anchorage"/>

 

etc, etc.

 

 

HP iLO 4 Scripting and Command Line Guide   has a whole section for SSH scripts

 

mgoblue2005
Occasional Visitor

Re: HP SL230s how to set NTP settings via ssh

Did you find a solution for this?  I'm in the same boat.  1000's of servers to update,  so the Web UI is not an option.  Looking through the sample iLO scripts I don't see a RIBCL option to set NTP.

Jimmy Vance
HPE Pro

Re: HP SL230s how to set NTP settings via ssh

As listed above you can use the following RIBCL syntax with cpqlocfg.exe or the perl script locfg.pl to set the values.  You can create a scpript/batch file to run this against many systems using either tool

 

 

<RIBCL VERSION="2.0">
   <LOGIN USER_LOGIN="adminname" PASSWORD="password">
      <RIB_INFO MODE="write">
         <MOD_NETWORK_SETTINGS>
            <!--        Firmware support information for next 4 tags :     -->
            <!--            iLO 4 - All versions.                          -->
            <!--            iLO 3 - All versions.                          -->
            <!--            iLO 2 - None.                                  -->          
            <DHCP_SNTP_SETTINGS value="No"/>
            <SNTP_SERVER1 value="0.0.0.0"/>
            <SNTP_SERVER2 value="0.0.0.0"/>
            <TIMEZONE value="America/Anchorage"/>
         </MOD_NETWORK_SETTINGS>
      </RIB_INFO>
   </LOGIN>
</RIBCL>

 

 




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!