How do I synchronize clock of two servers

Posted on 2007-10-08
Last Modified: 2013-11-17
i got 2 AIX Servers with OS time differing by 1.5 min.  I want to Sync both Server OS times. Please let me get Solution on This.
Question by:alisher23
    LVL 45

    Accepted Solution

    Hi alisher23,

    Are you familiar with NTP?  Just set them both to sync with a known NTP server, or set one of your servers to sync off the other.

    Good Luck,

    Expert Comment

    ntpdate sets the date and time using the Network Time Protocol (NTP)


    NTP server list -
    LVL 40

    Expert Comment


    Both servers should point to ntp server to synchronize time. If you are just worried about having the same time on both servers regardless of it being accurate (sync to global time), then one server can sync time from the other server.

    Please see the link below to  setup ntp:

    Expert Comment

    I tried this on my AIX server today.

    /usr/sbin/ntpdate -b
    10 Oct 07:30:44 ntpdate[499902]: step time server offset 0.194082

    You could add this to your crontab file to update every 30 minutes.

    30 * * * * /usr/sbin/ntpdate -b > /dev/null
    LVL 16

    Expert Comment

    by:Hanno Schröder
    if you want to quickly synchronize clocks between systems, you can simply use
       # rdate <remote-sys>
    to set your system's clock to the time of remote-sys. See rdate(1) man page.


    Author Comment

    I got it. Thanks for all of you.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now