VMware Cloud Community
ramg1967
Contributor
Contributor

Time Sync Issue with Data Protection Appliance

Hello,

I installed vDP in lab environment to test the product.  Everything was working well for few days.  Since Saturday, I am facing with this error

“the most common cause for this error is that the time on the vdp appliance and your sso server are not in sync”

I checked esxi5.1 host (inside vcenter) to make sure the time are in sync with web client.    I am using NTP (pool.ntp.org) under configuration on esxi 5.1 and NTP client is enabled and running. 

How can, I resolve this error.  vDP appliance disconnect and when, I try to reconnect faced with above error.  Appreciate your help

Ram

17 Replies
snekkalapudi
VMware Employee
VMware Employee

Hi,

Did you checked if there is a time diff between VDP appliance & SSO ?

ssh to appliance and check the time.

-Suresh
0 Kudos
ramg1967
Contributor
Contributor

This is what, I did as of now.

1. Checked time on ESXi5.1 (vCenter) Time Configuration - Date & Time, NTP Client & NTP Servers running in sync with vcenter windows time

2. Logged into vsphere web client - Vcenter - Host & Clusters - Host - Time Configuration - Date & Time, NTP Client & NTP Servers running in sync with ESXi 5.1

3. ssh into vdp appliance - Did run command date to check the time - In sync with ESXi 5.1, Web Client & Windows time (I am running vCenter on Server 2008)

How can, I check the time status of SSO server?

Note:

I ssh into esxi 5.1 using putty - I ran date command - to my surprise it showed Mon Oct 1 16:20:10 UTC 2012 - I checked esxi 5.1 time configuration from vcenter it show current time as 12:20PM.  Do, I need to change the time using putty?

0 Kudos
snekkalapudi
VMware Employee
VMware Employee

Is you SSO embedded with vcenter or a standalone ?

-Suresh
0 Kudos
ramg1967
Contributor
Contributor

SSO embedded with vcenter.

0 Kudos
snekkalapudi
VMware Employee
VMware Employee

If so..you are good.

Restart your web client service and check

-Suresh
0 Kudos
ramg1967
Contributor
Contributor

Note:

I ssh into esxi 5.1 using putty - I ran date command - to my surprise it showed Mon Oct 1 16:20:10 UTC 2012 - I checked esxi 5.1 time configuration from vcenter it show current time as 12:20PM.  Do, I need to change the time using putty because it is not set to ETC time?

0 Kudos
snekkalapudi
VMware Employee
VMware Employee

hey..putty displays in UTC format which is equivalent to what you are seeing from vcenter. You do not have to change any thing.

You problem is specific to SSO so you can bear some downtime..do the following in the order

1.Stop VC -> stop Inventory service -> restart sso service

2.Start inventory service->start vc->restart web client

I hope this should fix the issue in worst case

-Suresh
0 Kudos
ramg1967
Contributor
Contributor

Completed Step 1 & 2

Checked time with vcenter, web client and vdp - All in sync 12.48PM

Will leave the appliance for some time to make sure, I don't get same time sync error.

Once everything is working, I will update the remark to this issue "CORRECT ANSWER" shared by you.

Thanks

Ram

0 Kudos
ramg1967
Contributor
Contributor

DP appliance disconnected @ 135PM with same error.  No clue why and what is going on with SSO server,

I hate when this happens.  Why vmware can't give access to DP on vcenter.  Why should, I use web client and deal with SSO. 

I will not use this appliance any more.  Will go with veeam or any other product that is avaialble in the market.

Thanks to your effort...

0 Kudos
Dobey
Contributor
Contributor

What you need to do is a restart of the vmware-tools-services on your vCenter server and make sure that your host is also in sync. After that you can do a restart of vmware-tools on the vdp appliance.

I checked the time on both machines and it had a difference of a couple of seconds. Checked the appliance from the vSphere web client and it started again.

0 Kudos
DanielOlofsson
Enthusiast
Enthusiast

Thanks Dobey!

This workaround solved my problem!!
I have been checking for time drifts all over my cluster but everything was ok.

Exaclty what i did:

SSHed to the vCenter Appliance
# service vmware-tools-services restart

SSHed to the VDP Appliance
# service vmware-tools restart

0 Kudos
Dobey
Contributor
Contributor

Glad to hear that it helped Smiley Happy.. It took me a lot of time to search for this so that's why i posted it here as well.. A lot of ppl where facing this issue but i couldn't find any solution on the internet for it..

0 Kudos
escapem2
Enthusiast
Enthusiast

hi guys

I am having this same issue today all of a sudden.

Time in ESXi are sync.

I run these commands

(vCenter Server virtual appliance)# service vmware-tools-services restart

(VDP virtual appliance)# service vmware-tools restart

but my vCenter appliance get un-sync 2 minutes back.... any idea how to fix that?

thanks a lot

0 Kudos
escapem2
Enthusiast
Enthusiast

I found these logs when trying to sync time in my vCenter

lsassd[5510]: 0x7feeed5eb700:Failed to sync system time [error code: 40075]

May 7 13:46:15 vcenter5 syslog-ng[1245]: Log statistics; dropped=’pipe(/dev/xconsole)=41042′, dropped=’pipe(/dev/tty10)=0′, processed=’center(queued)=120444′, processed=’center(received)=112734′, processed=’destination(messages)=322′, processed=’destination(mailinfo)=0′, processed=’destination(mailwarn)=0′, processed=’destination(localmessages)=0′, processed=’destination(cron)=198′, processed=’destination(mailerr)=0′, processed=’destination(ldapmessages)=112412′, processed=’destination(netmgm)=0′, processed=’destination(warn)=2504′, processed=’destination(console)=2504′, processed=’destination(mail)=0′, processed=’destination(null)=0′, processed=’destination(xconsole)=2504′, processed=’destination(firewall)=0′, processed=’destination(acpid)=0′, processed=’source(src)=112734′

0 Kudos
Rijad
Contributor
Contributor

I have the same problem -2 minute sync between vCenter Appliance and VDP

anybody knows a solution

0 Kudos
Rijad
Contributor
Contributor

Thanks a lot, that helped

regards,

P4cha

0 Kudos