Miroslav

Thanks for the quick response. Jake responded to my 'phc2sys' question earlier 
which was really appreciated as well (regarding the removal of the GrandMaster 
in the configuration of network).


So let me see if I understand you correctly, if the system of say 6 devices on 
a local network are all started with 'timemaster' and the GrandMaster is 
removed (i.e., the device has to be serviced or fails) then 'timemaster' in the 
background will detect this and restart everything and the device that becomes 
the GrandMaster will begin providing clock updates to NTP or receiving clock 
correction from NTP?

In the network configuration I am looking at creating each system will be 
capable of being the NTP server (ntpd demon can be started) and then using 
'timemaster' to create the end-to-end configuration for precise timing.

Thanks,
Harold

-----Original Message-----
From: Miroslav Lichvar [mailto:mlich...@redhat.com]
Sent: Monday, August 17, 2015 6:01 AM
To: Harold Lapprich <hlappr...@pixel-velocity.com>
Cc: Keller, Jacob E <jacob.e.kel...@intel.com>; 
linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] Grandmaster Auto-Negotiation and Reconfiguration 
of phc2sys to ptp4l Synchronization

On Fri, Aug 14, 2015 at 06:01:49PM +0000, Harold Lapprich wrote:
>
> Mlichvar,
>
> Working through the configuration issues needed for a PTP configuration to 
> auto-negotiate the GrandMaster at power-up that is receiving/suppling system 
> clock to a NTP/chronyd server. Want to create a configuration that is 
> autonomous and will recovery if the GrandMaster is ever taken out of service 
> (2 diagrams follow to provide clarity).

I'm not sure what issues are you having with the PTP master selection. The Best 
Master Clock algorithm, which selects the master, is always running in ptp4l. 
When the currently selected master disappears, a new master should be selected 
automatically.

> It appears that the linuxptp applications (phc2sys, ptp4l, pmc, and 
> timemaster) can be configured to create an autonomous system, can you please 
> provide insight on how 'timemaster' and perhaps 'phc2sys' would need to be 
> configured?

When using timemaster, you need just one configuration file and timemaster will 
generate configuration for all other programs involved (chrony/ntpd, ptp4l, 
phc2sys) and start them automatically. The timemaster man page has some 
examples.

Assuming you want the system clock to be synchronized by chronyd, using a PTP 
domain as the only time source and serving time over NTP to clients, the 
timemaster configuration file could be:

[ptp_domain 0]
interfaces eth0

[chrony.conf]
makestep 1 3
rtcsync
allow
driftfile /var/lib/chrony/drift

--
Miroslav Lichvar

------------------------------------------------------------------------------
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to