I use ucarp to make a real failover for my gluster-vols
For the clients:
Ex:In  my ucarp config, vip-001.conf on both nodes (or nnn... nodes):

vip-001.conf on node1
#ID
ID=001
#Network Interface
BIND_INTERFACE=eth0
#Real IP
SOURCE_ADDRESS=192.168.132.56
#Virtual IP used by ucarp
VIP_ADDRESS=192.168.132.58
#Ucarp Password
PASSWORD=Password

On node2

#ID
ID=002
#Network Interface
BIND_INTERFACE=eth0
#Real IP
SOURCE_ADDRESS=192.168.132.57
#Virtual IP used by ucarp
VIP_ADDRESS=192.168.132.58
#Ucarp Password
PASSWORD=Password

Then 
mount -t glusterfs 192.168.132.58:/samba-vol /mnt/glusterfs
Set enries in fstab:

192.168.132.58:/samba-vol /mnt/glusterfs glusterfs defaults 0 0

Now one Server fails there is still the same service on for the clients.

-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: [email protected]
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Mohit Anchlia
Gesendet: Freitag, 4. März 2011 03:46
An: [email protected]
Betreff: [Gluster-users] Automatic Failover

I am actively trying to find out how automatic failover works but not
able to find how? Is it in the mount option or where do we give if
node 1 is down then write to node 2 or something like that. Can
someone please explain how it work?
_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to