Redhat : Hostname must be fully qualified error

Williams225
Williams225 used Ask the Experts™
on
Hello, I am trying to setup a Cluster redhat on my Vmware Workstation for training purpose. Unfortunately I have the error bellow regarding my node fully qualified domain name.

Can you please guide me or tell me how to fix this issue?

error
more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.1.10            NodeA

Open in new window



[root@NodeA ~]# more /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=NodeA

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
in the host file you can change the name to

192.168.1.10            NodeA.domainname.com

and this will be your FQDN (Fully qualified domain name
Distinguished Expert 2017
Commented:
In /etc/hosts on both nodes add

Ip _nodea nodea nodea.localdomain.local
Ip_nodeb nodeb nodeb.localdomain.local

Now in the configuration, use the corresponding nodea.localdomain.local and nodeb.localdomian.local for th hostanmes.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial