Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-10834

Restart services automatically after a node reboot

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0
    • None
    • ambari-agent, ambari-server
    • None
    • HDP 2.2

    Description

      When a node reboots for any reason Ambari does not automatically restart the services on that node after it comes back up.

      I think it would be beneficial for the services on that node to be auto-restarted, equivalent to if they were locally controlled via init scripts.

      This could be done via Ambari server re-issuing the start commands if last state was started when the agent comes back in to contact if services are down (the agent is actually auto-started on boot since it's an init script) or the agent itself could maintain the last requested state locally in state files and ensure that the services are restarted if they are down during periodic process checks.

      Hari Sekhon
      http://www.linkedin.com/in/harisekhon

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              harisekhon Hari Sekhon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: