RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Info |
---|
This Page is under Development |
Selfheal is another feature implemented in Test And Diagnostic Component. SelfHeal is a Process monitoring and recovery module.
...
Please ensure that below Self heal scripts are present on the device at the path "/usr/ccsp/tad".
resource_monitor.sh
task_health_monitor.sh
corrective_action.sh
...
self_heal_connectivity.sh
Resource MonitoringResource Monitoring:
"resource_monitor.sh" script is used for monitoring Memory and CPU usage.Monitors the resources periodically (eg: 60 seconds). If "Average Memory Used" reaches threshold value, reboot action will be executed.
For Resource Monitor Sequence ,
i) First cycle onwards - sleep will calculate based on below commands
Device.SelfHeal.ResourceMonitor.X_RDKCENTRAL-COM_UsageComputeWindow *60 . For example : By default, RMInterval value as 1 . so, sleep will be 60.
Process Monitoring:
Important points to remember :
For task monitor sequence,
i) First cycle onwards - sleep will calculate based on below commands
Device.SelfHeal.ResourceMonitor.X_RDKCENTRAL-COM_UsageComputeWindow *60 . For example : By default, RMInterval value as 1 . so, sleep will be 60.
Connectivity Test
"self_heal_connectivity_test.sh" script is used for ping test.Ping test will be done through server IP/URI (this needs to be configured). If server IP/URI is not configured, Ping test won't be executed and no action will be taken. If server is configured and ping test fails, device will stop the LAN functionality.
For Connectivity Test sequence ,
i) After boot-up,Very First cycle - random sleep functionality call was called.
II) Second cycle onwards - sleep will calculate based on below commands
Device.SelfHeal.ConnectivityTest.X_RDKCENTRAL-COM_PingInterval - value of this command * 60 . For example : By default, PingInterval value as 60 . so, sleep will be 3600.
<Architecture Diagram>
...