That seems to be how most are setup…maybe I’m making it harder than it should be :-)
Out of curiosity what did/do you use to monitor OpenSIPS as up for your failover or did you just rely on the IP (keepalived, etc.) reachability? Thanks, Kevin > On Jan 19, 2021, at 9:08 AM, Andy Dierlam <[email protected]> wrote: > > Ah, my setup was with a floating IP between servers. > > thanks > Andy > > On Tue, Jan 19, 2021 at 10:02 AM Kevin Wormington > <[email protected]> wrote: > I’m not using a VIP and I have made some progress by setting a different > active tag on each node…then upon node failure setting the failed node's tag > to active on remaining node. This lets the re-invite pinging work, etc. > It’s almost there but the handling of the BYE…they are still sent to the IP > of the failed node even after re-invite pings so any in-progress calls from > the failed node are zombie when they hang up until the re-invite ping times > out (30 seconds). I found an article about initiating a re-invite on the > new node with something like "opensips-cli -x mi dlg_send_sequential > callid="442CB6C1-6005F8B80009DA08-FC731700" mode=challenge body=outbound” but > that either seems to terminate the call immediately or say the dialog wasn’t > found. > > > Thanks, > > Kevin > > On Jan 19, 2021, at 8:46 AM, Andy Dierlam <[email protected]> wrote: > > > > With dialog writing to db that both servers use. And same tag on both - > > modparam("dialog", "dlg_sharing_tag", "vip1=active") > > had this working on opensips 2.4 > > > > thanks > > Andy > > > > > > On Mon, Jan 18, 2021 at 2:30 PM Kevin Wormington > > <[email protected]> wrote: > > Hi, > > > > I've been attempting to get a two node active/active setup to work with the > > v3.1 clusterer module sharing usrloc and dialog. The setup is fronted by a > > proxy that handles all of the NAT/media so either OpenSIPS instance can > > communicate directly with the user. > > > > What I have working so far: > > > > Registrations and calls work when sent to either node and if you stop > > OpenSIPS on a node new calls work fine using the other node. > > > > What I can’t get to work: > > > > Calls that are already in progress to switch between nodes when one node > > fails. > > > > > > I have messed around with various sharing tags…no tag, same tag, different > > tags but haven’t had any luck. I’m guessing that I’m missing something to > > trigger the remaining node to send re-invites. Has anyone attempted this > > type of setup and have any ideas? > > > > Thanks, > > > > Kevin > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
