shared IP=192.168.88.95

|                        |

keepalived1               keepalived2

|                        |

haproxy1                  haproxy2

192.168.88.96:80          192.168.88.97:80
|                         |

|------------|            |------------|

apache1      apache2      apache3       apache4

192.168.88.96:8080        192.168.88.97:8080

             192.168.88.96:8090         192.168.88.97:8090



On 19 April 2013 01:42, Joshua Chee <[email protected]> wrote:

> I am running 2VRRP and 2HA. Each VRRP is linked to 1 HA and each HA is
> linked to 2 apache webserver.
>
> I am only able to make the vrrp failover when i stop the vrrp service, not
> able to do that when i stop the haproxy service or stop all apache services.
>
> Is there a way for haproxy to stop or reflect when all its webfarms are
> down?
>
> I am trying to run a script in vrrp as per alot of guides,
> vrrp_script chk_haproxy{
>    script "killall -0 haproxy"
>    interval 2
>    weight 2
> }
>
> [...]
>  track_script{
>         chk_haproxy
>         }
> [...]
>
> However this is not able to change my vrrp state.
>

Reply via email to