Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Adding a host to ambari from another DC behind a firewall

Solved Go to solution
Highlighted

Adding a host to ambari from another DC behind a firewall

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

Accepted Solutions

Re: Adding a host to ambari from another DC behind a firewall

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

Re: Adding a host to ambari from another DC behind a firewall

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

Don't have an account?
Coming from Hortonworks? Activate your account here