Support Questions

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

Adding a host to ambari from another DC behind a firewall

avatar
Expert Contributor

Hi,

I have a running HDP 2.5 cluster in AWS, and want to add a few hosts to it from our in-house DC for the sole purpose of having the relevant configuration files to connect to different Hadoop components. No other services will be installed on those hosts.

The hosts have ambari-agent running, I can see that they are known from ambari by looking at /var/log/ambari-server/ambari-server.log

Trying to add them from ambari fails, with the 'helpful' error message:

Registering with the server...
Registration with the server failed.

I cannot find more useful info in /var/log.

Those hosts are thus in another DC, and cannot be accessible directly from outside (they only have private IP addresses, but can connect to outside, including ambari). Is it possible to still add them? If not, is there any workaround to achieve what I am trying to do?

Thanks,

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Trying to get more logs, I did the installation manually via the API, following https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs

Turns out that it seems to work.

View solution in original post

1 REPLY 1

avatar
Expert Contributor

Trying to get more logs, I did the installation manually via the API, following https://cwiki.apache.org/confluence/display/AMBARI/Add+a+host+and+deploy+components+using+APIs

Turns out that it seems to work.