Automatic Failover

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

 



If you use a http-server,samba... ex:apache you need ucarp. There is a
little blog about it:
http://www.misdivision.com/blog/setting-up-a-highly-available-storage-cluste
r-using-glusterfs-and-ucarp

Ucarp gives you a virt. Ip for your httpd. if the one is down the second
with the same IP is still alive and serving. Glusterfs serves
the data in ha mode. Try it it works like a charm.

-----------------------------------------------
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: Mohit Anchlia [mailto:mohitanchlia at gmail.com] 
Gesendet: Montag, 7. M?rz 2011 18:47
An: mueller at tropenklinik.de; gluster-users at gluster.org
Betreff: Re: Automatic Failover

Thanks! Can you please give me some scenarios where applications will
need ucarp, are you referring to nfs clients?

Does glusterfs support http also? can't find any documentation.

On Mon, Mar 7, 2011 at 12:34 AM, Daniel M?ller <mueller at tropenklinik.de>
wrote:
> Yes the normal way the clients will follow the failover but some
> applications and services running on top
> Of glusterfs will not and will need this.
>
> -----------------------------------------------
> 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: Mohit Anchlia [mailto:mohitanchlia at gmail.com]
> Gesendet: Freitag, 4. M?rz 2011 18:36
> An: mueller at tropenklinik.de; gluster-users at gluster.org
> Betreff: Re: Automatic Failover
>
> Thanks! I thought for native clients failover is inbuilt. Isn't that true?
>
> On Thu, Mar 3, 2011 at 11:46 PM, Daniel M?ller <mueller at tropenklinik.de>
> wrote:
>> 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