[OpenSIPS-Users] dialog replication

volga629 at networklab.ca volga629 at networklab.ca
Sat Aug 18 22:27:10 EDT 2018


Hello Liviu,
If I will add 3 vips on public interfaces how to add them into database 
clusterer tabe, right now in sip_addr column is defined lan vips for 
each node.


volga629

On Fri, Aug 17, 2018 at 12:27 PM, volga629 at networklab.ca wrote:
> Thank you for reply. The point in same vm with two network interfaces 
> one pubic ip and one private.
> 
> volga629
> 
> On Fri, Aug 17, 2018 at 12:10 PM, Liviu Chircu <liviu at opensips.org> 
> wrote:
>> Dialog replication is _built_ to work with VIPs.  If you are not 
>> using VIPs, you will only be able to share dialog profiles [1] 
>> between your public front-end boxes.
>> 
>> [1]: 
>> http://www.opensips.org/html/docs/modules/3.0.x/dialog.html#param_profile_replication_cluster
>> 
>> Liviu Chircu
>> OpenSIPS Developer
>> http://www.opensips-solutions.com
>> 
>> On 16.08.2018 19:59, volga629 at networklab.ca wrote:
>>> Hello Liviu,
>>> Please see the design diagram 
>>> https://www.dropbox.com/s/od0z7wacc2yu3rr/opensips-cluster-design.pdf?dl=0
>>> The error producing on public interface where are no vips only 
>>> round robin DNS A record.
>>> 
>>> volga629
>>> 
>>> 
>>> On Thu, Aug 16, 2018 at 5:20 AM, Liviu Chircu <liviu at opensips.org> 
>>> wrote:
>>>> Hi Volga,
>>>> 
>>>> The 2.4 dialog clustering definitely supports "active-active" 
>>>> setups.  For this, you will need to use two virtual IPs, each 
>>>> being primary for one of the nodes, such that you avoid those 
>>>> "dialog created on unknown IP" errors when replicating 
>>>> dialogs to the backup node.
>>>> 
>>>> Best regards,
>>>> 
>>>> Liviu Chircu
>>>> OpenSIPS Developer
>>>> http://www.opensips-solutions.com
>>>> 
>>>> On 16.08.2018 08:02, volga629 at networklab.ca wrote:
>>>>> Hello Everyone,
>>>>> Based on this thread 
>>>>> https://opensips.org/pipermail/users/2014-August/029635.html 
>>>>> dialog replication is not design for active/active 
>>>>> scanario. My question when federated no sql cluster 
>>>>> enabled is it really need it ?
>>>>> 
>>>>> tried enable and getting errors
>>>>> 
>>>>> Aug 15 23:42:22 aitossbc01 /usr/sbin/opensips[12909]: 
>>>>> WARNING:dialog:fetch_socket_info: non-local socket 
>>>>> <udp:opensips public ip:5060>...ignoring
>>>>> Aug 15 23:42:22 aitossbc01 /usr/sbin/opensips[12909]: 
>>>>> ERROR:dialog:dlg_replicated_create: Replicated dialog 
>>>>> doesn't match any listening sockets
>>>>> Aug 15 23:42:22 aitossbc01 /usr/sbin/opensips[12909]: 
>>>>> ERROR:dialog:receive_dlg_repl: Failed to process a binary 
>>>>> packet!
>>>>> 
>>>>> #### Dialog
>>>>> loadmodule "dialog.so"
>>>>> modparam("dialog", "db_url", "postgres://")
>>>>> modparam("dialog", "db_mode", 1)
>>>>> modparam("dialog","profiles_with_value","outbound; inbound")
>>>>> modparam("dialog", "dlg_match_mode", 1)
>>>>> modparam("dialog", "default_timeout", 3600)
>>>>> modparam("dialog", "options_ping_interval", 900)
>>>>> modparam("dialog", "profiles_with_value", "caller ; domain")
>>>>> modparam("dialog", "dialog_replication_cluster", 1)
>>>>> modparam("dialog", "profile_replication_cluster", 1)
>>>>> modparam("dialog", "dlg_sharing_tag", "vip1=active")
>>>>> 
>>>>> 
>>>>> volga629
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at lists.opensips.org
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>> 
>>> 
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list