In my old 4-node cluster I can just ping/ssh from one node to an other using it's hostname.
Now I'm moving to a new, fresh installed cluster and this doesn't work (3.4-13 for now, still need OpenVZ)
This just works on my old cluster but not on the new one and I can't figure out why...
Everything else works just fine on that new cluster.
I would expect this is configured in /etc/hosts but it isn't. I'm sure that I could configure it there manually on each node but somehow "vh04" resolves via some other mechanism on my old cluster.
So, how do nodes resolve other nodes hostname?
This is the content of /etc/hosts. It's identical on my old- and new cluster nodes:
Thanks.
Now I'm moving to a new, fresh installed cluster and this doesn't work (3.4-13 for now, still need OpenVZ)
root@vh02:/# ping vh04
ping: unknown host vh04
This just works on my old cluster but not on the new one and I can't figure out why...
Everything else works just fine on that new cluster.
I would expect this is configured in /etc/hosts but it isn't. I'm sure that I could configure it there manually on each node but somehow "vh04" resolves via some other mechanism on my old cluster.
So, how do nodes resolve other nodes hostname?
This is the content of /etc/hosts. It's identical on my old- and new cluster nodes:
root@vh02:/# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.100.0.102 vh02.mydomain.com vh02 pvelocalhost
# 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
ff02::3 ip6-allhosts
Thanks.