[Gluster-users] Automatic Failover
Daniel Müller
mueller at tropenklinik.de
Fri Mar 4 07:46:42 UTC 2011
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: [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
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
More information about the Gluster-users
mailing list