Thanks for your answer!
I am using glusterfs-3.6 and I know the situation you talk about. I will see the 'Other Names' when I reverse probe node.
I still see the hostname and ip peer status when I restart GlusterD of Node3 after modify peer file in Node3
But I don't want to see the any ip in peer status, how can I do?
Thank you very much2015-03-26 11:37 GMT+08:00 可樂我 <colacolameme@xxxxxxxxx>:
Thanks for your answer!I am using glusterfs-3.6 and I know the situation you talk about.I will see the 'Other Names' when I reverse probe node.I still see the hostname and ip peer status when I restart GlusterD of Node3 after modify peer file in Node3But I don't want to see the any ip in peer status, how can I do?Thank you very much2015-03-25 16:50 GMT+08:00 Kaushal M <kshlmster@xxxxxxxxx>:You have just modified the on-disk stored information. The in-memory information still is the IP. GlusterD only reads the on-disk file when starting up, and after that uses the in-memory information for all operations. This is why you still see the IP in peer status. You have to restart GlusterD on Node2 and Node3 to load the information from the modified file.But instead of the above, you have simpler option to set the hostname for Node1.- Probe Node2 and Node3 from Node1 as normal ("gluster peer probe node2", "gluster peer probe node3"). After this Node1 will be referred to by it's IP on Node2 and Node3.- From one of Node2 or Node3, do a reverse probe on Node1 ("gluster peer probe node1"). This will update the IP to hostname everywhere (in-memory, on-disk and on all nodes).If you are using glusterfs-3.6 and above, doing the reverse probe on Node1 will not change the IP to hostname. Instead an extra name is attached to Node1 and will be displayed in peer status under 'Other Names'.~kaushalOn Wed, Mar 25, 2015 at 12:54 PM, 可樂我 <colacolameme@xxxxxxxxx> wrote:_______________________________________________if I want to hostname of all peer in cluster will only show hostname,how can I do?but it still show the IP of Node1 in hostname when I execute gluster peer status cmdStep 4:#gluster probe node3Node1 probe Node3Step 3:modify the peer file of Node2i have three nodes, (Node1, Node-2, Node3)Hi all,I have a problem about probe new node by hostnameNode1 hostname: node1Node2 hostname: node2Node3 hostname: node3Step 1:Node1 probe Node2# gluster probe node2Step 2:
hostanme1=IP of Node1 => hostname1=node1(hostname of Node1)
modify the peer file of Node2
hostanme1=IP of Node1 => hostname1=node1(hostname of Node1)is any solution to fix the problem?Thank you very much!!
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users