Background
I'm currently investigating how to make Ambari Server run in multiple regions within AWS. I realize that Ambari does not provide this feature out of the box, and so was thinking that I could use something like the following:
- Setup 2 EC2 instances as Ambari Servers (in 2 different regions in AWS)
- Assign a VIP (Virtual IP) and designate 1 of the above servers as the initial owner
- Use keepalived to failover VIP between 2 EC2 instances that both have Ambari Server
- Use DynamoDB to externalize the PostgresSQL DB
- script/command that keepalived would trigger to start up the secondary Ambari Server and stop the primary
My questions
- Does this seem feasible?
- What about the hostname/IP info assigned to the 2 Ambari Servers?
- What about any filesystem details associated to Ambari Server, does this need to be shared across nodes too?
References