ha/service-mgmt/sm/scripts
Bin Qian f39ca95924 Add reattempt and collect more data for SM init failure
Multiple report to AIO-SX that SM failed its intialization due to
a SQL failure. The issue had not been reproduced in DEV environment.
This change adds logging, reattempt and collect SM troubleshooting
data when SM fails in such situation.
For potential recovery before pmon start actively monitoring SM,
setting systemd restart=on-failure. Also set RestartSec=10 seconds
in order to give pmon enough time to catch the failure and restart
SM.

Partial-bug: 1915894
Change-Id: I5899e401742510158cd9c59a664b1dc329bb1075
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2021-03-02 10:32:27 -05:00
..
Makefile Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm-shutdown.service Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.conf Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.logrotate Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.notification Removing unused flag disable_worker_services 2019-11-02 08:34:56 +08:00
sm.notify Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.service Add reattempt and collect more data for SM init failure 2021-03-02 10:32:27 -05:00
sm.shutdown Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.troubleshoot Remove version from sm folder 2019-09-26 14:11:31 -05:00