Xntpd on Solaris 10 gets synchronised with a higher stratum NTP server

The Solaris 10 machine has the following configuration in etc/inet/ntp.conf
server 10.24.179.33 prefer
server 127.127.1.0
fudge 127.127.1.0 stratum 8
The Linux Fedora Core 4 test machine(10.24.179.33 ) configured as NTP server running ntpd V4 has the following configuration
server 127.127.1.0
fudge 127.127.1.0 stratum 10
The solaris 10 xntpd get synchronised to Linux NTP server even though it is at a higher stratum level.
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*10.24.179.33 LOCAL(0) 11 u 18 64 77 2.04 0.084 376.68
LOCAL(0) LOCAL(0) 8 l 17 64 77 0.00 0.000 385.01
The expectation was the solaris machine should not consider the server at a higher stratum level(11) for synchronistation. It should have got synchronised to the Local clock which is at stratum level 8.

I now tried waiting for an hour, but the xntpd id still synchronised to the higher stratum clock from the NTP server 10.24.179.33. Please verify the logs below.
Does the prefer keyword in line "server 10.24.179.33 prefer" has anything to do with this behaviour ?
What does the RFC1305 say on process of selecting a synchronisation source ?
My understanding was that xntpd should not be synchornising with a higher stratum clock from the NTP server (which is at stratum 11) when it already has as another server(here the local clock) which is at a lower stratum (we have simulated this by fudging the local clock to stratum 8).
Please correct me on this.
You have mentioned that "Stratum number is not absolute for choosing a clock. A higher stratum may be preferred in some situations."
Could you explain me more on these situations and I also want to know the rules used by xntpd to choose a clock?
Or you could provide any links where I can read more on this aspect.
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
10.24.179.33 LOCAL(0) 11 u 13 64 1 0.52 -0.001 15875.0
LOCAL(0) LOCAL(0) 8 l 12 64 1 0.00 0.000 15885.0
(WCCONGO02):(root) UTC 1:21:37 VER R-02.01.16.03
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*10.24.179.33 LOCAL(0) 11 u 1 64 77 0.52 -0.244 376.77
LOCAL(0) LOCAL(0) 8 l 64 64 37 0.00 0.000 885.01
(WCCONGO02):(root) UTC 1:26:45 VER R-02.01.16.03
# uname -a
SunOS WCCONGO02 5.10 Generic_127127-11 sun4v sparc SUNW,Netra-T5440
(WCCONGO02):(root) UTC 1:29:44 VER R-02.01.16.03
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*10.24.179.33 LOCAL(0) 11 u 40 64 377 0.61 0.415 0.56
LOCAL(0) LOCAL(0) 8 l 39 64 377 0.00 0.000 10.01
(WCCONGO02):(root) UTC 2:7:56 VER R-02.01.16.03
# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*10.24.179.33 LOCAL(0) 11 u 13 64 377 2.26 1.289 0.66
LOCAL(0) LOCAL(0) 8 l 12 64 377 0.00 0.000 10.01
(WCCONGO02):(root) UTC 2:22:25 VER R-02.01.16.03
Edited by: SujithKS on May 27, 2009 10:34 AM
Edited by: SujithKS on May 27, 2009 11:26 AM

