Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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