[Gluster-users] gluster probe node by hostname

A Ghoshal a.ghoshal at tcs.com
Wed Mar 25 07:32:50 UTC 2015


Hi,

Do you probe by hostname or by IP? We probe our servers by hostname. 
Provided both servers are up and each one knows what IP's the hostnames 
resolve to, gluster peer status displays only hostnames.

Thanks,
Anirban



From:   可樂我 <colacolameme at gmail.com>
To:     gluster-users at gluster.org
Date:   03/25/2015 12:54 PM
Subject:        [Gluster-users] gluster probe node by hostname
Sent by:        gluster-users-bounces at gluster.org



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
Gluster-users at gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150325/77a57896/attachment.html>


More information about the Gluster-users mailing list