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 much 2015-03-26 11:37 GMT+08:00 可樂我 <[email protected]>: > 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 much > > > 2015-03-25 16:50 GMT+08:00 Kaushal M <[email protected]>: > >> 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'. >> >> ~kaushal >> >> On Wed, Mar 25, 2015 at 12:54 PM, 可樂我 <[email protected]> wrote: >> >>> Hi all, >>> I have a problem about probe new node by hostname >>> i have three nodes, (Node1, Node-2, Node3) >>> Node1 hostname: node1 >>> Node2 hostname: node2 >>> Node3 hostname: node3 >>> >>> Step 1: >>> Node1 probe Node2 >>> # gluster probe node2 >>> >>> Step 2: >>> modify the peer file of Node2 >>> hostanme1=IP of Node1 => hostname1=node1(hostname of Node1) >>> >>> Step 3: >>> Node1 probe Node3 >>> #gluster probe node3 >>> >>> Step 4: >>> modify the peer file of Node2 >>> hostanme1=IP of Node1 => hostname1=node1(hostname of Node1) >>> >>> but it still show the IP of Node1 in hostname when I execute *gluster >>> peer status* cmd >>> if I want to hostname of all peer in cluster will only show hostname,how >>> can I do? >>> is any solution to fix the problem? >>> Thank you very much!! >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> [email protected] >>> http://www.gluster.org/mailman/listinfo/gluster-users >>> >> >> >
_______________________________________________ Gluster-users mailing list [email protected] http://www.gluster.org/mailman/listinfo/gluster-users
