[OpenSIPS-Users] dlg_sharing_tag behaviour in an active/backup setup

solarmon solarmon at one-n.co.uk
Fri Jun 25 12:12:42 EST 2021


Hi,

In a two node cluster with dialog sharing tags configure, the typical
recommended configuration for an active/standby setup would be:

node1:

modparam("dialog", "dlg_sharing_tag", "vip=active")


node2:

modparam("dialog", "dlg_sharing_tag", "vip=backup")


Now imagine if node2 becomes the active node - i.e. it has the floating IP
and and it is active with the vip tag with 'opensipsctl fifo
dlg_set_sharing_tag_active vip'; and node1 becomes the backup node. Now
also imaging if node1 was taken down for maintenance. When the node1 is
started up again, because it has been configured with 'dlg_sharing_tag' to
be 'vip=active' it then becomes the active node for the vip tag. However,
node2 is still the one with the virtual IP but it now becomes the backup
for the vip tag.


So now you have this mismatched situation, unless you issue a 'opensipsctl
fifo dlg_set_sharing_tag_active vip' on node2.


How can this be properly resolved or managed for these situations where you
want to take down an opensips node for maintenance?


Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210625/33a70b24/attachment.html>


More information about the Users mailing list