I would like to make a very simple installation on a local Linux PC.
So at the Install Options Target Hosts I choosed : localhost.local
I read that it should be a Fully Qualified Domain Name (FQDN) and that it should be localhost.local and not simply localhost
And then I choosed :
Perform manual registration on hosts and do not use SSH
I did perform the manual registration according to
where I put int the ambari-agent.ini file :
[server] hostname=localhost.local url_port=8440 secured_url_port=8441
then at the next install step the Confirming Hosts step is failing.
I had a look at the /var/log/ambari-agent.log file which says :
INFO 2018-07-02 14:54:15,196 PingPortListener.py:50 - Ping port listener started on port: 8670 WARNING 2018-07-02 14:54:20,199 main.py:441 - Unable to determine the IP address of the Ambari server 'localhost.local' INFO 2018-07-02 14:54:20,200 NetUtil.py:70 - Connecting to https://localhost.local:8440/ca WARNING 2018-07-02 14:54:25,205 NetUtil.py:101 - Failed to connect to https://localhost.local:8440/ca due to [Errno -2] Nom ou service inconnu WARNING 2018-07-02 14:54:25,205 NetUtil.py:124 - Server at https://localhost.local:8440 is not reachable, sleeping for 10 seconds...
Please what do you suggest to make it work ??? I only need a very simple installation (no need for ssh and other servers for the moment)
Thanks in advance !
Sure here it is :
127.0.0.1 localhost 127.0.1.1 philippe-All-Series-Invalid-entry-length-16-Fixed-up-to-11 # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Run the below command to get your ip, please append sudo where needed
The above steops should give you the output to add in your /etc/hosts the format is IP/hostname/Alias eg
126.96.36.199 myhdp.ubuntu.com myhdp
With the above entry you can the Alias during the registration of the hosts in Ambari