Bug 763897 (GLUSTER-2165) - peer probe command does not allow alternative name or IP to be specified from initial host
Summary: peer probe command does not allow alternative name or IP to be specified from...
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-2165
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.1.1
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-29 20:03 UTC by Eco
Modified: 2013-01-31 01:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Eco 2010-11-29 20:03:12 UTC
When you run gluster peer probe initially from a host, other peers see the host listed by the IP address of the first interface.  A mechanism needs to be provided to allow a user to specify an alternative IP, shortname or FQDN.

Comment 1 Pranith Kumar K 2010-12-19 11:57:19 UTC
It takes IP addresses and FQDN provided the DNS is set up properly.
Example:
1) Just after the peer probe:
pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer status
[sudo] password for pranith: 
Number of Peers: 1

Hostname: 192.168.1.179
Uuid: 6a220d7d-dc5a-44cb-bee1-14a52dde9e16
State: Peer in Cluster (Connected)

2) Changed the IP to Hostname
pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer probe
pranith-laptop
Probe successful
pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer status
Number of Peers: 1

Hostname: pranith-laptop
Uuid: 6a220d7d-dc5a-44cb-bee1-14a52dde9e16
State: Peer in Cluster (Connected)

3) Changed the Hostname back to IP
pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer probe 192.168.1.179
Probe successful

pranith@pranith-VirtualBox:/etc/glusterd$ sudo gluster peer status
Number of Peers: 1

Hostname: 192.168.1.179
Uuid: 6a220d7d-dc5a-44cb-bee1-14a52dde9e16
State: Peer in Cluster (Connected)
pranith@pranith-VirtualBox:/etc/glusterd$


Note You need to log in before you can comment on or make changes to this bug.