Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Compare settings in different clusters

Highlighted

Compare settings in different clusters

New Contributor

Hi,

we have multiple clusters which are managed by different instances of Cloudera Manager. It would be helpful to compare the complete configuration from the different cluster, i.e. to find out how the monitoring tresholds of service X is set in cluster A and cluster B.

 

I have already managed to receive the complete JSON config (api/v10/cm/deployment), but it does not help much to compare them (even with a specific JSON comparison tool), because it really is a complex file.

 

Does anyone has a good idea or some experience for this scenario?

 

Thanks a lot,

Silvan

3 REPLIES 3

Re: Compare settings in different clusters

New Contributor

Hello Silvan,

 

I'm having the same issue but I'm trying to look at the python apis (https://cloudera.github.io/cm_api/docs/python-client/) to get the configs.

 

But this is not easy. I was wondering if you had any luck finding a solution.

 

Let me know if you can.

 

Thanks,

 

Re: Compare settings in different clusters

Hi Mike,

In Cloudera Manager 5.7 there is a new feature called Cluster Templates. It's not expressly designed for diffing, but by the nature of how it works, it will tend to normalize a lot of variance and likely be reasonable for doing a textual diff between two fairly similar clusters.

Export a template from both clusters and diff them.

You can read about it here:
https://www.cloudera.com/documentation/enterprise/latest/topics/install_cluster_template.html

Thanks,
Darren

Re: Compare settings in different clusters

New Contributor
Hello Darren,

I did see that but was told it was not clusters managed by different CM's.
But I will definitely give it a shot.

Thanks,