RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
To enable or disable "Self Heal" functionality, use below command:
...
Lists of self heal supported dmcli commands :
S.NO | DMCLI COMMANDS | Description |
---|---|---|
1. | Device.SelfHeal.X_RDKCENTRAL-COM_Enable | Used to enable/disable self heal functionality |
2. | Device.SelfHeal.X_RDKCENTRAL-COM_MaxRebootCount | Used to set the maximum reboot count for rebooting the rpi device once the cpu and memory threshold value was reached as 100(default value). |
3. | Device.SelfHeal.X_RDKCENTRAL-COM_MaxResetCount | Used to set the maximum reset count for connectivity test. for example, if it reaches 3, after that it doesn't stop the lan functionality. If we want , we can increase the reset count also. |
4. | Device.SelfHeal.X_RDKCENTRAL-COM_DNS_PINGTEST_Enable | Using this command to enable the PING function for connectivity tests.By default, it set as TRUE. |
5. | Device.SelfHeal.X_RDKCENTRAL-COM_DNS_URL | Using this command to set the DNS url for PING function for connectivity test , By default, it set as www.google.com |
6. | Device.SelfHeal.ConnectivityTest.X_RDKCENTRAL-COM_PingInterval | Using this command to set the PING interval time for connectivity test . By default, it set as 60. |
7. | Device.SelfHeal.ConnectivityTest.X_RDKCENTRAL-COM_CorrectiveAction | Using this command to enable/disable for Corrective Action for self heal scripts. By default, it set as TRUE. |
8. | Device.SelfHeal.ResourceMonitor.X_RDKCENTRAL-COM_UsageComputeWindow | Using this command to set the resource monitor interval time. By default, it set as 1. |
9. | Device.SelfHeal.ResourceMonitor.X_RDKCENTRAL-COM_AvgCPUThreshold | Using this command to set the AVG CPU threshold value. By default, it set as 100 |
10. | Device.SelfHeal.ResourceMonitor.X_RDKCENTRAL-COM_AvgMemoryThreshold | Using this command to set the AVG Memory threshold value. By default, it set as 100 |
Note :
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.
2. For Resource Monitor Sequence as well as 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.
3. Self heal logs will be created on below folder,
/rdklogs/logs/SelfHeal.txt.0