1748014 Members
4814 Online
108757 Solutions
New Discussion юеВ

Re: Time syncronization

 
SOLVED
Go to solution
Patrick Chim
Trusted Contributor

Time syncronization

Hi all,

1. May I ask how to syncronize the time between two HP servers running HP-UX 11.0 ?
2. Does HP provide any software or is there any freeware on the internet so that I can syncronize the time between an HP server and a RedHat server no matter they are on the same subnet or not (of course they can telnet to each other)?

Thank you for your kind attention !

Patrick
7 REPLIES 7
Kofi ARTHIABAH
Honored Contributor

Re: Time syncronization

Patrick, what you want to do is to run ntp. there have been a number of discussions on the forums on configuring ntp - do a search in the forums for ntp -to start you off check:



http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x05dff841489fd4118fef0090279cd0f9,00.html


http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x65ed6c96588ad4118fef0090279cd0f9,00.html

redhat also supports ntp - you would have to download the rpm file for xntp

good luck
nothing wrong with me that a few lines of code cannot fix!
Peggy Fong
Respected Contributor

Re: Time syncronization

Well xntpd is available on 11.0 and you should be able to set it up using SAM. HP now includes xntp as standard distribution with the OS. From the man page:
xntpd is a daemon which maintains a UNIX system's time-of-day in agreement with Internet standard time servers.

HTH
Peggy
Philip Chan_1
Respected Contributor

Re: Time syncronization

Hi Patrick,

Just a quick start for you. Let say you got two servers called "time_server" and "time_client", and that you want "time_client" to sync. with the system time of "time_server".

Steps,

1. in time_server, create the file /etc/ntp.conf containing the line "server 127.127.1.1"

2. in time_client, create the file /etc/ntp.conf containing the line "server time_server version 3"

3. to both time_server and time_client, edit the file /etc/rc.config.d/netdaemons, change the XNTPD varible to 1.

4. to both time_server and time_client, start xntpd (network time protocol daemon) by entering "/sbin/init.d/xntpd start"

Then time_client will start to synchronize with time_server.

Rgds,
Philip
Karthik_2
Regular Advisor

Re: Time syncronization

To add u can use more than 1 time server over internet to increase the level of accuracy .
Startum 1 servers are said to be the most accurate servers.There are even hardware available which you can install in the host and get the time relayed by a GPS or a radio resource.

Karthik...
Its ALL in the MATRIX
Michael Lee_4
Advisor

Re: Time syncronization

try `ntpdate`
augusto cossa
Frequent Advisor
Solution

Re: Time syncronization

Patrick,

On the time server do:

1 - Run SAM
2 - Time
3 - NTP Broadcasting
4 - Fill in the Clinte server IP Address
5 - Choose Action
6 - Start NTP

On the cliente server do:

1 Run SAM
2 - Time
3 - NTP Network Time Source
4 - Choose Action
5 - Add remote server or peer..
6 - Fill in the time server IP Address
7 - Choose again Action
8 - Start NTP

Hope it's help

Augusto
CHRIS ANORUO
Honored Contributor

Re: Time syncronization

Augusto, you did not give marks in your previous thread.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.