Automatic Failover

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

 



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: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Urspr?ngliche Nachricht-----
Von: gluster-users-bounces at gluster.org
[mailto:gluster-users-bounces at gluster.org] Im Auftrag von Mohit Anchlia
Gesendet: Freitag, 4. M?rz 2011 03:46
An: gluster-users at gluster.org
Betreff: 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
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



[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