I believe thats the configuration you've done via 'crm' to monitor for 3 crashes (by default probably) - that means if you kill it it will try start the monitored application on the same node first and if fails in 3 attempts only then goes to the secondary site. (try inducing an error in kamailio.cfg file and then killing the kamailio)

Now using a VIP or not is your choice.

I can only assume that you want to monitor the Kamailio service and if failed launch it on the secondary server that's all. If that's the case then you don't need to define any FAILOVER-IP 

You need to read more on configuring via the crm command to change this behaviour. 

Here is an old blog post I wrote on this: http://saevolgo.blogspot.ca/2013/05/opensipskamailio-high-availability.html

Probably the reference link can help you for more detailed explanation.

BR,
Sammy



On Thu, Jul 9, 2015 at 6:24 AM, solution <solution962@gmail.com> wrote:
i am not using anycast.


On Thu, Jul 9, 2015 at 1:06 PM, Loic Chabert [via SIP Router] <[hidden email]> wrote:
OK, and could you use anycast routing ?
Your HA could be done with BGP using communities and bgp localpref.

One restriction to bgp anycast routing: your network should be stable (to preserve transaction and sip dialog).

Regards.

2015-07-08 14:02 GMT+02:00 solution <[hidden email]>:
we dont want to use VIP

On Wed, Jul 8, 2015 at 5:31 PM, Loic Chabert [via SIP Router] <[hidden email]> wrote:

Hello,

For failover IP, why could not use keepalived ? With a script monitoring, you can switch vip from one host to another easily.

More simple than corosync etc in my opinion.

Regards.
Loïc.

Le 8 juil. 2015 13:49, "Fred Posner" <[hidden email]> a écrit :


On 07/08/2015 12:31 AM, solution wrote:
> but while i manually killing that application fail over switching is not
> happening.

Are there any errors?

--fred

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/HA-DRBD-setup-tp22576p139416.html
To unsubscribe from HA+DRBD setup, click here.
NAML



View this message in context: Re: HA+DRBD setup
Sent from the Users mailing list archive at Nabble.com.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



If you reply to this email, your message will be added to the discussion below:
http://sip-router.1086192.n5.nabble.com/HA-DRBD-setup-tp22576p139436.html
To unsubscribe from HA+DRBD setup, click here.
NAML



View this message in context: Re: HA+DRBD setup
Sent from the Users mailing list archive at Nabble.com.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users