[asterisk-ha-clustering] Active/Standby call interruption durring failover
Marcin J. Kowalczyk
marcin.kowalczyk at ccig.pl
Tue Jun 17 08:22:17 CDT 2008
*AsteriskHA1*:~# more /etc/drbd.conf
global {
usage-count yes;
}
common {
protocol C;
}
resource "shared" {
handlers { pri-on-incon-degr "echo 'DRBD: primary requested but
inconsistent!' | wall; sleep 300000"; }
startup { wfc-timeout 0; degr-wfc-timeout 120; }
disk { on-io-error detach; } #
syncer {
rate 120M;
}
on AsteriskHA1 {
device /dev/drbd0;
disk /dev/hda4;
address 10.255.255.1:7789;
meta-disk internal;
}
on AsteriskHA2 {
device /dev/drbd0;
disk /dev/hda4;
address 10.255.255.2:7789;
meta-disk internal;
}
}
*AsteriskHA1*:~# more /etc/ha.d/haresources
AsteriskHA1 drbddisk::shared Filesystem::/dev/drbd0::/share::ext3
192.168.0.245/24/eth1 asterisk
*AsteriskHA1*:~# more /etc/ha.d/ha.cf
logfacility local0
keepalive 25ms
deadtime 1
warntime 50ms
initdead 5
udpport 694
bcast eth0
auto_failback on
node AsteriskHA1 AsteriskHA2
*AsteriskHA1*:~#
/etc/asterisk
/var/lib/asterisk/
/var/spool/asterisk
are placed on /share partion and symlinks are made. floating IP
192.168.0.245, interconnect between node's gbit link
Luis Jimenez pisze:
> Hello, can you share your HA config??
>
>
> 2008/6/17 Marcin J. Kowalczyk <marcin.kowalczyk at ccig.pl>:
>
> Hi All,
>
> I have configured Asterisk failover with floating IP (heartbeat),
> shared /etc/asterisk /var/lib/asterisk/ /var/spool/asterik via
> drbd between two nodes.
> When I do failover Active -> Passive (eg reboot nodeA) I lose
> calls which are managed by * (ex on wait extenesion). I've tried
> to setup following in sip.conf:
>
> rtcachefriends=yes
> rtsavesysname=yes
> rtupdate=yes
> rtautoclear=yes
> ignoreregexpire=yes
>
>
> but it didn't help. Is there a way to share also call-leg status?
>
> Marcin
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ha-clustering mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ha-clustering mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering
--
Pozdrawiam serdecznie
Marcin Kowalczyk
System Administrator
Call Center Inter Galactica
ul. Jana Kilinskiego 30, 50-264 Wroclaw, Poland
telefon: +48 71 722 72 91 e-mail: marcin.kowalczyk at ccig.pl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ha-clustering/attachments/20080617/ed14243d/attachment.htm
More information about the asterisk-ha-clustering
mailing list