Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Comparing Clusters' configurations

avatar
Rising Star

Hi,

Just wondering what is the best way to compare configurations for two clusters? Is there any feature available on Ambari UI to do the same? At present I think Ambari cannot support managing multiple clusters. So not sure if this would be possible at all.

Is exporting the cluster configurations as blueprints and then comparing them manually, the only option available? Or are there any better ways to do the same?

Thanks in advance.

1 ACCEPTED SOLUTION

avatar
Guru

Hi, if you just want to compare HDP components configurations you can use a simple shell script to export all configurations on each cluster and vimdiff the 2 files.

I made a very simple script to achieve that, feel free to use/update

https://github.com/laurentedel/hadoop-scripts/blob/master/backup_configs.sh

View solution in original post

12 REPLIES 12

avatar

The below script helps to compare the configs.

https://github.com/Symantec/config-compare

avatar
New Contributor

This is a pretty useful tool. You can compare the entire Ambari blueprints and it generates a tab delimited report of the the differences and similarities between two or more clusters.

avatar
New Contributor

If you are still seeking a solution you could use Orcaconfig to compare dumped XMLs. https://www.orcaconfig.com/compare-configurations/. It's designed to automatically compare configurations in complex environments. Hope this helps you. (yep I work there)