[Gluster-devel] how to reinstall a peer?

Emmanuel Dreyfus manu at netbsd.org
Mon Feb 25 15:04:08 UTC 2013


Vijay Bellur <vbellur at redhat.com> wrote:

> d) gluster peer probe from the cluster

Um, I hit another problem (regression with 3.4.x?), the gluster command
attemps a tcp connexion to 127.0.0.1:24007 but get refused.

Here are the tcp ports open by glusterfs
root     glusterfsd 16773   11* internet stream tcp *:49152
root     glusterfsd 15833   11* internet stream tcp *:38465
root     glusterfsd 15833   12* internet stream tcp *:38466
root     glusterfsd 15833   13* internet stream tcp *:38467
root     glusterfsd 15833   14* internet stream tcp *:38469
root     glusterfsd   234   11* internet stream tcp *:49153

How does it picks the 24007 port? Here are the processes shown by ps:

  234 ?     Isl  728:02.33 /usr/pkg/sbin/glusterfsd -s localhost
--volfile-id gfs33.hangar.export-wd1a -p
/var/lib/glusterd/vols/gfs33/run/hangar-export-wd1a.pid -S
/var/run/a52b614100d88cd51bfbdecac6b10f5c.socket --brick-name
/export/wd1a -l /var/log/glusterfs/bricks/export-wd1a.log
--xlator-option
*-posix.glusterd-uuid=c0959c60-3546-46f7-b34f-7ad1ee52fb5e --brick-port
49153 --xlator-option gfs33-server.listen-port=49153 
15833 ?     Ssl   10:43.06 /usr/pkg/sbin/glusterfs -s localhost
--volfile-id gluster/nfs -p /var/lib/glusterd/nfs/run/nfs.pid -l
/var/log/glusterfs/nfs.log -S
/var/run/786eeb7241c700906099393ab5025a5b.socket (glusterfsd)
16773 ?     Rsl  269:34.81 /usr/pkg/sbin/glusterfsd -s localhost
--volfile-id gfs33.hangar.export-wd3a -p
/var/lib/glusterd/vols/gfs33/run/hangar-export-wd3a.pid -S
/var/run/51052631beccf234f78132b71dd25a12.socket --brick-name
/export/wd3a -l /var/log/glusterfs/bricks/export-wd3a.log
--xlator-option
*-posix.glusterd-uuid=c0959c60-3546-46f7-b34f-7ad1ee52fb5e --brick-port
49152 --xlator-option gfs33-server.listen-port=49152 
23780 ?     Ssl   20:27.58 /usr/pkg/sbin/glusterfs -s localhost
--volfile-id gluster/glustershd -p
/var/lib/glusterd/glustershd/run/glustershd.pid -l
/var/log/glusterfs/glustershd.log -S
/var/run/03b4dffe9c1eaf52a4f719b5f45b8c9a.socket --xlator-option
*replicate*.node-uuid=c0959c60-3546-46f7-b34f-7ad1ee52fb5e (glusterfsd)


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list