1826896 Members
3685 Online
109705 Solutions
New Discussion

Re: Time Sync

 
Sergey Polyakoff
Occasional Contributor

Time Sync

Hi!
How I can do time synchronization in my local network. I want to use Server K220 clock and my system is HP-UX 10.20
Thank's
Sergey Polyakoff
8 REPLIES 8
Andreas Voss
Honored Contributor

Re: Time Sync

Hi,

this can be done best with xntp.

There are several threads for this feature.
Do a SEARCH (upper left button) with search criteria 'ntp'

Regards
Lasse Knudsen
Esteemed Contributor

Re: Time Sync

You should use xntpd - lot of examples if you search this forum.
In a world without fences - who needs Gates ?
Andreas Voss
Honored Contributor

Re: Time Sync

Hi,

i've searched the forums and think this is a good thread for you:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x65ed6c96588ad4118fef0090279cd0f9,00.html

Regards
federico_3
Honored Contributor

Re: Time Sync

Implement NTP on your ?network?

The mechanism which NTP uses to keep systems clocks in syncronization is the following :

From my point of view it's better for you if you keep two NTP peer servers ( if one of these fails there is the other one for the syncronization) with internal system clock as time source and all the other machines as NTP client . This configuration can be done easily with SAM ( Time -> NTP Network time Sources ) or configuring the files /etc/ntp.conf and /etc/rc.config.d/netdaemons as explained in the man xntpd. After this configuration start the Daemon xntpd ( manually doing /sbin/init.d/xntpd start or with SAM -> Start NTP on action)

You could also do like this:
activate the xntpd daemon on one Server (let's say server1) and in the other ones you have to add a cron entry like this:
0 8,16,0 * * * /usr/sbin/ntpdate -s server1

This way it works fine but from my point of view it's better having two peer servers (As explained in the previous mail) in a such way that if one of the ntp client lose connection to one of the ntp servers it's the other one to give the sync.


Federico

Carlo Henrico_1
Regular Advisor

Re: Time Sync

NTP is great, I use it and then I also downloaded from http://winfiles.com/ a program called "abouttime" which I loaded on my windows servers and workstations which query the HP NTP and set the time the same as the server's time.

I tried numerous 3rd party products and this one is the easiest to use. Simply changed the servers to query the HP server. Very easy to use.
Live fast, die young - enjoy a good looking corpse!
Steve Emig
New Member

Re: Time Sync

I provided a solution to a customer using a product from datum http://www.datum.com/tymserve/
This contained a very accurate clock and a GPS antenna. Once this is setup there is little if any administration and you don't have to pass a firewall to sync. The entire solution is under 5K. I haven't heard back from the customer so if anyone has had experience with product I'd like to know.
It is better to do "something" wrong than to do "nothing" right.
Bill Hassell
Honored Contributor

Re: Time Sync

SAM will allow you to setup NTP quite easily. Look for the Time section in the main menu. Note that many firewalls/gateways offer NTP source (synced to one/many Internet colocks) which eliminates the need for a local clock source.


Bill Hassell, sysadmin
Fedon Kadifeli
Super Advisor

Re: Time Sync

Use one of your servers which has Internet access as a local time server and configure the other servers to get time from your local time server. For example,

* /etc/ntp.conf file in my "local time server" contains the following:

server tick.usno.navy.mil version 3 prefer
server tock.usno.navy.mil version 3
server india.colorado.edu version 3
broadcastclient no
authenticate no
server ben.cs.wisc.edu version 3
server bigben.cac.washington.edu version 3

* /etc/ntp.conf in the other servers contains:

server XXXXXX version 3 prefer

where "XXXXXX" is the name or IP address of your local time server.