Hi Ali,

I think this should work:

 * install via blueprint
 * update cluster incrementally
 * export cluster in blueprint format (GET /clusters/:name?format=blueprint)
 * (might need to replace a few properties depending on your services)
 * use exported blueprint for next install

-Attila

On Thu, Jan 25, 2018 at 8:41 AM, Ali Nazemian <[email protected]> wrote:
> Since the incremental update is not supported by blueprint, I was hoping to
> use an Ansible module for Ambari to first install Ambari and then use Ambari
> API calls to install different services one-by-one. What is the recommended
> solution for build and operation automation on Ambari managed-cluster, then?
> How can we make sure after a cluster is built we can update it and create
> another completely identical platform with minimum effort? The blueprint can
> only help if you want to create it for the initial time, but making sure
> that you can manage all the changes automatically and create another
> identical platform easily is almost impossible with Blueprint.
>
> Regards,
> Ali
>
> On Thu, Jan 25, 2018 at 6:32 PM, aman poonia <[email protected]>
> wrote:
>>
>> This might help
>> https://github.com/hortonworks/ansible-hortonworks
>>
>> Also there is a puppet module for ambari in bigtop. That might help you
>> and give you more flexibility but that depends on what you want to achieve.
>>
>> https://github.com/apache/bigtop/tree/master/bigtop-deploy/puppet/modules/ambari
>>
>>
>> --
>> With Regards,
>> Aman Poonia
>>
>> On Thu, Jan 25, 2018 at 12:50 PM, Luciano Resende <[email protected]>
>> wrote:
>>>
>>> Take a look at the following repository:
>>>
>>> https://github.com/lresende/spark-cluster-install
>>>
>>> On Wed, Jan 24, 2018 at 10:59 PM Ali Nazemian <[email protected]>
>>> wrote:
>>>>
>>>> Hi All,
>>>>
>>>> I was wondering whether there is any Ansible module available for
>>>> Ambari. What about Ambari Python client? We want to automate our cluster
>>>> deployment and operations with Ansible, but we couldn't find an Ansible
>>>> module for it yet. Problem is if we use blueprint for this purpose we are
>>>> not able to address incremental updates, so we need to rely on API calls 
>>>> for
>>>> any changes.
>>>>
>>>> Regards,
>>>> Ali
>>>
>>> --
>>> Sent from my Mobile device
>>
>>
>
>
>
> --
> A.Nazemian

Reply via email to