Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

xntpd config help on 2 SCO 5.05 boxes

0 views
Skip to first unread message

lec maj

unread,
Mar 2, 2000, 3:00:00 AM3/2/00
to

I have 2 Sco 5.05 boxes and wanted to syncronize them in time. They are
on a local lan and there is no connection to outside world. There is one
trick though. If either machine ever dies it has to come up and get the
time from the other one that was already up. So that means that somehow
both have to be master and slave at the same time.

I am mainly concerned on how i should set up the /etc/ntp.conf

Thank you
Lec


Stephan Rothstein

unread,
Mar 3, 2000, 3:00:00 AM3/3/00
to

I think I would consider using ntpdate running in cron on both machines
pointed at the other system. On my network, I use it once each day but
you can set them to run more often if better synchronization is needed.
Then in each start up you could add a line to sync to the other. I
would probably add a file named S99sync in the /etc/rc2.d directory with
the ntpdate command.


Note that ntpdate won't work if xntpd is running, check man for both.

Hope that is some help.

Steve Rothstein

zps

unread,
Mar 6, 2000, 3:00:00 AM3/6/00
to
Tue, 02 Мар 2000, lec maj wrote:

> I have 2 Sco 5.05 boxes and wanted to syncronize them in time. They are
> on a local lan and there is no connection to outside world. There is one
> trick though. If either machine ever dies it has to come up and get the
> time from the other one that was already up. So that means that somehow
> both have to be master and slave at the same time.
>
> I am mainly concerned on how i should set up the /etc/ntp.conf

I think the perfect choice in your situation is just not using xntpd but
timed with option -M. Without any tricks.

Am I wrong?

Best wishes, Alexandr Demeshko

lec...@my-deja.com

unread,
Mar 13, 2000, 3:00:00 AM3/13/00
to
I think i have it working well with xntpd, syncronizying very nicely every
night.

One thing that i was puzled about, if i do right after bootup of both machines

ntpq -p

i get the master information, and the ip 127.127.1.1, but i do not get the "
* " in front of it. Now, after reading the man pages on xntpd multiple times
it seems that xntpd will not work properly and will not accept ntpdate if the
" * " is not there. Within 20 mins the " * " comes up and all works well.

Is there a timeout somewhere that i need to set to 0, not to sure what time
out thought, -t maybe? Right now my command for start up of xntpd looks like
this:

/etc/xntpd -c /etc/ntp.conf

ntp.conf has a server 127.127.1.1 and broadcast to local subnet that both
machines are on.

Regards,
Lec


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> I think I would consider using ntpdate running in cron on both machines
> pointed at the other system. On my network, I use it once each day but
> you can set them to run more often if better synchronization is needed.
> Then in each start up you could add a line to sync to the other. I
> would probably add a file named S99sync in the /etc/rc2.d directory with
> the ntpdate command.
>
> Note that ntpdate won't work if xntpd is running, check man for both.
>
> Hope that is some help.
>
> Steve Rothstein
>

Sent via Deja.com http://www.deja.com/
Before you buy.

Matthew Schalit

unread,
Mar 13, 2000, 3:00:00 AM3/13/00
to
lec...@my-deja.com said...


Sorry for jumping in, but I got myself really confused when I
was first learing ntpdate and xntpd. I was trying to
mess with the xntpd while it was running, but I was always
using the wrong app! Use xntpdc, not ntpq :)
I don't think they're interchangeable.

Cheers,
Matthew


0 new messages