You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure I'm missing a simpler strategy, on howto prepare a new "cluster.yml" file required by this playbook (to be configured in the definition_path), from an exportable CDP (7.1.x / private-cloud) cluster ?
Would be great to get input from Cloudera guys :)
Alternatively, or in addition, it would be highly useful/helpful if much more advanced "cluster.yml" example would be added to the repo (for ex. to deploy a 3-master node HA cluster, as this was nicely done in the former HDP repo: https://github.com/hortonworks/ansible-hortonworks/blob/master/playbooks/group_vars/example-hdp-ha-3-masters-with-ranger-atlas )
Once I learn here in the community, there's indeed no such existing script .. I'm happy to write&contribute myself something
Minimal features:
create the mapping of the contained services to the host-groups
create the mapping of all the found "configs" elements to the key/value pairs in the "cluster.yml" service's "dict" element
(later) nice to have: an option to skip any config values which are/were just defaults from the beginning
many other things .. that are required to make it useable/work?
handling these "refName" values in the sourc template json
Script Input / Output examples
Input file, just small extract (from exported cluster template)
Can give more infos later howto that for people not familiar.
I definitely agree this is a useful thing to have. In theory it shouldn't be too hard to do a naive mapping from an exported cluster template into a cluster.yml, however the things that might be tricky are:
Not all running clusters have host templates, so you may need to re-engineer those
Any configs that are created by the overlays (tls, kerberos, oom/heapdump-settings, logdir settings, etc) would be hard to re-overlay.
We don't currently support custom role groups, so things could fall down slightly there.
But if you fancy a stab I'd be happy to review and contribute. It could probably work quite nicely in j2 and then it's potentially possible to operate a "clone-a-cluster" type feature if we're already integrated with Ansible?
Not sure I'm missing a simpler strategy, on howto prepare a new "cluster.yml" file required by this playbook (to be configured in the definition_path), from an exportable CDP (7.1.x / private-cloud) cluster ?
Would be great to get input from Cloudera guys :)
Alternatively, or in addition, it would be highly useful/helpful if much more advanced "cluster.yml" example would be added to the repo (for ex. to deploy a 3-master node HA cluster, as this was nicely done in the former HDP repo: https://github.com/hortonworks/ansible-hortonworks/blob/master/playbooks/group_vars/example-hdp-ha-3-masters-with-ranger-atlas )
Once I learn here in the community, there's indeed no such existing script .. I'm happy to write&contribute myself something
Minimal features:
Script Input / Output examples
Output file, following the format of cluster.yml, for ex: roles/cloudera_deploy/defaults/basic_cluster.yml
The text was updated successfully, but these errors were encountered: