Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Raspberry Pi the functionality of self-heal feature is provided by systemd.


Code Flow

draw.io Diagram
diagramName
Gliffy Diagram
macroId1876289a-2afc-43ff-a0e4-66bc8940adee
nameCODE FLOW 1.drawio
pagePinrevision1

Resource Monitoring - resource_monitor.sh

Gliffy Diagramdrawio
namediagramNameRESOURCE MONITORING DIAG.drawio
pagePinrevision1

  • resource_monitor.sh monitors the Memory and CPU usage
  • Average memory and CPU thresholds will be obtained from syscfg.db (default avg_cpu_threshold:100, avg_memory_threshold:100)

...

Process Monitoring - task_health_monitor.sh

draw.io Diagram
diagramName
Gliffy Diagram
macroIdd81248cc-2981-40dd-a5ff-4c18fee5887f
nameprocess monitoring.drawio
pagePinrevision1

  • task_health_monitor.sh monitors the status of various taks periodically and takes the corrective action
  • Default monitoring interval is 15mins and can be modified using resource_monitor_interval in syscfg.db
  • Monitors
    • Health of peer processor, in case of dual core processors
    • Other tasks added as part of the script
  • New tasks can be added by editing the script

...

Connectivity Test - self_heal_connectivity_test.sh

Gliffy Diagramdrawio
diagramName
macroIdf5f23243-5131-416c-a9ab-eaf580924de7
nameconnectivity test.drawio
pagePinrevision31

  • Self_heal_connectivity_test.sh will run Ping and DNS tests.
  • ConnTest_PingInterval in syscfg.db specifies the frequency of the connectivity test.
  • If nothing specified, it is 60seconds by default.

...