Actions

Difference between revisions of "Watchdog (IP-Station)"

From Zenitel Wiki

(New page: {{stub}} ===Hardware watchdog === ===Software process watchdog === (watchdog service checking that all main processes are running) ===Software application watchdog === (check if link...)
 
(Recovery from a failure situation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{stub}}
+
IP stations software version: 01.05.
  
 
  
 
===Hardware watchdog ===
 
===Hardware watchdog ===
 +
The hardware watchdog is implemented in the IP station's system microprocessor. Once started, the hardware watchdog requires tick updates from software to prevent it from executing a hardware reset. Hardware watchdog timeout is 10 seconds.
  
 
===Software process watchdog ===
 
===Software process watchdog ===
(watchdog service checking that all main processes are running)
+
The software process watchdog (ipst_cmd_srv) is started at the end of the IP station's boot process, before the application processes are started. It starts the hardware watchdog, and then waits for alive signals from the software application processes. As long as these signals are received, it will update the hardware watchdog. If the signals stop, the hardware watchdog is not updated, and will eventually time out.
 +
 
 +
The maximum allowed alive signal interval from the software application processes is defined by the hardware watchdog timeout (10 seconds).
  
 
===Software application watchdog ===
 
===Software application watchdog ===
(check if link to AlphaCom is up etc)
+
There are two software application processes that send alive signals to the software process watchdog:
 +
* ipstweb
 +
* ipstd
 +
 
 +
<b>ipstweb:</b> ipstweb sends alive signal at intervals of 1 second.
  
 +
<b>ipstd:</b> The alive signal from ipstd depends on basic system functionality to work. This ensures that most of the functions in ipstd is operating. If these stop working, the alive signal will stop. Also, if certain critical system-level functions fail to execute, the ipstd application will intentionally exit and the alive signal will stop. The alive signal interval time is 1 second.
  
 
===Recovery from a failure situation ===
 
===Recovery from a failure situation ===
(Recovery from a failure situation if the watchdog detects a  failure e.g.:)
+
When an alive signal is not received from one of the software applications within specified time, the software process watchdog (ipst_cmd_srv) will stop updating the hardware watchdog. The hardware watchdog will then time out, and restart the IP station. The restart takes about 20 to 30 seconds.
*Restart the process
 
*Restart with OS
 
*Power down/up.
 
  
 +
No information is recorded locally about the watchdog reset. It will appear in the AlphaCom exchange as if the station was powered down and powered back up.
  
===System architecture===
+
[[Category:Turbine Technical Articles]]
 +
[[Category:INCA Technical Articles]]

Latest revision as of 14:44, 1 November 2016

IP stations software version: 01.05.


Hardware watchdog

The hardware watchdog is implemented in the IP station's system microprocessor. Once started, the hardware watchdog requires tick updates from software to prevent it from executing a hardware reset. Hardware watchdog timeout is 10 seconds.

Software process watchdog

The software process watchdog (ipst_cmd_srv) is started at the end of the IP station's boot process, before the application processes are started. It starts the hardware watchdog, and then waits for alive signals from the software application processes. As long as these signals are received, it will update the hardware watchdog. If the signals stop, the hardware watchdog is not updated, and will eventually time out.

The maximum allowed alive signal interval from the software application processes is defined by the hardware watchdog timeout (10 seconds).

Software application watchdog

There are two software application processes that send alive signals to the software process watchdog:

* ipstweb
* ipstd

ipstweb: ipstweb sends alive signal at intervals of 1 second.

ipstd: The alive signal from ipstd depends on basic system functionality to work. This ensures that most of the functions in ipstd is operating. If these stop working, the alive signal will stop. Also, if certain critical system-level functions fail to execute, the ipstd application will intentionally exit and the alive signal will stop. The alive signal interval time is 1 second.

Recovery from a failure situation

When an alive signal is not received from one of the software applications within specified time, the software process watchdog (ipst_cmd_srv) will stop updating the hardware watchdog. The hardware watchdog will then time out, and restart the IP station. The restart takes about 20 to 30 seconds.

No information is recorded locally about the watchdog reset. It will appear in the AlphaCom exchange as if the station was powered down and powered back up.