Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎11-04-2015

Compare settings in different clusters

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

New Contributor
Posts: 5
Registered: ‎07-27-2015

Re: Compare settings in different clusters

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,

 
Cloudera Employee
Posts: 509
Registered: ‎07-30-2013

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
New Contributor
Posts: 5
Registered: ‎07-27-2015

Re: Compare settings in different clusters

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,
Announcements