Apache WIKI has the following topic show casing how you may deploy a NN HA cluster via blueprint.
Blueprint deployment is via REST API and can be automated so long as you have a rest client. https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters#BlueprintSupportforHAClusters-ConfiguringActiveandStandbyNameNodes On Fri, Apr 7, 2017 at 2:08 AM, Sandy <[email protected]> wrote: > Currently through AMBARI UI we need to take following route to create a > cluster > 1. Create a Cluster (only ZK and HDFS) with Non-HA NameNode > 2. Make NameNode HA (using some manual steps in-between) > > Is there a way to achieve the same using REST APIs so that we don't have to > do any manual steps in-between (a solution that can be used for multiple > environments where each env may have different number of machines)? > > -- > > *Sandeep Kumar,* > Mobile +91-9866507368 > > *“Happiness is not a destination, It is the journey”* >
