is it possible to use ib-verbs and tcp transport-types on the same volume?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 10 Aug 2009, Sabuj Pattanayek wrote:

> Hi,
>
> I have some clients that have ib hca's and some that don't. Is it
> possible to setup the glusterfsd.vol (server configuration) files to
> serve the same volume over both ib-verbs and tcp? Glusterfsd didn't
> seem to complain when I put :
>
> volume server
>  type protocol/server
>  option transport-type ib-verbs
>  option transport-type tcp
>  option auth.ip.readahead-gluster1.allow 10.2.178.*
>  subvolumes readahead-gluster1
> end-volume
>
> But I think it only "registered" the last transport-type line so that
> only TCP became the valid transport type because it caused the
> ib-verbs mount to hang on all the clients. I've also seen that it's
> not possible to have two "volume server" blocks in the server
> configuration.

You want to break it out into two server volumes:

# Server settings
volume tcp-server
  type protocol/server
  option transport-type tcp/server
  subvolumes brick
  option auth.addr.brick.allow *
end-volume

volume ib-server
  type protocol/server
  option transport-type ib-verbs/server
  subvolumes brick
  option auth.addr.brick.allow *
end-volume

><>
Nathan Stratton                                CTO, BlinkMind, Inc.
nathan at robotics.net                         nathan at blinkmind.com
http://www.robotics.net                        http://www.blinkmind.com


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux