Support Questions

Find answers, ask questions, and share your expertise

Does Ambari needs SSH User Equivalance to send the repo file to Ambari agents during Initial installation ?

avatar

I understand SSH user equivalance is needed for installing ambari agent through Ambari UI. If we manage to install ambari agent manually Do we still need password less SSH requirement from Ambari server to Agents to transfer the repo files ?

1 ACCEPTED SOLUTION

avatar

Hey Guys - just trying to summarize so we can wrap this thread up:

Passwordless SSH access is only required if you want to automatically install and bootstrap the Ambari Agent using the Ambari UI.

It is not needed if Ambari Agents are manually installed. The manual installation of the Ambari Agent is documented here as @mahadev@hortonworks.com pointed out: http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/ch_amb_ref...

During the manual installation you will place the ambari.repo as part of the Ambari Agent installation and all other repo's will be deployed as necessary during the installation wizard automatically.

View solution in original post

8 REPLIES 8

avatar
Explorer

Yes you need to setup password less ssh - more info:

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/_set_up_passwo...

You can also setup Ambari agents manually - no password less ssh required:

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/ch_amb_ref...

Hope that helps.

avatar

Thanks @Neeraj. So Ambari needs SSH user equivalence only for Agent install. Can it successfully transfer the repo file to the agents ?

.

avatar

Thanks @mahadev@hortonworks.com

But if i install agents manually without SSH . Do i need to manually transfer the repo files to all agents or ambari server will take care

avatar
Contributor
@jramakrishnan@hortonworks.com

In order to install the ambari-agent on a node without SSH, you have to get the ambari.repo file first.

wget -O /etc/yum.repos.d/ambari.repo http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/latest/trunk/ambaribn.repo

yum install ambari-agent -y

avatar
Master Mentor

No, you don't need password less connectivity as long as you are ok with installing agent manullay in each node.

avatar

Thanks @Neeraj. So Ambari needs SSH user equivalence only for Agent install. With manual install of Ambari agnet , Can it successfully transfer the repo file to the agents without SSH user equivalence ?

avatar
Master Mentor

@jramakrishnan@hortonworks.com Please see this

Yes, we would need repo file in each host.

Step 1 ) Download repo in each host

Link

Step 2) Install agents manually

Link

avatar

Hey Guys - just trying to summarize so we can wrap this thread up:

Passwordless SSH access is only required if you want to automatically install and bootstrap the Ambari Agent using the Ambari UI.

It is not needed if Ambari Agents are manually installed. The manual installation of the Ambari Agent is documented here as @mahadev@hortonworks.com pointed out: http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/ch_amb_ref...

During the manual installation you will place the ambari.repo as part of the Ambari Agent installation and all other repo's will be deployed as necessary during the installation wizard automatically.