Support Questions

Find answers, ask questions, and share your expertise

Restart scripts for ambari managed services on server reboot - Supported in Ambari 2.1.2?

avatar
Contributor
 
1 ACCEPTED SOLUTION

avatar
Master Mentor

service auto_restart is officially supported in Ambari 2.5, in Ambari 2.4 you can enable service auto_restart via experimental page. Ambari 2.1.2 does not have auto_restart. More here https://cwiki.apache.org/confluence/display/AMBARI/Recovery%3A+auto+start+components

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@smishra@hortonworks.com You can start with this

The control.sh can be customized to start or stop services before or after the reboot.

avatar
Master Mentor

service auto_restart is officially supported in Ambari 2.5, in Ambari 2.4 you can enable service auto_restart via experimental page. Ambari 2.1.2 does not have auto_restart. More here https://cwiki.apache.org/confluence/display/AMBARI/Recovery%3A+auto+start+components