<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Time Sync problem using NTP in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434607#M58249</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've been advised of a problem by users of a VMS-hosted application, in that their PC system clocks are being reset by minus one hour when they synchronise with my AlphaServer.&lt;BR /&gt;&lt;BR /&gt;The users run a script that has the command&lt;BR /&gt;&lt;BR /&gt;NET TIME \\POST06 /SET /Y&lt;BR /&gt;&lt;BR /&gt;which displays the current time on the server but also reports it as an hour earlier and sets the incorrect time on the client.&lt;BR /&gt;&lt;BR /&gt;However, when I check the time on the Alpha, it's correct.&lt;BR /&gt;&lt;BR /&gt;The background to this is that several months ago we introduced TCPIP$NTP as our time sync service, replacing DTSS as part of a wider exercise to align the times of all servers on our domain under a common protocol.&lt;BR /&gt;&lt;BR /&gt;I disabled the DTSS service but that didn't prevent it from restarting following a reboot at the weekend, a fact I didn't realise until this morning.&lt;BR /&gt;&lt;BR /&gt;On the client side, PCs syncing with the server have their date/time setting "Automatically adjust for Daylight Savings Time" disabled, and the application admins don't want to have to reset this on 120 clients.&lt;BR /&gt;&lt;BR /&gt;I've disabled DTSS on the server but although it has cleared the conflict announcements in TCPIP$NTP_RUN.LOG it hasn't helped the clients.&lt;BR /&gt;&lt;BR /&gt;The following logicals also appear - should I delete them?&lt;BR /&gt;&lt;BR /&gt;"SYS$LOCALTIME" = "SYS$SYSROOT:[SYS$ZONEINFO.SYSTEM]GB-EIRE."&lt;BR /&gt;  "SYS$TIMEZONE_DAYLIGHT_SAVING" = "1"&lt;BR /&gt;  "SYS$TIMEZONE_DIFFERENTIAL" = "3600"&lt;BR /&gt;  "SYS$TIMEZONE_NAME" = "BST"&lt;BR /&gt;  "SYS$TIMEZONE_RULE" = "GMT0BST-1,M3.5.0/01,M10.4.0/02"&lt;BR /&gt;&lt;BR /&gt;A copy of the TCPIP$NTP.CONF and TCPIP$NTP_RUN.LOG are attached.&lt;BR /&gt;&lt;BR /&gt;The server is an ES45 running OVMS 7.3-2 and TCPIP 5.4 ECO 6.&lt;BR /&gt;&lt;BR /&gt;I'm reasonably sure the problem lies with the restart of DTSS, but I'd like to be certain. i think ultimately I need to eliminate DTSS entirely from the server...&lt;BR /&gt;&lt;BR /&gt;If anyone's observed this sort of behaviour in the past, I'd appreciate any advice you might have.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Jun 2009 09:36:17 GMT</pubDate>
    <dc:creator>Alpha_1_1</dc:creator>
    <dc:date>2009-06-08T09:36:17Z</dc:date>
    <item>
      <title>Time Sync problem using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434607#M58249</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've been advised of a problem by users of a VMS-hosted application, in that their PC system clocks are being reset by minus one hour when they synchronise with my AlphaServer.&lt;BR /&gt;&lt;BR /&gt;The users run a script that has the command&lt;BR /&gt;&lt;BR /&gt;NET TIME \\POST06 /SET /Y&lt;BR /&gt;&lt;BR /&gt;which displays the current time on the server but also reports it as an hour earlier and sets the incorrect time on the client.&lt;BR /&gt;&lt;BR /&gt;However, when I check the time on the Alpha, it's correct.&lt;BR /&gt;&lt;BR /&gt;The background to this is that several months ago we introduced TCPIP$NTP as our time sync service, replacing DTSS as part of a wider exercise to align the times of all servers on our domain under a common protocol.&lt;BR /&gt;&lt;BR /&gt;I disabled the DTSS service but that didn't prevent it from restarting following a reboot at the weekend, a fact I didn't realise until this morning.&lt;BR /&gt;&lt;BR /&gt;On the client side, PCs syncing with the server have their date/time setting "Automatically adjust for Daylight Savings Time" disabled, and the application admins don't want to have to reset this on 120 clients.&lt;BR /&gt;&lt;BR /&gt;I've disabled DTSS on the server but although it has cleared the conflict announcements in TCPIP$NTP_RUN.LOG it hasn't helped the clients.&lt;BR /&gt;&lt;BR /&gt;The following logicals also appear - should I delete them?&lt;BR /&gt;&lt;BR /&gt;"SYS$LOCALTIME" = "SYS$SYSROOT:[SYS$ZONEINFO.SYSTEM]GB-EIRE."&lt;BR /&gt;  "SYS$TIMEZONE_DAYLIGHT_SAVING" = "1"&lt;BR /&gt;  "SYS$TIMEZONE_DIFFERENTIAL" = "3600"&lt;BR /&gt;  "SYS$TIMEZONE_NAME" = "BST"&lt;BR /&gt;  "SYS$TIMEZONE_RULE" = "GMT0BST-1,M3.5.0/01,M10.4.0/02"&lt;BR /&gt;&lt;BR /&gt;A copy of the TCPIP$NTP.CONF and TCPIP$NTP_RUN.LOG are attached.&lt;BR /&gt;&lt;BR /&gt;The server is an ES45 running OVMS 7.3-2 and TCPIP 5.4 ECO 6.&lt;BR /&gt;&lt;BR /&gt;I'm reasonably sure the problem lies with the restart of DTSS, but I'd like to be certain. i think ultimately I need to eliminate DTSS entirely from the server...&lt;BR /&gt;&lt;BR /&gt;If anyone's observed this sort of behaviour in the past, I'd appreciate any advice you might have.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2009 09:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434607#M58249</guid>
      <dc:creator>Alpha_1_1</dc:creator>
      <dc:date>2009-06-08T09:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Time Sync problem using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434608#M58250</link>
      <description>I don't know if it is sufficient, but try to define/system NET$DISABLE_DTSS "1" in sylogicals.com,&lt;BR /&gt;then dtss$startup.com should not do anything.</description>
      <pubDate>Mon, 08 Jun 2009 12:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434608#M58250</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2009-06-08T12:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time Sync problem using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434609#M58251</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; has this issue existed since you moved to BST ? &lt;BR /&gt;do the clients have to run the time synch now or was this just historical ?&lt;BR /&gt;&lt;BR /&gt;those logicals are quite normal if you have utc$time_setup to set your local time zone.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2009 14:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434609#M58251</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-06-08T14:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Time Sync problem using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434610#M58252</link>
      <description>Joseph - thanks. I've added that parameter today and hopefully it will make a difference.&lt;BR /&gt;&lt;BR /&gt;Mark - What I think happened was that we switched on TCPIP$NTP and disabled DTSS but before the most recent DST change at the end of March.&lt;BR /&gt;&lt;BR /&gt;When we rebooted for a patch upgrade yesterday, DTSS must have restarted and reasserted a time setting that forced the clients to set their clocks back an hour.&lt;BR /&gt;&lt;BR /&gt;In any event, I've left the logicals in place and won't be removing them, and the application admins have deployed a fix which appears to have resolved things on the client side.&lt;BR /&gt;&lt;BR /&gt;In the absence of further evidence I'm looking at DTSS as the culprit - it just seems a little bizarre, is all...&lt;BR /&gt;&lt;BR /&gt;Bob</description>
      <pubDate>Mon, 08 Jun 2009 14:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434610#M58252</guid>
      <dc:creator>Alpha_1_1</dc:creator>
      <dc:date>2009-06-08T14:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Time Sync problem using NTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434611#M58253</link>
      <description>NTP knows from UTC/GMT only, and the local boxes handle the daylight saving time (DST) offset.     NTP does not transmit localtime, only UTC/GMT.&lt;BR /&gt;&lt;BR /&gt;Which tends to imply that either the OpenVMS box has the one-hour-off DST problem, or that the Windows boxes have their own one-hour-off DST configuration problem.  The hour-off is due to the arcane and buggy ways that both OpenVMS and Windows deal with system time and with DST, a DST setting error, or due to a lack of current ECO kits for the box (which AFAIK should not be the case with GMT/BST as that's not changed here.)&lt;BR /&gt;&lt;BR /&gt;The one-hour-off stuff has been covered in the OpenVMS FAQ and at the HoffmanLabs site for a while, and you're in the range where some of the values can be a bit wonky if you don't have the ECOs loaded.&lt;BR /&gt;&lt;BR /&gt;As for the DTSS errors in that attachment text file, use the NET$DISABLE_DTSS logical name mentioned earlier.  (This arrived via ECO kit on some releases, so - if you don't see it on your current release - then look around for a DECnet-Plus ECO kit.)&lt;BR /&gt;&lt;BR /&gt;On more than a few sites, I've recommended entirely punting this whole time-related morass, and moving to UTC.  This means you can be explaining stuff more often, but that you're fixing stuff less often.  Neither OpenVMS nor Windows has a particularly robust implementation of timekeeping.&lt;BR /&gt;&lt;BR /&gt;Here's some related reading on how this stuff works:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/72" target="_blank"&gt;http://labs.hoffmanlabs.com/node/72&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/841" target="_blank"&gt;http://labs.hoffmanlabs.com/node/841&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The OpenVMS FAQ is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Pedant note: yes, I know that UTC isn't quite GMT.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jun 2009 14:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/time-sync-problem-using-ntp/m-p/4434611#M58253</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-06-08T14:46:18Z</dc:date>
    </item>
  </channel>
</rss>

