NTP problems.

  • Thread starter Deleted member 46272
  • Start date

w00key

Ars Legatus Legionis
10,103
Subscriptor
This looks like a root cause analysis.
Yeah thread can be summed up as MSP bad 😞


At least it works now. Better VPN wrapped than broken and even super laggy connections achieve a sync of less than 1s. Sync error is half of difference between server to client and reverse latency, so only borked with super huge delays one way but not the other.
 

malor

Ars Legatus Legionis
16,093
You could always run your own internal stratum 1 NTP source.
https://timemachinescorp.com/product/gps-time-server-tm1000a/
We have one at work, just because. It's a simple device that does one thing, and does it well.
Wow, that's a lot cheaper than I was expecting, $350. The last one I was looking at was $1500.

That doesn't help the devices at the remote sites.
At $350, deploying one per site probably wouldn't blow the budget unless your business is seriously cheap.
 

sryan2k1

Ars Legatus Legionis
46,882
Subscriptor++
And who is paying several thousand dollars per site to get a roof mount GPS antenna?

Again, OP is a MSP, they're trying to save every dollar they can, and a GPS NTP device in a site is the worst thing you could possibly do. They already have VPN tunnels, point everything at a NTP server in their datacenters. Don't introduce a bunch of failure prone individual tickers.


It's clear you really don't understand how enterprise time management works.

I would never trust a $350 GPS NTP server. If your business needs highly accurate GPS time your GPS units are going to cost thousands. The $350 ones are going to have a ton of skew/jitter issues.


We built a few S1 GPS Timeservers out of raspberryPi's at my last job as an experiment, and after all was said and done we determined using pool.ntp.org was more reliable.
 

KD5MDK

Ars Legatus Legionis
23,398
Subscriptor++
Regular NTP to the internet will get you within a few tens of milliseconds of accuracy.

They already have VPN tunnels, point everything at a NTP server in their datacenters. Don't introduce a bunch of failure prone individual tickers.
It looks like this is the best resolution, except for the part where the MSP didn't do it successfully at first.
 
  • Like
Reactions: continuum
D

Deleted member 46272

Guest
And who is paying several thousand dollars per site to get a roof mount GPS antenna?

Again, OP is a MSP, they're trying to save every dollar they can, and a GPS NTP device in a site is the worst thing you could possibly do. They already have VPN tunnels, point everything at a NTP server in their datacenters. Don't introduce a bunch of failure prone individual tickers.


It's clear you really don't understand how enterprise time management works.

I would never trust a $350 GPS NTP server. If your business needs highly accurate GPS time your GPS units are going to cost thousands. The $350 ones are going to have a ton of skew/jitter issues.


We built a few S1 GPS Timeservers out of raspberryPi's at my last job as an experiment, and after all was said and done we determined using pool.ntp.org was more reliable.
Exactly. We have sites such as cafes that are deep inside of large hospital buildings. For example, a hospital contracts our corp to operate the cafe, and we have ~1 month to prep to take over. You'd have to be crazy to suggest running a GPS antenna to the roof just to operate a tiny cafe network reliably. That's a 6+ month project that costs >$10k to do in a major hospital building (infection control reviews, contract negotiations, etc).
The problem I keep running into all the time is that most network products and software is designed for large networks with a small number of sites, and not >8k sites (with >8k independent internet connections). At that end of the scale, you want the absolute smallest tech footprint possible because every single additional "system" is just another failure point and turns into a massive deployment to install or if it breaks. From a licensing perspective, a lot of gear is charged per site. For larger offices or even consumer retail, this can work, but in the hospitality industry, the margins are razor thin and many locations are seriously tiny.
We probably have about 1k locations that feed <100 people per day (but then we have a handful that feed >10k), so revenues at some sites are ridiculous. We have housekeeping services for enormous manufacturing facilities that only have 5 Pcs and and a handful of timeclocks, so it doesn't make sense to go overboard with networking stuff there, either.
Practically none of the sites have onsite IT staff, so who is going to plug the stuff in? Do we pay people to hit 8k sites all over the US? Who pays for that?
Its a very challenging environment. When i see someone recommends "but it's only $500 per site for this cool widget!" that's an excellent indicator that they have no idea how the hospitality industry works. The sites are visited once or twice, set up with cloud-managed/VPN-managed equipment, some of it poorly managed by an MSP, documented to some extent, then no one goes there for the next 5+ years at least.
 

