Find the answer to your Linux question:
Results 1 to 4 of 4
I am trying to isolate the problem of my Linux RHES severs drifting apart over time. What I would like to do is run a single script to check the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    11

    Time Sync Question


    I am trying to isolate the problem of my Linux RHES severs drifting apart over time. What I would like to do is run a single script to check the date of multiple servers.

    Any idea how I would do this?

    Thanks,
    W

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Are you already keeping them in sync with ntpd or ntpdate?

  3. #3
    Just Joined!
    Join Date
    Mar 2006
    Posts
    11
    Quote Originally Posted by anomie
    Are you already keeping them in sync with ntpd or ntpdate?
    Yes, I am using ntpd to keep them up to date. However, I still notice time drifts between servers.

  4. #4
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    Have you modified your ntpd.conf file to include timeserver it can sync to?
    Also is the ntpd service running?
    service ntpd status


    Also make sure it is set up to start on reboots:

    chkconifg --level 35 ntpd on


    As for checking all the servers at once for date try multixterm if you are in a GUI on Redhat 3/Fedora 4 or higher.

    multixterm "ssh %n" <server1> <server2> <server3> <server4> etc


    This will make several little teminals, one for each server. There will be one window that is different, you may have to expand it. Then click in that special window and type your commads, you may have to log in if you don't have keys on the servers.
    It will execute the commands all at the same time, well really really really close to the same time.
    Good Luck,
    Ski
    RHCT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •