Re: IIS Logs & System Clock Sync...?
From: John Alderson (jalderson.spamnot@adelphia.net)
Date: 01/25/03
- Next message: Josh M. Hurd: "FTP Hack (sort of)"
- Previous message: marty blasingame: "Re: ebay"
- In reply to: Dominic: "IIS Logs & System Clock Sync...?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "John Alderson" <jalderson.spamnot@adelphia.net> Date: Fri, 24 Jan 2003 20:04:59 -0500
"Dominic" <corpkid_at@at_bestweb.net> wrote in message
news:07c001c2c3ed$028c9bb0$8ef82ecf@TK2MSFTNGXA04...
> We have several IIS 5.0 boxes that we monitor the logs for
> using NetGenesis software. The need has arisin to keep
> all of the server's clocks in sync, and I was hoping to be
> able to use some sort of "atomic clock" software and just
> schedule a simple "net time" command each night from the
> IIS boxes to this "time box" running the Atomic clock
> software...
>
> The problem being, it would adversely impact the logging
> of the IIS servers when the time was updated on the
> servers...
>
> Does anyone have any advice on how they've pulled this
> off, or better yet, of a utility that is smart enough to
> update log files when it updates the clock?
>
> Thanks in advance.
> Dominic
Dominic,
Use the built-in Windows Time Service to update from an NTP time source.
The Windows Time Service in Windows 2000, as the RK TimeServ utility did in
NT4.0, uses SNTP (Simple NTP) as it's protocol. If you find a time server
in your organization or a publicly available time source on the internet
(you can use time.windows.com but there are others), the Time Service will
keep your clock in sync and therefore you won't need to change log file
times as the skew should be kept < 1sec.
One thing you might want to do to make sure you could see if there was a
large jump in time is set the Log parameter for the service to decimal 100
(0x64). This is located at:
HKLM\System\CurrentControlSet\Services\W32Time\Parameters\Log (DWORD)
This will write 2 entries to the System Event Log every time it syncs time.
One of those entries will give you and indication of the offset.
You can find some more info here:
http://www.johnalderson.com/sntp_win.asp
John Alderson
- Next message: Josh M. Hurd: "FTP Hack (sort of)"
- Previous message: marty blasingame: "Re: ebay"
- In reply to: Dominic: "IIS Logs & System Clock Sync...?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|