Actions

Difference between revisions of "Time synchronization"

From Zenitel Wiki

Line 1: Line 1:
{{A}}
+
{{AI}}
The [[AlphaCom clock|realtime clock]] of the AlphaCom XE (as with any other computer device) is not accurate, and might drift over time. The clock will drift due to fluctuations in the frequency oscillating the quartz crystal on the AMC-IP board. The realtime clock can be synchronized in several ways.
+
The [[AlphaCom clock|realtime clock]] of the ICX-AlphaCom (as with any other computer device) is not accurate, and might drift over time. The clock will drift due to fluctuations in the frequency oscillating the quartz crystal on the AMC-IP or ICX-500 board. The realtime clock can be synchronized in several ways.
 
==NTP server==
 
==NTP server==
The AlphaCom can synchronize its real time clock with Network Time Protocol (NTP) time servers on the IP network. The syncronization is taking place once every hour. To activate the feature, define the IP address of a valid NTP server in the [[AlphaWeb#Time_and_Date|Time and Date settings]] in AlphaWeb.
+
The ICX-AlphaCom can synchronize its real time clock with Network Time Protocol (NTP) time servers on the IP network. The synchronization is taking place once every hour. To activate the feature, define the IP address of a valid NTP server in the [[AlphaWeb#Time_and_Date|Time and Date settings]] in AlphaWeb.
  
If the AlphaCom is connected to the internet, you'll find a list of NTP servers here: http://support.microsoft.com/kb/262680
+
If the ICX-AlphaCom is connected to the internet, you'll find a list of NTP servers here: http://support.microsoft.com/kb/262680
  
 
[[Image:NTP1.png|thumb|400px|left|Synchronizing using a NTP server]]
 
[[Image:NTP1.png|thumb|400px|left|Synchronizing using a NTP server]]
Line 11: Line 11:
 
The NTP uses port 123. This port must be opened on external firewall or router to ensure proper communication with the NTP server.
 
The NTP uses port 123. This port must be opened on external firewall or router to ensure proper communication with the NTP server.
  
{{Note|The NTP Server must use Stratum between 1 and 4. If stratum is 5 or higher, the NTPd in AlphaCom will switch to "Orphan Mode". See [http://support.ntp.org/bin/view/Support/OrphanMode OrphanMode] for more details}}
+
{{Note|The NTP Server must use Stratum between 1 and 4. If stratum is 5 or higher, the NTPd in ICX-AlphaCom will switch to "Orphan Mode". See [http://support.ntp.org/bin/view/Support/OrphanMode OrphanMode] for more details}}
  
== ICX or AlphaCom as NTP Server ==
+
== ICX-AlphaCom as NTP Server ==
The ICX or AlphaCom can act as an NTP server, once it has been configured to connect to an NTP Server.  This allows for the ICX or AlphaCom to connect to an NTP Server on the Admin port, and provide NTP Services to the VoIP port.
+
The ICX-AlphaCom can act as an NTP server, once it has been configured to connect to an NTP Server.  This allows for the ICX-AlphaCom to connect to an NTP Server on the Admin port, and provide NTP Services to the VoIP port.
  
 
The onboard NTP Server is activated automatically when a valid NTP Server is configured.
 
The onboard NTP Server is activated automatically when a valid NTP Server is configured.
Line 25: Line 25:
  
 
==Calibrate the Realtime Clock==
 
==Calibrate the Realtime Clock==
If there is no NTP Server available at site where the AlphaCom server is to be installed, there is an option to temporarily connect the AlphaCom to a network with NTP Server during commisioning (e.g. in the workshop before shipping to end customer). [[AlphaWeb#Time_and_Date|Configure the AlphaCom]] to syncronize the time to this NTP server. Now the AlphaCom clock will be compared to the NTP time, and a "drift file" will be created that contains an offset value. One should leave the AlphaCom connected to the NTP network for at least 24 hours to get the best value in the drift file. When the AlphaCom is moved to a network without NTP Server, it will use this offset value to correct the real time clock in AlphaCom.
+
If there is no NTP Server available at site where the ICX-AlphaCom server is to be installed, there is an option to temporarily connect the ICX-AlphaCom to a network with NTP Server during commissioning (e.g. in the workshop before shipping to end customer). [[AlphaWeb#Time_and_Date|Configure the AlphaCom]] to synchronize the time to this NTP server. Now the ICX-AlphaCom clock will be compared to the NTP time, and a "drift file" will be created that contains an offset value. One should leave the ICX-AlphaCom connected to the NTP network for at least 48 hours to get the best value in the drift file. When the ICX-AlphaCom is moved to a network without NTP Server, it will use this offset value to correct the real time clock in ICX-AlphaCom.
 
 
To verify that the AlphaCom has calculated the drift, you can check from the [[Linux Console]] that the file "ntp.drift" contains a number value:
 
 
 
bash-3.2$ cat /var/run/ntp.drift
 
98.990
 
 
 
{{note|It may take a few hours from you define the NTP Server in AlphaWeb until the drift file "ntp.drift" is created }}
 
  
 +
To verify that the AlphaCom has calculated the drift, you can check the Time and Date settings page
 
==GPS network==
 
==GPS network==
  

Revision as of 06:59, 30 March 2022

AI.png

The realtime clock of the ICX-AlphaCom (as with any other computer device) is not accurate, and might drift over time. The clock will drift due to fluctuations in the frequency oscillating the quartz crystal on the AMC-IP or ICX-500 board. The realtime clock can be synchronized in several ways.

NTP server

The ICX-AlphaCom can synchronize its real time clock with Network Time Protocol (NTP) time servers on the IP network. The synchronization is taking place once every hour. To activate the feature, define the IP address of a valid NTP server in the Time and Date settings in AlphaWeb.

If the ICX-AlphaCom is connected to the internet, you'll find a list of NTP servers here: http://support.microsoft.com/kb/262680

Synchronizing using a NTP server


The NTP uses port 123. This port must be opened on external firewall or router to ensure proper communication with the NTP server.

Note icon The NTP Server must use Stratum between 1 and 4. If stratum is 5 or higher, the NTPd in ICX-AlphaCom will switch to "Orphan Mode". See OrphanMode for more details


ICX-AlphaCom as NTP Server

The ICX-AlphaCom can act as an NTP server, once it has been configured to connect to an NTP Server. This allows for the ICX-AlphaCom to connect to an NTP Server on the Admin port, and provide NTP Services to the VoIP port.

The onboard NTP Server is activated automatically when a valid NTP Server is configured.

The NTP Port must be added to the Filters page and enabled for the interface required.

Add a UDP port 123, and enable.

Icx ntp server.png


Calibrate the Realtime Clock

If there is no NTP Server available at site where the ICX-AlphaCom server is to be installed, there is an option to temporarily connect the ICX-AlphaCom to a network with NTP Server during commissioning (e.g. in the workshop before shipping to end customer). Configure the AlphaCom to synchronize the time to this NTP server. Now the ICX-AlphaCom clock will be compared to the NTP time, and a "drift file" will be created that contains an offset value. One should leave the ICX-AlphaCom connected to the NTP network for at least 48 hours to get the best value in the drift file. When the ICX-AlphaCom is moved to a network without NTP Server, it will use this offset value to correct the real time clock in ICX-AlphaCom.

To verify that the AlphaCom has calculated the drift, you can check the Time and Date settings page

GPS network

GPS (Global Positioning System) is a world-wide satellite system that operates a time scale and transmits information for synchronizing to UTC (Coordinated Universal Time) with extreme high accuracy. The AlphaCom can syncronize its real time clock with a Master Clock which receives its time from GPS satelittes. The Master Clock 70000L has an embedded NTP server, to which the AlphaCom synchronizes.

Synchronizing using GPS network


Radio signal

DCF 77 signals transmitted from Germany is the most frequently used signal in Europe. The signal is sent every minute and comprise minute, hour, year and date.

In France the national TDF transmits signals for time synchronization and in Great Britain the MSF-Rugby sends similar signals for synchronization. RDS is a signal transmitted over the FM band in Scandinavia.

Many other European countries have national signal system which includes time data and which can be used for time synchronization.

Close contact

If the AlphaCom gets a contact closure at a fixed time once a day, the contact can be connected to a Remote Control Input RCI, which can be configured to set the time using the $SST command.

When RCI 1 is activated, set the time to 04:30:00


Via the ACDP protocol

The clock of the AlphaCom can be set from external equipment (PC, Management System etc.) communicating with the AlphaCom over the ACDP protocol.

The message SET SYSTEM TIME ($SST) is used for this purpose.