Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How often does ASG sync with NTP Servers?

I have astaro running in Hyper-v (like vmware), btw it works great.

Only issues I have is due to virtualisation the ASG machine time get out of sync.

I have the default pool of NTP server, but ASG still seem to get out of sync..

If I test the NTP server it works and report that the time is off.

So, how often does ASG, do I need to configure it to do so? Can I make it sync more often?

Currently it does not appear to be syncing...

Thanks!


This thread was automatically locked due to age.
Parents
  • I hate to bump threads but I am running into this too.

    I am running ASG 7.502 on Windows 2008 R2 Hyper-V. Everything is great about it now but the time issue. I have a PDC on my network, not a VM but a physical box, that is running NTP and it shows that it can connect and shows the differential. But it never sets the time. Now one thing, I shut off the NTP server on the Astaro. Does that affect this?
  • I have a tweak to the ntp client config that solved the problem. But It`s at home. I can post it after new year. Maybe I could also give it to astaro dev so they put it in the release.

    Basically it involve adding a line to ntpd config file, to update the time even if the offset if big.
Reply
  • I have a tweak to the ntp client config that solved the problem. But It`s at home. I can post it after new year. Maybe I could also give it to astaro dev so they put it in the release.

    Basically it involve adding a line to ntpd config file, to update the time even if the offset if big.
Children
  • I would love to see it whenever you can, x-cimo! This is getting annoying and whenever I manually reset the time, my connection goes down. [:(] I don't understand why that should happen but I am just accepting that one.
  • What I did is edit the following 2 files:

    vi /var/chroot-ntp/etc/ntp.conf
    and
    vi /var/chroot-ntp/etc/ntp.conf-default

    In both file comment # tinker panic 0
    and add:

    tinker panic 600 step 0.5 stepout 60

    Also, I forced a time sync when astaro startup, but you might not need it..  

    This was done by editing:

    vi /var/mdw/scripts/ntp

    Add -g after $NTPD_BIN like:  

    chroot $CHROOT $NTPD_BIN -g || ret_code=1

    Let me know if that works for you.
  • I made the changes you pointed out and rebooted my ASG Hyper-V VM at about 9:00 pm local time and it looked good. But now, at 10:35 pm, it is showing a 2 minute differential already (10:37 pm). I will keep my eye on it though.
  • that's odd. Mine after running for a while is 0.8s off..

    Another thing I did is create and add 0.North America, 1.North America 2.North America and 3.North America.

    So it sync with 12 server... But i think it was keeping a good time before i added thoses...

    Make sure you have 

    tinker panic 600 step 0.5 stepout 60

    and that tinker panic 0 is removed or commented..

    Hope it works...