- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
can we register a new host with IP not a FQDN
Created ‎08-07-2018 03:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can we register a new host with IP not a FQDN ?
Created ‎08-07-2018 04:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Saurabh ,
Its not possible to register a host with IP.its suggested to use the FQDN so that it will be easy to change ip in /etc/hosts if IP changes in future.
IF you try to give the IP in Add Host wizard it will show this coresponding error message :
The following hostnames are not valid FQDNs:
172.26.69.17
This may cause problems during installation. Do you want to continue?
Later the registration will fail with below error message
Registering with the server... Registration with the server failed.
you wont find any errors in ambari-server logs.
Then I tried with FQDN of corresponding IP . its success.
Hope this helps.
If you find this answer helpfull please mark as accepted which will help other users.
Created ‎08-07-2018 04:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Saurabh ,
Its not possible to register a host with IP.its suggested to use the FQDN so that it will be easy to change ip in /etc/hosts if IP changes in future.
IF you try to give the IP in Add Host wizard it will show this coresponding error message :
The following hostnames are not valid FQDNs:
172.26.69.17
This may cause problems during installation. Do you want to continue?
Later the registration will fail with below error message
Registering with the server... Registration with the server failed.
you wont find any errors in ambari-server logs.
Then I tried with FQDN of corresponding IP . its success.
Hope this helps.
If you find this answer helpfull please mark as accepted which will help other users.
Created ‎08-09-2018 05:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Saurabh ,
Please login and mark this answer as accepted if you found it helpfull 🙂
Created ‎08-09-2018 06:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Saurabh use your /etc/hosts file to set a FQDN to the ip address within the ambari-server and all nodes. This will do the same thing as actually registering the DNS and IP publically within the scope of your cluster.
Using /etc/hosts you can make the FQDN to be whatever you want:
[ambari@ks3503-D050 ~]$ cat /etc/hosts 108.100.46.50 ks3503-d050 ks3503-d050.domain.com 108.100.46.51 ks3503-d051 ks3503-d051.domain.com 108.100.46.52 ks3503-d052 ks3503-d052.domain.com 108.100.46.53 ks3503-d053 ks3503-d053.domain.comAccept this answer if this /etc/hosts solution helps you.
