I have three nodes with three network interfaces each (one of them is front-ned too):
1G eth0
10G eth1
10G eth2
At the moment all host hostnames are resolving to IP of 1G network(eth0) so all transfer manager operations (VM instantiation, migration etc) are passed via this(slow) network. I would like to use 10G network.
At the moment I am thinkering following solutions:
add node hostname to ‘service network’ IP to /etc/hosts on the front-end
change node hostname to resolve as ‘service network’ IP
Are there other variants to utilize ‘service network’ that I am missing?
Yes, this a typical problem with /etc/hosts and DNS… I would suggest simply renaming the host to something that resolves to the correct IP. Would this be possible at all?
Using DNS is the way to go I believe, at least an ad-hoc dnsmasq running in the frontend. Note that all the hosts need to be able to resolve to each other for (live)migrations to work. Simply doing this in the /etc/hosts of the fronted would not be enough I think.