Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-08-01 Thread Martin Burnicki
Sorry for jumping in so late. In my opinion the basic concept of the local clock driver was good, easy to configure, sufficient for small, simple networks, and it just worked as expected in older versions of ntpd. As David Woolley has pointed out in one of his comments, the local clock can

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-08-01 Thread E-Mail Sent to this address will be added to the BlackLists
Martin Burnicki wrote: If in current versions of ntpd the local clock stays selected as system peer after the daemon has started even though good upstream time sources are available, or if it eats up the -g flag after startup so ntpd terminates itself when remote servers become available

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-27 Thread Charles Elliott
: questions-bounces+elliott.ch=verizon@lists.ntp.org [mailto:questions-bounces+elliott.ch=verizon@lists.ntp.org] On Behalf Of Harlan Stenn Sent: Thursday, July 26, 2012 5:41 PM To: bhargav p Cc: unruh; questions@lists.ntp.org Subject: Re: [ntp:questions] Facing some issue in the ntp

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-27 Thread Harlan Stenn
Charles wrote: Thanks for the tip, but where does one find orphan mode from support.ntp.org. A search on the term produces one bug fix report that says orphan mode was improved. Looking in the index under O produces two entries about Our Donors from 2007.

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-27 Thread E-Mail Sent to this address will be added to the BlackLists
Harlan Stenn wrote: Charles wrote: Thanks for the tip, but where does one find orphan mode from support.ntp.org. A search on the term produces one bug fix report that says orphan mode was improved. Looking in the index under O produces two entries about Our Donors from 2007.

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-26 Thread bhargav p
Hi All, Please find my scenario: I have one machinewhich will have multiple blades[nodes] as below: A B C D E Let say A,B,C,D,E are nodes in one machine.. I have configuration such a way that A will contact to the external server for time synchronization and B,C,D,E will contact to

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-26 Thread unruh
On 2012-07-26, bhargav p bhargav.1...@gmail.com wrote: Hi All, Please find my scenario: I have one machinewhich will have multiple blades[nodes] as below: A B C D E Let say A,B,C,D,E are nodes in one machine.. ??? What do you mean they are nodes on one machine? So you mean

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-26 Thread DaveB
In article IjcQr.25769$%y2.10...@newsfe02.iad, un...@invalid.ca says... On 2012-07-26, bhargav p bhargav.1...@gmail.com wrote: Hi All, Please find my scenario: I have one machinewhich will have multiple blades[nodes] as below: A B C D E Let say

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-26 Thread bhargav p
Hi, And we keep telling you to get rid of the local server. And you keep ignoring the advice and plowing on If I get rid of local server for me it is working fine. If i remove the local server it is working fine. Thanks all for the help. -Bhargav On Thu, Jul 26, 2012 at 7:47 PM, unruh

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-26 Thread Harlan Stenn
Bhargav, Lose the local refclock. Use orphan mode instead. Orphan mode is documented in the Support web at support.ntp.org. H ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-26 Thread E-Mail Sent to this address will be added to the BlackLists
Harlan Stenn wrote: Lose the local refclock. Use orphan mode instead. Orphan mode is documented in the Support web at support.ntp.org. At risk of repeating myself way too often; When you have a group of computers on a LAN configured for orphan mode, and they lose contact with remote

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-24 Thread bhargav p
Hi, Thanks for reply. I am confused with what is a leaf node and non-leaf node. It sounds to me that you have effectively removed the local clock entirely. The local clock needs to be treated as a refclock, so that time served remains valid indefinitely. On modern ntpd's, even without orphan

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-24 Thread David Woolley
bhargav p wrote: I am confused with what is a leaf node and non-leaf node. A leaf node is a system running ntpd that does not serve time to any other system. As the main effect of the local clock is to declare the time valid when it would not be valid by the normal rules, it is only

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-24 Thread David Woolley
bhargav p wrote: I am confused with what is a leaf node and non-leaf node. http://en.wikipedia.org/wiki/Tree_(data_structure) ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-24 Thread unruh
On 2012-07-24, bhargav p bhargav.1...@gmail.com wrote: Hi, Thanks for reply. I am confused with what is a leaf node and non-leaf node. A leaf sits at the end of a branch. I presume it is a node on which nothing else depends. Ie, no other machine uses it as a server. It sounds to me that

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-24 Thread bhargav p
My machine is the server for other nodes[blades] in the cluster.So it is not a leaf machine. The main issue is that, if local clock is there there is an issue with the flag check in the peer_unfit ()..If the flag check is not there then even if local configuration is there everything is fine. On

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-24 Thread unruh
On 2012-07-24, bhargav p bhargav.1...@gmail.com wrote: My machine is the server for other nodes[blades] in the cluster.So it is not a leaf machine. The main issue is that, if local clock is there there is an issue with the flag check in the peer_unfit ()..If the flag check is not there then

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-23 Thread bhargav p
Hi, Can anyone explain me this part of code in ntp_proto.c: /* * A distance error for a remote peer occurs if the root * distance is greater than or equal to the distance threshold * plus the increment due to one host poll interval. */ if (!(peer-flags FLAG_REFCLOCK)

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-23 Thread bhargav p
Hi, Thanks for the reply. I have one query regarding this: in the function refclock_newpeer() in the file ntp_refclock.c we are setting the flag for each peer in the hash table as peer-flags |= FLAG_REFCLOCK; So, when the NTP packet is received we will iterate through all the hash trees and

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-23 Thread David Woolley
bhargav p wrote: Coming to actual problem in my scenario, In my conf file i have configured one server address and local[127.127.1.0] address. As for each peer we are Why have you done this? First of all, leaf nodes should never have the local clock pseudo driver defined. Secondly, with

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-18 Thread bhargav p
Hi, without -q option it is able to synchronize after 10-15 minutes. Seems there is a issue with -q option. And with -q option , only 2 NTP packets are getting exchanged between clien and server. Is there any configuration additional I need to add in this NTP version 4.2.6p1 . As NTP-4.2.4p0

[ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-17 Thread bhargav p
Hi All, Could any one help me regarding the below issue which I am facing with the ntp-4.2.6p1 version. I am changing the date of my linux box. For example : initially date is # date Tue Jul 17 14:00:30 EEST 2012 Changing the date to: # date -s 14:05:40 Tue Jul 17 14:05:40 EEST 2012 And after

Re: [ntp:questions] Facing some issue in the ntp version Ver. 4.2.6p1

2012-07-17 Thread E-Mail Sent to this address will be added to the BlackLists
bhargav p wrote: Could any one help me regarding the below issue which I am facing with the ntp-4.2.6p1 version. # date Tue Jul 17 14:00:30 EEST 2012 Changing the date to: # date -s 14:05:40 Tue Jul 17 14:05:40 EEST 2012 And after that I am trying to synch with -q option so that I can