[Linux-HA] Is this heartbeat scenario possible ?

Guochun Shi gshi at ncsa.uiuc.edu
Thu Mar 3 14:02:53 MST 2005


At 05:16 PM 3/3/2005 +0100, you wrote:

>Hi all,
>
>I am new to this list, I have just discovered the Linux-HA project. I am
>interested in heartbeat capabilities, and I wanted to know if the following
>scenario is possible :
>
>I would like to distribute some applications on two servers. These two
>servers
>have to be seen as TWO servers (this means seen through 2 IP addresses).
>When one server fails, the second takes back the applications of the first
>one,
>and has to be seen as TWO servers. This means there is no one master and one
>slave.
>
>- In normal operation :
>
>   Server 1 :
>            - Virtual IP 1
>            - services A, B and C running.
>
>   Server 2 :
>            - Virtual IP 2
>            - services D, E and F running.
>
>   A, B and C are addressed through IP1
>   D, E and F are addressed through IP2
>
>
>- Fallback mode (fault on server 1) :
>
>   server 2 :
>            - virtual IP 1 and virtual IP 2
>            - services A, B, C, D, E and F running.
>
>   A, B and C remain addressed through IP1
>   D, E and F remain addressed through IP2
>
>I have no problem with data sharing. A SAN should be used
>for data storage. The only constraint is that a service should
>not run simultanously on server 1 and server 2.
>
>Is this scenario possible with heartbeat? 

yes, it's called active-active setup. 

-Guochun




More information about the Linux-HA mailing list