127.0.0.1 loopback localhost
192.168.5.11 mclnode2-adm mclnode2
Above is one of Our HACMP Cluster node(two node HACMP) /etc/hosts file. Please let us know are there are any errors in that.
“_” were used in the host name for server ip “10.1.1.26”, I think underscore is not allowed in hostnames.
eg: 10.1.1.26 mclnode2_boot1
I doubt using dash character in hostname
I think in the entry “192.168.5.11 mohclnode2-adm mohclnode2” is wrong it should be like
eg: “192.168.5.11 mclnode2-adm.abc.com mclnode2-adm”
This topic has been locked.
1 reply Latest Post - 2012-02-22T06:14:02Z by romeo_ninov
Pinned topic need help to verify /etc/hosts file
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-02-22T06:14:02Z at 2012-02-22T06:14:02Z by romeo_ninov
romeo_ninov 110000Q22M31 PostsACCEPTED ANSWER
Re: need help to verify /etc/hosts file2012-02-22T06:14:02Z in response to SystemAdminBy the RFC you can use only leters, numbers and dash in host name and (as I remember) you cant start the hostname with dash. So your supposition is correct. Will be wise to follow the rules, because some software will not run on the machine with such hostname