Similar Messages

  • Help with connecting to NIST NTP server on port 123

    I can get NIST time in Daytime format using the rt_nist_date_time.llb example posted on ni.com, but I cannot connect to NIST NTP format time data using port 123.  I freely admit to being over my head with this stuff, and have spent much of this Thanksgiving holiday reading about UDP and TCP.
    The attached vi summarizes what I've tried so far.  The UDP case is what I thought would work, but I can't come up with a network address that the UDP-open vi likes.  Can anyone out there help this n00b tell the time?
    The attached file is supposed to be in 8.0 format, although I'm working in 9.0
    Here is a link discussing the time formats: http://tf.nist.gov/service/its.htm 
    Jeff 
    Solved!
    Go to Solution.
    Attachments:
    UDP.vi ‏17 KB

    jstevens wrote:
    THANK YOU!!!  I don't think I ever would have come up with connecting the web address to a Read or Write UDP rather than the Open UDP block.  Not to mention starting by opening port zero.
    Unlike TCP, UDP is a connectionless protocol. Here's a quick explanation in different words.
    A udp packet travels from a [sourceIP, sourcePort] to a [DestinationIP, destinationPort].
    UDP open basically reserves a local port used for sending (soucePort) and receiving (incoming packet with that same destinationPort). Since some local ports are always in use, you would generate an error if you would accidentally pick a used port. Picking zero is useful for requests (as in this case!), because the OS will pick an unused ephemeral port. The actual source port number does not matter because the NTP server will just send the reply packet back to whatever port it came from. (If you would write your own NTP server in LabVIEW, you would of course need to set the local port to 123, and would get a conflict if another NTP server is already running on your rig). Writing an NTP server in LabVIEW would be a trivial modification to the current code, try it! . Simply listen for packets on port 123, form a response packet based on the timestamp, and send it to whatever IP/Port it came from (that info is available from udp read) and then go back to listen for new requests.).
    UDP write sends a packet to the server using the above opened local port as source port. You can use the same connectionID to write to several other servers and ports, because UDP is connectionless. (TCP is connection based, so a TCP connection involves a defined source/destination pair)
    UDP read listens for incoming packets from all over the world at that same local port. It is very unlikely, but theoretically possible that other UDP packets will arrive at that same port, so you could even filter to make sure to read incoming packets until they match the port and IP of the original request. The current code is somewhat vulnerable to a DOS (denial of service) attack for example as follows: Imagine the guy in the next cubicle had means of sniffing your network traffic. He could write a small program that looks for your NTP requests and then immediately starts flooding your IP with meaningless UDP packets to the sourcePort you just used. The current program only reads one packet and thus will never see the return packet from the NTP server.
    UDP close frees up the local port and the computer is now no longer listening for packets on that port. Of course you could keep the port open for the duration of the program, especially if you intend to send UDP request once in a while during execution.
    Makes sense?
    LabVIEW Champion . Do more with less code and in less time .

  • Anyone got NTP working with a Windows 2008 NTP server?

    Hello,
    I'm trying to sync the time on our routers and swithces with a Windows 2008R2 server, but it doesn't work.  Has anyone managed to do this:
    Config:
    ntp master
    ntp update-calendar
    ntp server 192.168.2.164
    sh ntp associations
      address         ref clock         st   when   poll   reach    delay    offset     disp
    *~127.127.1.1     .LOCL.         7     11     16      377      0.000   0.000      0.225
    ~192.168.2.164  .INIT.          16      -      1024     0       0.000    0.000    15937.
    Windows 2008R2 server
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer]"
    "Enabled"=dword:00000001
    restart server
    w32tm /config /manualpeerlist:uk.pool.ntp.org,0x8 /syncfromflags:MANUAL
    net stop w32time
    net start w32time
    Doesnt work
    Woudl Linux like Ubuntu be better?
    Thanks

    I got this working from a cisco 2911 router to Windows 7 computer.
    As per many articles, you are missing:-
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]"
    "AnnounceFlags"=dword:00000005
    But the one that allows Cisco kit to Sync is:-
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]"
    "LocalClockDispersion"=dword:00000000
    This article http://www.cisco.com/c/en/us/support/docs/ip/network-time-protocol-ntp/108076-ntp-troubleshoot.html talks about having a root-dispersion higher than 1000ms (1 second) causing Cisco IOS-NTP to unsynchronizes itself.
    This article http://htluo.blogspot.co.uk/2009/02/ntp-network-time-protocol.html#comment-form was the only one I found that added to the normal enable ntp server registry keys information, stating to change ‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\LocalClockDispersion’  from 10 to 0
    There was also articles that said that the Windows NTP implementation was version 3, and therefore you had to append ‘version 3’ to the routers ‘ntp server x.x.x.x’ command. This may be perhaps true for earlier windows versions?, but was NOT required for Windows 7.

  • Synchronize with  External NTP server.

    Dear All Good morning,
    Environment:
    SunOS CSF-2 5.10 Generic_138888-03 sun4u sparc SUNW, Sun-Fire-V245 system.
    Sun Cluster 3-2 Two node.
    Question:
    How to Synchronize Cluster timing with external NTP server/device? If external NTP device is down will have any impact in the cluster setup?

    epmuneer wrote:
    Question:
    How to Synchronize Cluster timing with external NTP server/device?The configuration for NTP on Solaris Cluster is explained here:
    [http://docs.sun.com/app/docs/doc/820-4676/cacbdgeg?l=en&a=view|http://docs.sun.com/app/docs/doc/820-4676/cacbdgeg?l=en&a=view]
    and
    [http://docs.sun.com/app/docs/doc/820-4677/cbhijhbh?l=en&a=view|http://docs.sun.com/app/docs/doc/820-4677/cbhijhbh?l=en&a=view]
    If external NTP device is down will have any impact in the cluster setup?You should configure the cluster nodes as peers as well as getting the time from the external NTP server.
    If the external NTP server fails, then time will drift, but at least the cluster nodes keep themselves in sync to have a consistent view.
    Regards
    Thorsten

  • How can I get Aperture to re- synchronise with an external folder

    Does anyone know how to get Aperture to re- synchronise with an external folder?
    I reference my images on an external hard-drive.
    I often will move images or add them via other programs. I would like to then re-sync and have Aperture add the new images to its library.
    Lightroom does this very well but no joy in Aperture.
    Joe Barrett

    OK I know understand your question
    I do this as part of my workflow - I put all images into folders on the hard drive and then import them into Aperture as Referenced Masters
    I select the Library Inspector and select the higher levelProject I want to store the images in (or create a New one)
    Then I go to the
    File
    Import
    Folders as Projects
    Then select the folder tree that you wish to import - BUT ENSURE that you select where you want to store the files.
    I keep them in the current location as I prefer to have referenced files
    also adjust the other import controls as required.
    Then run the import - it may take a while to create the library records ad Thumbnails.
    Use the Aperture Preferences window to switch off Faces.
    Hope this solves your problem

  • HT4623 i have iphone 4 with 4.3.2 version, i want to upgrade the software. but my phone is not getting synchronised on itunes and not getting detected. please help me

    i have an iphone 4 with 4.3.2 version, i want to upgrade the software. but my phone is not getting synchronised on itunes and not getting detected. also there is no update software tab under settings.please help me

    If your phone isn't being recognized by your computer, you need to follow the steps in this article to resolve that
    Also, some basic isolation needs to be done. Does it show up in itunes on any other computers? do you have other cords you can test with to see if it might be the cord? if the phone doesn't show up on any computers, it's likely your phone has a hardware issue
    http://support.apple.com/kb/TS1538?viewlocale=en_US is the article to use if you want to concentrate on trying to get a particular computer to recognize your phone

  • How do I get newly installed Outlook for Mac to synchronise with iMail.

    How do I get newly installed Outlook for Mac to synchronise with iMail?

    Make sure they are connected to server accounts.   Create folders on the server account you can use to copy back and forth between the two.  Use the flag messages feature to ensure that only the messages you need to copy are copied.  IMAP accounts allow for servers with server folders, and local folders.   I don't know much about Exchange.

  • I downloaded movies onto my iPad to watch when I was abroad, I synchronised with my laptop and now they are not on my iPad how can I get them back?

    I downloaded movies onto my iPad to watch when I was abroad, I synchronised with my laptop and now they are not on my iPad how can I get them back?

    If the shows are in fact still on the pad, they will be found in the videos app, not the music or I tunes app.  Look there and see if they are still there.
    If you don't see them there, go to the searchlight screen ( farthest left home page) and type in the name of one of the shows.  If it is on the pad, hiding somewhere, this will find it.
    If they are not there, they should not be using up space.
    To get them back onto your pad, plug in and sync again.  Make sure you transfer purchases first.   Before you sync, take a look at the video tab in your I tunes, and check what you want and don't want synced.

  • How can I find out which .pst or .ost file itunes referres to when synchronising with outlook

    I´ve switched to iphone 4S from my 3Gs and would like to "clean" my itunes Sync before I use the new phone. Problem is, that the synchronisation with Outlook 2003 doesn´t work anymore. I guess the reason is that itunes refers to an old .ost or .pst file on my computer. I ve got several outlook profiles and changed from exchange to pop3. My question: How can I find out which .pst or .ost file itunes referres to?
    Thanks a lot in advance :-)

    Select the tune and then - Get Info - in the dialog box is a note of the Apple ID used to purchase.
    MJ

  • How to restore data (contacts mainly) after synchronising with wrong options

    Hi I hope someone can help me?
    It seems I must have changed the settings of synchronisation with PC Suite, because it suddenly deleted quite a bunch of contacts from my phone!
    Before (unfortunately long ago) I know I synchronised by combining both the PC content and the Phone content.
    Is there a detailed report to get anywhere in the depths of either phone or PC showing not only names, but also the numbers of the contacts deleted?
    I am totally frustrated and could like to eat my phone .....
    PLEASE anyone - is there any help?
    Thanks a lot for your support!
    Kind regards
    derklenepunker

    If you search on the web, there are software programmes which claim to recover deleted data from the phone memory.The extent of success of this recovery will depend on the amount of data saved on your phone after deletion, which gradually ovewrite deleted data and become permanently deleted.You can always contact SE for more information and advice. I don't know about recovering deleted data from PC suite.

  • N95 8GB synchronisation with Outlook 2007

    Cannot get N95 to synchronise with Outlook 2007 Calendar. Do I need new software download? Is it available?

    no u donot require any additional software. This can be done using PC Suite with no additional software.
    Go to PC Suite, start Synchronize. In Synchronize (Nokia PC Sync), goto Settings. In Settings, under the General tab, click on Advanced. Under "Automatic Synchronization", select either synchronize everytime I connect my mobile or Sychronize periodically and select 15min/30min/hourly. Check the checkbox "Launch Nokia PC Sync automatically on Startup"
    Click OK and voila...auto syncing of calendar and contacts with Outlook.
    Articles posted courtesy engadget
    keep us updated about the progress.... if u like wat I have to offer then click on khudos.

  • Solaris 10 on 280R with A1000

    We have loaded solaris 10 ( 3/05) on our server i.e. Sunfire 280R with A1000 storage connected to it thru SCSI cable. We have addon SCSI card installed in server. Our A1000 is having only one controller.
    Afterthat we have loaded sun storage RAID Manager 6.22 software to configure A1000 , we have made slices using RAID 5 & using RM6 utility. While rebooting the server we are getting following two errors & keeps scrolling on screen for about 10 minutes , though we are able to access A1000;
    1. Warning : mod_load : cannot load module 'rdriver'
    2. /kernel/drv/spark9/rdriver:undefined symbol 'dev_get_dev_info'
    Is any solution to above errors? Is any patch / upgrade / firmware etc for above errors ?
    Will it recommended to upgrade to solaris 10 or continue with solaris 9. we are using this as a database server with oracle 10G.

    FYI, I think Sun discontinued support for the A1000 h/w in Solaris 10... should be documented.
    I only mention this in case you want to have Sun support help you... if it works fine, I generally wouldn't worry. But it is a production system, I might have second thoughts about using Solaris 10 with unsupported h/w.
    My $.02, YMMV.
    David Strom

  • Problem synchronizing windows clients with solaris 10 NTP server

    Hello everyone,
    I realyy need help on the following:
    I tried to synchronize windows 2003 as client with NTP server running in Solaris 10
    My Time Zone in the NTP server is GMT+3, and in my windows is also set to GMT+3
    When I start NTP server and clients , I got 6 hours delay between the clients and the server
    I tried to synchronize the Solaris server with another solaris system, the synchronization is working fine
    Your help
    Regards
    Hakim Fourar

    True (but only for later releases). But since he mentioned getting a 6 hour offset after starting them, that makes me think that the systems are communicating, and that the time zones are incorrect.
    This is easily verified by using 'ntpq -p' and 'date ; date -u'. The first will show if the client thinks it is synchronized to a server (and what the UTC offset is in miliseconds). The second will show the date in the default timezone and in UTC.
    If you're not using POSIX, you'd think that GMT+XX meant east of UTC, but for POSIX, it means west of UTC.
    Darren

  • HELP GETTING Started with Sun Access Manager without TEARS.

    I am new to Sun Access Manager.
    I am quite familiar with how Sun Java Identity Manager works.
    The following is the issue I am facing.
    I've downloaded the following images from the sun website
    java_es_05Q4-ga1-solaris-x86-1-iso
    and
    java_es_05Q4-ga1-solaris-x86-2-iso
    I've installed the components on sun solaris 10
    The following components were installed
    /opt/SUNWcomds
    I am not sure what this is for
    /opt/SUNWdsvmn
    I am not sure what it is.
    /opt/SUNWma
    What is this I was expecting SUNWam the access management software!
    /opt/SUNWwbsvr -- This is the Web Server.
    I know how to use it.
    Can anyone tell me on how to go about it?
    Is there any online tutorial for the same.
    What is the difference between sparc version and x86. Can i use any of these on solaris 10?
    Anyhelp getting started would be highly appreciated.
    I am looking at doing the following things.
    ssl,fed, auth, custauth etc
    Thanks a ton in Advance.
    Regards,
    Vinod

    I documented my installation procedure for Access Manager 7.0 (2005Q4) and Portal 7.0. Take a look at my wiki page:
    http://wiki.its.queensu.ca/display/JES/Access+Manager+installation
    It's a two node Access manager Legacy site and I also implemented session-failover using Message Queue and Berkeley Database.

  • Can't get started with Reports

    How do I run 9iAS Reports (Sun Solaris 8)? I am thoroughly lost and confused.
    I've installed 9iDS and am able to start up the jdeveloper. How do I get going
    with Reports? Do I need 9i Database to be installed? Can I use 8i Database?
    I have 8.1.7.3.0 of the Database and 1.0.2.2.0 of the 9iAS installed.
    When I try 9iDS/bin/rwbuilder or rwserver, it says that I'm missing
    the reports.sh file.
    I've spent half a day looking for this kind of information - pleas help!
    Thanks,
    Brian Kulman

    More info: I am able to start the Reports Server by using "reports60_server start"
    from my $IAS_HOME/6iserver/ directory. But I seem to be blind as to what
    the next step is...

Maybe you are looking for