Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread SamyGo
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

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread solution
when i kill manually this error appears and starts in same machine without switching p_kamailio_monitor_5000 on node40(10.12.1.40) 'unknown error' (1): call=61, status=complete, exit-reason='none', last-rc-change='Wed Jul 8 17:28: On Wed, Jul 8, 2015 at 5:20 PM, Fred Posner-2 [via SIP Router]

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread Loic Chabert
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 solution...@gmail.com: we

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread solution
we dont want to use VIP On Wed, Jul 8, 2015 at 5:31 PM, Loic Chabert [via SIP Router] ml-node+s1086192n139416...@n5.nabble.com 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

Re: [SR-Users] HA+DRBD setup

2015-07-09 Thread solution
i am not using anycast. On Thu, Jul 9, 2015 at 1:06 PM, Loic Chabert [via SIP Router] ml-node+s1086192n13943...@n5.nabble.com 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

Re: [SR-Users] HA+DRBD setup

2015-07-08 Thread Fred Posner
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

Re: [SR-Users] HA+DRBD setup

2015-07-08 Thread Loic Chabert
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 f...@palner.com a écrit : On 07/08/2015 12:31 AM, solution

Re: [SR-Users] HA+DRBD setup

2015-07-08 Thread solution
Hi, My aim is to monitor kamailio process in one server which is master and another one slave,by using corosync and pacemaker we need to handle fail over switching without using VIP.now fail over switching is working fine if i stop corosync and pacemaker in master,but while i manually killing

Re: [SR-Users] HA+DRBD setup

2015-07-07 Thread solution
Dear all, i need kamailio HA+DRDA resource agent script.if anybody is having that please share. -- View this message in context: http://sip-router.1086192.n5.nabble.com/HA-DRBD-setup-tp22576p139374.html Sent from the Users mailing list archive at Nabble.com.

Re: [SR-Users] HA+DRBD setup

2015-07-07 Thread solution
Dear all, i need kamailio HA+DRBD resource agent script.if anybody is having that please share. -- View this message in context: http://sip-router.1086192.n5.nabble.com/HA-DRBD-setup-tp22576p139375.html Sent from the Users mailing list archive at Nabble.com.

Re: [SR-Users] HA+DRBD setup

2015-07-07 Thread E. Schmidbauer
Here is a howto on kamailio/corosync/pacemaker setup: https://blog.voipxswitch.com/2015/06/29/kamailio-high-availabilityfailover-with-corosync-and-pacemaker-on-debian-7/ I haven't done DRBD with HA yet. On Tue, Jul 7, 2015 at 6:12 AM, solution solution...@gmail.com wrote: Dear all, i need