[Gluster-users] Multiple networks

Anand Babu Periasamy ab at gluster.com
Mon Mar 9 23:46:32 UTC 2009


Yes you can declare multiple server sections on the same server volume spec file (one for
each interface). It is also possible to use "ha" translator on the client side to fail
over to 1GigE if 10GigE fails.

Look for the bind option.
--------------------------------------------------------------------------
### 10GigE Server Configuration
volume server
   type protocol/server
   option transport-type tcp/server            # For TCP/IP transport
   transport.socket.bind-address 192.168.10.11 # Your 10GigE Server1
   subvolumes brick1 brick2
   option auth.addr.brick1.allow 192.168.*     # Allow access to "brick1" volume
   option auth.addr.brick2.allow 192.168.*     # Allow access to "brick2" volume
end-volume

### 1GigE Server Configuration
volume server
   type protocol/server
   option transport-type tcp/server            # For TCP/IP transport
   transport.socket.bind-address 192.168.1.11  # Your 1GigE Server1
   subvolumes brick1 brick2
   option auth.addr.brick1.allow 192.168.*     # Allow access to "brick1" volume
   option auth.addr.brick2.allow 192.168.*     # Allow access to "brick2" volume
end-volume
--------------------------------------------------------------------------

--
Anand Babu Periasamy
GPG Key ID: 0x62E15A31
Blog [http://ab.multics.org]
GlusterFS [http://www.gluster.org]
The GNU Operating System [http://www.gnu.org]



Johnson, Glenn wrote:
> I have the glusterfs server processes running on machines that have a
> 10GB network (via Myri-10G cards). There is also a 1GB interface in each
> machine that is used for clients to connect to. Is it possible to set up
> glusterfs to use both the 10GB interfaces and the 1GB interfaces in the
> glusterfs server machines?
> 
> Thanks.
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
> 




More information about the Gluster-users mailing list