Support Questions

Find answers, ask questions, and share your expertise

Using Ambari Config-Groups During Install?

avatar
Super Collaborator

Is it possible to use config-groups during install with Ambari and/or Ambari Blueprints?

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@hkropp, @Ali Bajwa, It is possible to define configuration groups when using a Blueprints install.

Configuration in Blueprints can be specified at almost any level (cluster, blueprint, host group).

A "host group" in Blueprints defines a set of components and configuration that can be applied to a host or group of hosts. These actual hosts are mapped in the Cluster Creation Template.

You can specify configuration at the level of "host groups" in the Blueprint or Cluster Creation Template, and this has the affect of only applying these configuration overrides to the machine or group of machines that are mapped to this host group at deployment time.

Specifying configuration at the "host group" level will cause the Ambari Blueprints processor to create Ambari configuration groups to manage that host-specific configuration.

More information on Blueprint syntax and how configurations are applied may be found at:

https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-BlueprintStructure

View solution in original post

3 REPLIES 3

avatar
Master Mentor
@hkropp

Sorry about the confusion on posting answer in the wrong section. Based on my test, I don't think it's possible to create config groups during the install.

avatar

@rnettleton can probably confirm whether this is possible via blueprints. Post-install you can do this via APIs (see here for example)

avatar
Expert Contributor

@hkropp, @Ali Bajwa, It is possible to define configuration groups when using a Blueprints install.

Configuration in Blueprints can be specified at almost any level (cluster, blueprint, host group).

A "host group" in Blueprints defines a set of components and configuration that can be applied to a host or group of hosts. These actual hosts are mapped in the Cluster Creation Template.

You can specify configuration at the level of "host groups" in the Blueprint or Cluster Creation Template, and this has the affect of only applying these configuration overrides to the machine or group of machines that are mapped to this host group at deployment time.

Specifying configuration at the "host group" level will cause the Ambari Blueprints processor to create Ambari configuration groups to manage that host-specific configuration.

More information on Blueprint syntax and how configurations are applied may be found at:

https://cwiki.apache.org/confluence/display/AMBARI/Blueprints#Blueprints-BlueprintStructure