David Raffelt
2013-Dec-16 05:55 UTC
[Gluster-users] Direct ethernet link between all peers
Hi All, I'm currently setting up a distributed volume over 3 peers (each peer is a compute server with multiple Ethernet ports). I would like to connect each peer to all other peers with a direct connection, so that traffic between peers does not affect external network traffic (e.g. accessing the volume via other clients). I currently have each direct connection on its own subnet. And the /etc/hosts file on each peer configured accordingly. However when I add the 3rd peer using "gluster peer probe server3", the hostname displayed using "gluster peer status" on server2 shows the wrong IP address for server1 (as it is based on the IP address of the interface connecting server 1 and 3. To correct this, is it safe to manually edit the hostname in the /var/lib/glusterd/peers/UUID file? The other solution would be to have a separate switch/network for internal traffic. However I figure a direct connection between each peer will be faster. Thanks in advance! Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131216/2b9170f7/attachment.html>
Xiao Bin XB Zhang
2013-Dec-16 06:09 UTC
[Gluster-users] Gluster peer probe: why sometimes show host name, sometimes IP address?
We have a small glusterFS environment, when we setup this, and run gluster peer probe, some nodes are shown as host name, while others are showing IP address, in our deployment environment, we have DSN setup, so every host name can be correctly resolved to IP address, but still strange that some host shown as host name, while others shown as IP address, Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131216/23a11451/attachment.html>