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] http:///user/SendEmail.jtp?type=node&node=139441&i=0> 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] http:///user/SendEmail.jtp?type=node&node=139436&i=0>:
we dont want to use VIP
On Wed, Jul 8, 2015 at 5:31 PM, Loic Chabert [via SIP Router] <[hidden email] http:///user/SendEmail.jtp?type=node&node=139418&i=0> 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] http:///user/SendEmail.jtp?type=node&node=139416&i=0> 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:///user/SendEmail.jtp?type=node&node=139416&i=1 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:///user/SendEmail.jtp?type=node&node=139416&i=2 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 http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
View this message in context: Re: HA+DRBD setup http://sip-router.1086192.n5.nabble.com/HA-DRBD-setup-tp22576p139418.html Sent from the Users mailing list archive http://sip-router.1086192.n5.nabble.com/Users-f3.html at Nabble.com.
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [hidden email] http:///user/SendEmail.jtp?type=node&node=139436&i=1 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:///user/SendEmail.jtp?type=node&node=139436&i=2 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 http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
View this message in context: Re: HA+DRBD setup http://sip-router.1086192.n5.nabble.com/HA-DRBD-setup-tp22576p139441.html Sent from the Users mailing list archive http://sip-router.1086192.n5.nabble.com/Users-f3.html 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