[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: 3 host with the same time (syncronizing)
- From: Bob McClure Jr <robertmcclure earthlink net>
- To: redhat-install-list redhat com
- Subject: Re: 3 host with the same time (syncronizing)
- Date: Mon, 4 Mar 2002 09:29:39 -0600
On Mon, Mar 04, 2002 at 12:02:42PM -0300, Edgardo E. Lust K. wrote:
> I have 3 servers with RH 7.0 and is very important for me they have the
> same time.
>
> What can I do?
>
> Thanks in advance
>
> Edgardo
If you haven't already, install the ntp RPM.
Then make a script (I call mine syncdate) to go into /etc/cron.daily.
Here's mine:
#!/bin/sh
ntpdate -s harbor.ecn.purdue.edu && hwclock --systohc --utc
If your hardware clock is not set to UTC, leave off the "--utc"
option.
For a list of time servers you can use, consult
http://www.eecis.udel.edu/~mills/ntp/clock2.htm
If you need closer synchronization that once a day, configure and
start the xntpd daemon from the ntp package. See the man page for
detatils.
Cheers,
--
Bob McClure, Jr. | 1. There is a God.
Bobcat Open Systems, Inc. | 2. It's not you.
robertmcclure earthlink net | 3. He loves you anyway.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]