Supposedly that's what the /etc/ntp/step-tickers file is for. Just add it to the synclist or to the setupntp postscript (I just add a simple echo "$i" >>$step_tickers_file' and an 'echo $master ...' in the for loop after setting the step_tickers_file to the above file).

Did you try "hwclock --systohc --localtime"? possibly adding that to the end of the setupntp script might also help.

On 10/08//2012 17:37, James Richardson wrote:

It may be easier to also just add a call to 'ntpdate' in your setupntp script to initially set the date without having to wait for ntpd to align itself over time if you're starting from a big time delta.

James

*From:*Russell Jones [mailto:[email protected]]
*Sent:* Friday, August 10, 2012 6:11 AM
*To:* [email protected]
*Subject:* Re: [xcat-user] Time issues with some stateless IBM nodes

On 8/10/2012 5:29 AM, Lissa Valletta wrote:

    I have no idea why it comes up so far off,  but do you have
    setupntp in your postscripts.  At least that should help realign
    it over time.
    It does assume you have setup the MN as a ntp server.

    Lissa K. Valletta
    2-3/T12
    Poughkeepsie, NY 12601
    (tie 293) 433-3102


Thanks Lisa. The postscript itself is not being used, but NTP is configured on the nodes. It does eventually bring them in line with the hardware clock, but unfortunately still doesn't solve the initial problem of it being off.

I am trying to figure out what is causing this without having to resort to a hackish way of fixing it :) Someone else on a different mailing list mentioned that the "Could not access the hardware clock via any known methods" error is a hint that the initrd is missing the needed modules to properly access the hardware clock. I am going to dive down that road on Tuesday and see what I'm able to dig up.

This electronic communication and any attachments may contain confidential and 
proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient, or an 
agent or employee
responsible for delivering this communication to the intended recipient, or if 
you have received
this communication in error, please do not print, copy, retransmit, disseminate 
or
otherwise use the information. Please indicate to the sender that you have 
received this
communication in error, and delete the copy you received. DigitalGlobe reserves 
the
right to monitor any electronic communication sent or received by its 
employees, agents
or representatives.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to