Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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 Member

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 Member

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)