Host-based backup of VMware vSphere VMs.
Post Reply
aeccles
Enthusiast
Posts: 82
Liked: 6 times
Joined: May 01, 2012 3:00 pm
Contact:

Sudden clock drift issues when backup starts

Post by aeccles »

Has anyone started having clock drift issues recently? About a week or so we started noticing it on a handful of servers. We've been running vmware and veeam for years and have never had any issues. Hosts sync with ntp and the domain syncs with ntp. We can see the time drift by 15 minutes as soon as a backup starts to run and then is corrected when it ends.
PetrM
Veeam Software
Posts: 3262
Liked: 526 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Sudden clock drift issues when backup starts

Post by PetrM »

Hello!

Why do you think it's related to backup activity and which operation does backup job perform when you notice a clock drift, for example: building VM list or snapshot creation?

Thanks!
aeccles
Enthusiast
Posts: 82
Liked: 6 times
Joined: May 01, 2012 3:00 pm
Contact:

Re: Sudden clock drift issues when backup starts

Post by aeccles »

first, correction to my post. The drift is 15 SECONDS not minutes.
I think it's related because I see event log 7045 appear (VeeamVssSupport service installed in the system) about 1 or 2 minutes before the time drift occurs, then I see the time drift correction at the conclusion of the job. This happens consistently. I have not identified the operation that causes it.
Gostev
Chief Product Officer
Posts: 31524
Liked: 6700 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Sudden clock drift issues when backup starts

Post by Gostev »

Please open a support case and let them see the issue live.
bpellegr
Veeam Software
Posts: 7
Liked: never
Joined: Mar 13, 2018 6:54 pm
Full Name: Bruce Pellegrino
Contact:

Re: Sudden clock drift issues when backup starts

Post by bpellegr »

What this issue resolved? I am running a POC for VDRO, and Veeam Replication of a Domain Controller is causing time sync issue with a 911 service. The customer had to stop replication.
Mildur
Product Manager
Posts: 8673
Liked: 2275 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Sudden clock drift issues when backup starts

Post by Mildur » 3 people like this post

When a VmWare Snapshot is created, the time gets synced from the esxi host to the vm. The time sync setting from the vmware tools will be ignored when a Snapshot happens. This is by design.

Check the times on the esxi server. I had a similar case on my own. The time on the esxi server was not correct. Each time a backup or replication was running, times get wrong on the guests when the snapshot happened.

VMware https://kb.vmware.com/s/article/1318
These options do not disable one-time synchronizations done by VMware Tools for events such as tools startup, taking a snapshot, resuming from a snapshot, resuming from suspend, or vMotion. These events synchronize time in the guest operating system with time in the host operating system even if VMware Tools periodic time sync is disabled, so it is important to ensure that the host operating system's time is correct
Product Management Analyst @ Veeam Software
jlester
Enthusiast
Posts: 56
Liked: 5 times
Joined: Mar 23, 2010 1:59 pm
Full Name: Jason Lester
Contact:

Re: Sudden clock drift issues when backup starts

Post by jlester »

Thank you for this! I've been chasing an intermittent time sync issue for weeks. I finally realized today it only happens after Veeam replication (and not every time). We somehow missed setting up NTP on one of our hosts. I had no idea that vSphere snapshots sync VM time to Host time by default before and after the snap, so I never even thought to check it there.
Mildur
Product Manager
Posts: 8673
Liked: 2275 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Sudden clock drift issues when backup starts

Post by Mildur »

Hi Jason
Your welcome :)
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 48 guests