LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Glusterfs native nfs port for LVS

To: yang feng电话 <hoking.yang@xxxxxxxxx>
Subject: Re: [lvs-users] Glusterfs native nfs port for LVS
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Tomasz Chmielewski <tch@xxxxxxxxxxx>
Date: Sat, 8 Mar 2014 14:04:16 +0100
Use "-tupna", the output should be more readable.

-- 
Tomasz Chmielewski
http://wpkg.org


On Sat, 8 Mar 2014 20:38:12 +0800
yang feng电话 <hoking.yang@xxxxxxxxx> wrote:

> I can not tell which one should be gluster native nfs used port...
> 
> [root@gluster02 ~]# netstat -a
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address               Foreign Address
> State
> tcp        0      0 *:netbios-ssn               *:*
> LISTEN
> tcp        0      0 *:sunrpc                    *:*
> LISTEN
> tcp        0      0 *:60275                     *:*
> LISTEN
> tcp        0      0 *:ssh                       *:*
> LISTEN
> tcp        0      0 localhost:smtp              *:*
> LISTEN
> tcp        0      0 gluster02.isilon.cn:ctdb    *:*
> LISTEN
> tcp        0      0 *:microsoft-ds              *:*
> LISTEN
> tcp        0      0 *:49152                     *:*
> LISTEN
> tcp        0      0 *:nfs                       *:*
> LISTEN
> tcp        0      0 *:38465                     *:*
> LISTEN
> tcp        0      0 *:49153                     *:*
> LISTEN
> tcp        0      0 *:38466                     *:*
> LISTEN
> tcp        0      0 *:49154                     *:*
> LISTEN
> tcp        0      0 *:49155                     *:*
> LISTEN
> tcp        0      0 *:38468                     *:*
> LISTEN
> tcp        0      0 *:49156                     *:*
> LISTEN
> tcp        0      0 *:maitrd                    *:*
> LISTEN
> tcp        0      0 *:38469                     *:*
> LISTEN
> tcp        0      0 *:24007                     *:*
> LISTEN
> tcp        0     40 gluster02.isilon.cn:49156
> gluster02.isilon.cn:ftps ESTABLISHED
> tcp        0      0 localhost:24007             localhost:1012
> ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49155
> gluster04.isilon.cn:985 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49153
> gluster03.isilon.cn:985 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:984
> gluster04.isilon.cn:49152 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:ctdb
> gluster03.isilon.cn:43225 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49153
> gluster03.isilon.cn:1002 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:985
> gluster04.isilon.cn:49153 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:41860
> gluster04.isilon.cn:ctdb ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49154
> gluster04.isilon.cn:987 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster02.isilon.cn:1016 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:973
> gluster03.isilon.cn:24007 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:983
> gluster02.isilon.cn:49152 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:ctdb
> gluster04.isilo:profinet-rt ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster03.isilon.cn:1023 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster04.isilon.cn:1005 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:966
> gluster03.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49152
> gluster02.isilon.cn:983 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster02.isilon.cn:1011 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster04.isilon.cn:1023 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster02.isilon.cn:1015 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:979
> gluster02.isilon.cn:49153 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:1014
> gluster02.isilon.cn:24007 ESTABLISHED
> tcp        0      0 localhost:1012              localhost:24007
> ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster03.isilon.cn:1001 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49153
> gluster04.isilon.cn:983 ESTABLISHED
> tcp        0      0 store.isilon.c:microsoft-ds 10.67.68.22:50843
> ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:1012
> gluster02.isilon.cn:49154 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster02.isilon.cn:975 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:1017
> gluster02.isilon.cn:24007 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster02.isilon.cn:1017 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:exp2
> gluster04.isilon.cn:24007 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49152
> gluster03.isilon.cn:972 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:51174
> gluster03.isilon.cn:ctdb ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster02.isilon.cn:1014 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster04.isilon.cn:surf ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:987
> gluster02.isilon.cn:49153 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:exp1
> gluster02.isilon.cn:24007 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:965
> gluster03.isilon.cn:49152 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:988
> gluster02.isilon.cn:49155 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:964
> gluster03.isilon.cn:49153 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster03.isilon.cn:980 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:977
> gluster04.isilon.cn:49153 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster02.isilon.cn:exp1 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49155
> gluster02.isilon.cn:988 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:981
> gluster04.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:1016
> gluster02.isilon.cn:24007 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster04.isilon.cn:1018 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster03.isilon.cn:1017 ESTABLISHED
> tcp        0   3880 store02.isilon.cn:ssh
> pptpclient02.yxsd:60381 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:975
> gluster02.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49154
> gluster03.isilon.cn:979 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49153
> gluster02.isilon.cn:979 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:ftps
> gluster02.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:1011
> gluster02.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49155
> gluster03.isilon.cn:973 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:960
> gluster03.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:986
> gluster04.isilon.cn:49155 ESTABLISHED
> tcp        0      0 localhost:24007             localhost:1011
> ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:982
> gluster04.isilon.cn:49154 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:970
> gluster03.isilon.cn:49153 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:1015
> gluster02.isilon.cn:24007 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49154
> gluster02.isilon.cn:1012 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:974
> gluster04.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49156
> gluster04.isilon.cn:ftps ESTABLISHED
> tcp        0      0 localhost:1011              localhost:24007
> ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49153
> gluster02.isilon.cn:987 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49153
> gluster04.isilon.cn:garcon ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:1013
> gluster02.isilon.cn:24007 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:962
> gluster03.isilon.cn:49155 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:980
> gluster04.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster03.isilon.cn:exp1 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:24007
> gluster02.isilon.cn:1013 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:49152
> gluster04.isilon.cn:982 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:963
> gluster03.isilon.cn:49156 ESTABLISHED
> tcp        0      0 gluster02.isilon.cn:968
> gluster03.isilon.cn:49154 ESTABLISHED
> tcp        0      0 *:netbios-ssn               *:*
> LISTEN
> tcp        0      0 *:sunrpc                    *:*
> LISTEN
> tcp        0      0 *:ssh                       *:*
> LISTEN
> tcp        0      0 *:56347                     *:*
> LISTEN
> tcp        0      0 *:microsoft-ds              *:*
> LISTEN
> tcp        0      0 *:exec                      *:*
> LISTEN
> tcp        0      0 *:login                     *:*
> LISTEN
> tcp        0      0 *:shell                     *:*
> LISTEN
> udp        0      0 *:sunrpc
> *:*
> udp        0      0 *:1013
> *:*
> udp        0      0 *:57856
> *:*
> udp        0      0 *:814
> *:*
> udp        0      0 *:987
> *:*
> udp        0      0 *:ircs
> *:*
> udp        0      0 *:sunrpc
> *:*
> udp        0      0 *:814
> *:*
> udp        0      0 *:54466
> *:*
> 
> 
> 
> 2014-03-08 20:12 GMT+08:00 Tomasz Chmielewski <tch@xxxxxxxxxxx>:
> 
> > On Sat, 8 Mar 2014 10:04:16 +0800
> > yang feng电话 <hoking.yang@xxxxxxxxx> wrote:
> >
> > > I am running gluster with native nfs, and want to configure
> > > loadbalance with LVS.
> > >
> > > I had successfully set up samba and glusterfs, but can not work
> > > with gluster native nfs.
> > >
> > > I had googled that gluster native nfs use 34865-34867 port, I
> > > added them into lvs configure file, but no luck to success, can
> > > anyone suggest me what port or other operation needed to make
> > > that happen?
> > >
> > > BTW, I had disabled iptables, add port
> > > 111/2049/24007/24008/34865-34867 to LVS config. any help is very
> > > appreciated.
> >
> > Can you check what netstat shows when it comes to open ports?
> >
> > --
> > Tomasz Chmielewski
> > http://wpkg.org
> >


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>