Greetings... So I have an interesting SNMP xAgent question.. I have 2 FS servers setup in a cluster. I am monitoring both with SNMP and they both show the exact same amount of calls on each server. Is this normal behavior? Is the failover server reading the database where the calls are stored in the recovery table? Brian
Thats normal if you have them sharing the database. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Apr 17, 2014, at 9:07 AM, Brian Fertig <BFertig@doublepositive.com> wrote:
Greetings…
So I have an interesting SNMP xAgent question.. I have 2 FS servers setup in a cluster. I am monitoring both with SNMP and they both show the exact same amount of calls on each server. Is this normal behavior? Is the failover server reading the database where the calls are stored in the recovery table?
Brian
Hi Brian, I'd be curious to know your cluster architecture. Could you share it with me? I have an active/backup cluster of FS as well but they don't share the same db, each server has its own MySQL db (replicated in a active-active flavour), and hosts share a virtual IP thanks to keepalived. I don't experience the same behaviour (each server has its own different stats counters, even if I have the same results when doing show channels or show calls at time t on the active or backup server). Best regards, Florent Le 17/04/2014 16:37, Brian West a écrit :
Thats normal if you have them sharing the database.
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Apr 17, 2014, at 9:07 AM, Brian Fertig <BFertig@doublepositive.com> wrote:
Greetings...
So I have an interesting SNMP xAgent question.. I have 2 FS servers setup in a cluster. I am monitoring both with SNMP and they both show the exact same amount of calls on each server. Is this normal behavior? Is the failover server reading the database where the calls are stored in the recovery table?
Brian
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Florent, We have 2 FS servers setup utilizing Corosync/Pacemaker with dual floating IP's. The backend is a percona active 3 node cluster with load balancer. For all purposes this system looks like only 1 machine. Did you follow the wiki on clustering? Brian From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Florent Krieg Sent: Thursday, April 17, 2014 11:05 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNMP Question... Hi Brian, I'd be curious to know your cluster architecture. Could you share it with me? I have an active/backup cluster of FS as well but they don't share the same db, each server has its own MySQL db (replicated in a active-active flavour), and hosts share a virtual IP thanks to keepalived. I don't experience the same behaviour (each server has its own different stats counters, even if I have the same results when doing show channels or show calls at time t on the active or backup server). Best regards, Florent Le 17/04/2014 16:37, Brian West a écrit : Thats normal if you have them sharing the database. -- Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Apr 17, 2014, at 9:07 AM, Brian Fertig <BFertig@doublepositive.com><mailto:BFertig@doublepositive.com> wrote: Greetings... So I have an interesting SNMP xAgent question.. I have 2 FS servers setup in a cluster. I am monitoring both with SNMP and they both show the exact same amount of calls on each server. Is this normal behavior? Is the failover server reading the database where the calls are stored in the recovery table? Brian _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian, Thanks for the information! Your setup is quite complex (especially the Percona MySQL cluster, which needs three nodes). I got inspired from the wiki but took some freedom to modify the architecture :) Florent Le 17/04/2014 18:35, Brian Fertig a écrit :
Florent,
We have 2 FS servers setup utilizing Corosync/Pacemaker with dual floating IP's. The backend is a percona active 3 node cluster with load balancer. For all purposes this system looks like only 1 machine. Did you follow the wiki on clustering?
Brian
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Florent Krieg *Sent:* Thursday, April 17, 2014 11:05 AM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] SNMP Question...
Hi Brian,
I'd be curious to know your cluster architecture. Could you share it with me?
I have an active/backup cluster of FS as well but they don't share the same db, each server has its own MySQL db (replicated in a active-active flavour), and hosts share a virtual IP thanks to keepalived. I don't experience the same behaviour (each server has its own different stats counters, even if I have the same results when doing show channels or show calls at time t on the active or backup server).
Best regards, Florent
Le 17/04/2014 16:37, Brian West a écrit :
Thats normal if you have them sharing the database.
--
Brian West
brian@freeswitch.org <mailto:brian@freeswitch.org>
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key:http://www.bkw.org/key.txt (AB93356707C76CED)
On Apr 17, 2014, at 9:07 AM, Brian Fertig<BFertig@doublepositive.com> <mailto:BFertig@doublepositive.com> wrote:
Greetings...
So I have an interesting SNMP xAgent question.. I have 2 FS servers setup in a cluster. I am monitoring both with SNMP and they both show the exact same amount of calls on each server. Is this normal behavior? Is the failover server reading the database where the calls are stored in the recovery table?
Brian
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The configuration pushes 5 9 reliability. As well we use it for our other FS infrastructure which is why there is a 3 node cluster. The cluster is all active as I said and works very well with reads and writes. Brian From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Florent Krieg Sent: Friday, April 18, 2014 10:12 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNMP Question... Brian, Thanks for the information! Your setup is quite complex (especially the Percona MySQL cluster, which needs three nodes). I got inspired from the wiki but took some freedom to modify the architecture :) Florent Le 17/04/2014 18:35, Brian Fertig a écrit : Florent, We have 2 FS servers setup utilizing Corosync/Pacemaker with dual floating IP's. The backend is a percona active 3 node cluster with load balancer. For all purposes this system looks like only 1 machine. Did you follow the wiki on clustering? Brian From: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Florent Krieg Sent: Thursday, April 17, 2014 11:05 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNMP Question... Hi Brian, I'd be curious to know your cluster architecture. Could you share it with me? I have an active/backup cluster of FS as well but they don't share the same db, each server has its own MySQL db (replicated in a active-active flavour), and hosts share a virtual IP thanks to keepalived. I don't experience the same behaviour (each server has its own different stats counters, even if I have the same results when doing show channels or show calls at time t on the active or backup server). Best regards, Florent Le 17/04/2014 16:37, Brian West a écrit : Thats normal if you have them sharing the database. -- Brian West brian@freeswitch.org<mailto:brian@freeswitch.org> FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Apr 17, 2014, at 9:07 AM, Brian Fertig <BFertig@doublepositive.com><mailto:BFertig@doublepositive.com> wrote: Greetings... So I have an interesting SNMP xAgent question.. I have 2 FS servers setup in a cluster. I am monitoring both with SNMP and they both show the exact same amount of calls on each server. Is this normal behavior? Is the failover server reading the database where the calls are stored in the recovery table? Brian _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks B! That's what I thought but wanted to nail it down for sure. Brian -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, April 17, 2014 10:38 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] SNMP Question... Thats normal if you have them sharing the database. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Apr 17, 2014, at 9:07 AM, Brian Fertig <BFertig@doublepositive.com> wrote:
Greetings...
So I have an interesting SNMP xAgent question.. I have 2 FS servers setup in a cluster. I am monitoring both with SNMP and they both show the exact same amount of calls on each server. Is this normal behavior? Is the failover server reading the database where the calls are stored in the recovery table?
Brian
participants (3)
-
Brian Fertig
-
Brian West
-
Florent Krieg