wseaton

Ars Scholae Palatinae
653
My solution is to just set up a local NTP server like Meinberg and point devices to that box. 'That' box then is the only device that needs to properly sync. I'm often dealing with fleets of IP cams and other IoT devices that I want to keep off the internet but need accurate time, or non AD Windows machines. Sooooooo much easier just to point them to my own NTP box and call it a day. All I then have to worry about is my NTP box.
 

KD5MDK

Ars Legatus Legionis
23,398
Subscriptor++
The sites are visited once or twice, set up with cloud-managed/VPN-managed equipment, some of it poorly managed by an MSP, documented to some extent, then no one goes there for the next 5+ years at least.
Have you considered building an “appliance” that hosts several VMs and automatically VPNs back to some service you control so you have a consistent footprint in each site? On the one hand it would be development expense, on the other hand you’d reduce your site complexity and could roll out new VMs/services to it as needed and could ship replacements to be plugged in when required.
 
  • Like
Reactions: SandyTech
D

Deleted member 46272

Guest
We don't have servers at the vast majority of our sites, and adding one to every site would add a monumental a amount of administrative overhead, cost (hW and licensing), and complexity to every site. The appliances would need to be maintained, patched, etc. They also add a huge amount of surface area to potential breaches and attacks, and they would add administrative burden to InfoSec and extra complexity to network security. Possible significantly extra cost, too, if this tips the site requirements into needing IPS, AV filtering, etc. Remember, you would have to add this to thousands of locations. The appliances would need lifecycle replacement to keep reliability somewhat sane, and this is another substantial workload to stay on top of, hardware to stock, manage, and image, etc.

We already have managed firewalls at almost every site that rely on outbound IPSec tunnels for management, and even those create a significant burden because we have a never-ending stream of devices where that VPN gets blocked by some ISP change, goes down for some reason, the firewall decides to stop working and suddenly needs reboot, some cert expires somewhere that was missed by scripting because the firewall happened to be offline right when the new certs were pushed, etc. That burden is more than compensated by the fact that we get secure access to real-time network traffic logs and device status, and in theory, we should be able to NAT NTP traffic to that same firewall appliance and that should take care of NTP issues.

We are a team of 10 people, we have approx 8k sites, and we are dealing with a whole plethora of other projects (PoS rollouts/upgrades, ISP installs/upgrades, new site openings/site closings, etc etc).
 
  • Like
Reactions: SandyTech

KD5MDK

Ars Legatus Legionis
23,398
Subscriptor++
I was picturing this device as a replacement for the existing managed firewalls and basically everything else you might install there consolidated into a single box. Basically seeing if the scale was big enough to say going with OSS software on a common simplified hardware platform and having no incremental licensing cost was worth the investment. But if your team is 8 and handling all of the other work too I can see how that's not feasible.
 

iljitsch

Ars Tribunus Angusticlavius
9,637
Subscriptor++
My MacBook Pro has had times where it was off by a minute or so and apparently NTP stopped working until a reboot.
94 seconds slow right now. Uptime: 86 days. So if NTP stopped working right after boot, that's a bit over a second per day worth of clock drift. I wouldn't call that "good" in today's day and age, but also not disasterous. Of course if NTP stopped working yesterday things are much worse.
 

gusgizmo

Ars Praefectus
3,057
Subscriptor
Anything that sleeps shouldn't be running an NTP server. Nor should anything virtualized. If it doesn't have a battery backed clock, probably not that either.

Main problem with running your own NTP cluster is that two isn't better than one. Nor is three. Only four or more are acceptable to consistently eliminate a false ticker.

http://lists.ntp.org/old-archives/questions/2011-January/028321.html
For what it's worth, you need a lot less signal than you think to get good GPS time. Most messages from the satellites have a usable timestamp.

I went in and out of the NTP rabbit hole, mastered it, and now lean on Cloudflare due to their well curated pool in local proximity to basically everywhere.