You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Venkata Donavalli (JIRA)" <ji...@apache.org> on 2015/09/28 17:27:04 UTC
[jira] [Commented] (AMBARI-4016) Ambari Server HA
[ https://issues.apache.org/jira/browse/AMBARI-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933443#comment-14933443 ]
Venkata Donavalli commented on AMBARI-4016:
-------------------------------------------
Instead of failing over and re-registering agent if it would be better to use floating IP and fail-over IP to secondary.
> Ambari Server HA
> ----------------
>
> Key: AMBARI-4016
> URL: https://issues.apache.org/jira/browse/AMBARI-4016
> Project: Ambari
> Issue Type: New Feature
> Components: ambari-server
> Reporter: Peter Shi
> Labels: HA
> Fix For: 2.2.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)