Re: [Linuxptp-users] Redundant multi-nic PTP slave
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2022-06-13 09:31:03
|
On Mon, Jun 13, 2022 at 09:11:07AM +0200, Gijs Peskens wrote: > In our setup we're required to receive PTP on multiple NIC's for redundancy > reasons, these are MLX5 cards and each port has it's on PHC. Currently the > way it's setup is that we run a separate ptp4l instance for each port. And > run only one phc2sys instance to sync from primary card to system clock. We > currently don't have any scripts around this to control failover behavior or > have tooling to keep a failed instance synced to the working instance. > > What would be the recommended setup for our requirements? Run multiple phc2sys instances configured to not control the clock, but feed another process like chronyd/ntpd which can select good sources and combine them for the synchronization of the clock. With the timemaster program included in linuxptp it is easy to configure. -- Miroslav Lichvar |