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

Ambari Server HA

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: ambari-server
    • Labels:

      Description

      Our team has a fork of ambari 1.4.1, we need ambari service to be HA.
      But seems currently not supported.

      Whether we can implement ambari HA like this
      1) Deploy 2 ambari-server with it database in 2 machine, say primary and backup;
      2) Sync data from primary database to backup database(using postgresql streaming sync) when have data updated.
      3) Use heartbeat between the 2 ambari-server to discover server_lost event, and make backup server to be primary; and the new backup server stop communicate with ambari-agent
      4) Each agent have 2 ambari-server’s address configurations(or negotiate from zookeeper?), once primary server changed, agent should register to new one.
      5) Backup webui can redirect page to primary one. GET method REST api can access both ambari-server

      My question
      a. Can this works?
      b. Any other information I need sync or restore other than information in database.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shihaoliang Peter Shi
              • Votes:
                9 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated: