LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2012, 08:01 AM   #1
Jim4522
LQ Newbie
 
Registered: Apr 2010
Location: Salisbury Vermont
Posts: 17

Rep: Reputation: 0
Knowing when a server machine's clock gets reset


Is there anyway to know when a server machine's clock is reset? Or is there anyway to know when the clock was last reset?

For example: if you use VMwares ability to sync the time of the server machines running on a specific server system is there anyway of knowning when VMware does reset the clock of any of those machines or when the last time the clock of a machine was reset?

Jim4522
 
Old 06-16-2012, 08:12 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
NTP logs any changes it makes to the clock and there's specific system calls for time-related stuff so AFAIK an audit rule could fire too when it's tripped?
 
Old 06-16-2012, 03:29 PM   #3
Jim4522
LQ Newbie
 
Registered: Apr 2010
Location: Salisbury Vermont
Posts: 17

Original Poster
Rep: Reputation: 0
UnSpawn,

Do you know if the time sync in VMware tools logs when it makes changes to a clock as you indicate NTP does?

Jim4522
 
Old 06-17-2012, 05:33 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
No I don't. But that's something you could test yourself: just skew the guests clock and see if VMware tools time sync picks it up. Logs to check should be the guests OS syslog, the virtualization client logs and just to make sure the VMware server logs. Please post back the results, reciprocity and all that.
 
Old 06-18-2012, 12:23 PM   #5
Jim4522
LQ Newbie
 
Registered: Apr 2010
Location: Salisbury Vermont
Posts: 17

Original Poster
Rep: Reputation: 0
unSpawn,

I will have the test run that you suggest and post the results but so I am sure I understand one of the terms you use (I am a manager not a tect type) when you suggest checking the guest's OS Syslog I assume this is the syslog of the machine whose clock was changed. What will I have my people look for? Are they looking for an indicator that the clock was changed and the date and time of the change? Jim4522
 
Old 06-18-2012, 01:36 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Hmmm, on second thought please be aware: "VMware recommends you to use NTP instead of VMware Tools periodic time synchronization. NTP is an industry standard and ensures accurate time keeping in your guest." See http://kb.vmware.com/selfservice/mic...rnalId=1006427 and http://kb.vmware.com/selfservice/mic...xternalId=1318
 
Old 06-19-2012, 06:36 AM   #7
Jim4522
LQ Newbie
 
Registered: Apr 2010
Location: Salisbury Vermont
Posts: 17

Original Poster
Rep: Reputation: 0
UnSpawn,

Thanks for that suggestion I will pass it own to my tech people. Two final related questions to end this thread.

If using NTP or VMware tools to sync the clock causes an indication to be logged in the guest OS Syslog do you know if changing the clock manually also causees an indication to be set in that OS Syslog?

What is the easiest way to check the OS Syslog to see if a clock change has occurred on a specific guest?

Jim4522
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Knowing Linux machine state (Screen Lock/unlock) logforlinux Programming 12 10-30-2009 09:19 AM
Knowing Linux machine state (Screen Lock/unlock) logforlinux Linux - General 1 10-27-2009 07:29 AM
How to reset root password without knowing the old one? rdelia Linux - Newbie 10 07-26-2006 04:31 PM
Can't seem to reset KDE taskbar clock m_lp_ql_m Linux - General 10 02-12-2005 09:01 AM
Knowing what's installed on my machine.. brynjarh Linux - Newbie 4 05-25-2004 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration