Support Questions

Find answers, ask questions, and share your expertise

Disable OS Check during Ambari Registration

avatar
Contributor

I see the answer below on another post, but HOW does one actually disable the OS Check during the deployment phase.

I have a HDP 2.5 running on RHEL7. I'm just trying to register a RHEL6 node only to install client tools, no services.

https://community.hortonworks.com/questions/18479/how-to-register-host-with-different-os-to-ambari.h...

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Hugo Schieck even though it is technically possible, it is not recommended by engineering. Here's another post you can review for your query https://community.hortonworks.com/questions/4324/hdp-support-for-mix-of-os-releases-within-a-cluste.....

What I do recommend and I know works is the following, https://community.hortonworks.com/articles/52844/hdp-clients-with-multi-version-and-multi-os-suppor....

Basically, skip ambari-agent on that node and install clients manually by copying the OS-specific repo and pulling the libraries you choose. You only need to also copy site.xml files for those clients to your node. What this gives you is flexibility and ability to run on any flavor of Linux that we support. The hassle is that you have to do it manually. Good luck!

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@Hugo Schieck even though it is technically possible, it is not recommended by engineering. Here's another post you can review for your query https://community.hortonworks.com/questions/4324/hdp-support-for-mix-of-os-releases-within-a-cluste.....

What I do recommend and I know works is the following, https://community.hortonworks.com/articles/52844/hdp-clients-with-multi-version-and-multi-os-suppor....

Basically, skip ambari-agent on that node and install clients manually by copying the OS-specific repo and pulling the libraries you choose. You only need to also copy site.xml files for those clients to your node. What this gives you is flexibility and ability to run on any flavor of Linux that we support. The hassle is that you have to do it manually. Good luck!

avatar
Contributor

This worked for me:

https://community.hortonworks.com/articles/52844/hdp-clients-with-multi-version-and-multi-os-suppor....

As stated it is a manual workaround, but fine for my non-production use case.

Thanks!

avatar
Super Collaborator

Well, after taking a look at the python script, I see the following:

if current_os == cluster_os:
	sys.exit(0)
else:
	raise Exception(...

So, I expect that you could comment the statement in the else clause, or have the same condition in the if and else clauses.