gluster failover with no afr

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

 



Hi Nikola,

If I'm not mistakes
change
--------------------
volume server-tcp
     type protocol/server
     option transport-type tcp
     option auth.addr.brick1.allow *
     option auth.addr.brick2.allow *
     option auth.addr.distribute.allow *
     option transport.socket.listen-port 6996
     option transport.socket.nodelay on
     subvolumes brick1 brick2 distribute
end-volume
----------------------
to
------------------
volume server-tcp
     type protocol/server
     option transport-type tcp
     option auth.addr.distribute.allow *
     option transport.socket.listen-port 6996
     option transport.socket.nodelay on
     subvolumes distribute
end-volume
-----------------
on both servers

Nikola Garafolic wrote:
 > I have the following setup:
 >
 > 2 hosts working as glusterfs servers, and 2 shared luns on SAN, that 
can be mounted on any of the nodes at the same time (currently they are 
formatted as xfs).
 >
 > I would like to use both luns accessible on the same glusterfs server 
at the time, but have the ability to switch automatically to second 
glusterfs server in case of failure.
 >
 > Currently I setup servers to export both luns, and then use them as 
distributed, and on client to use them as ha translator..
 >
 > You can see all from config files. Now, when I mount glusterfs, I can 
see volume, but get input/output error, obviously due to some error in 
configuration.
 >
 > Server1 file:
...................




[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