Forgot to mention192.168.150.225 must have another node as notitifcation peer, not himself else he will not replicate data to other nodesOn Fri, Dec 1, 2017 at 2:33 AM, Julien Chavanton <jchavanton@gmail.com> wrote:notification_address in this case the last one will be used "192.168.150.225" this will be you DMQ master nodeOn Fri, Dec 1, 2017 at 12:32 AM, Aidar Kamalov <aidar.kamalov@gmail.com> wrote:______________________________Hello. I have 4 kamailio nodes with same config:modparam("dmq", "server_address", "sip:LOCALIP:5050")modparam("dmq", "notification_address", "sip:192.168.8.213:5050")modparam("dmq", "notification_address", "sip:192.168.10.54:5050")modparam("dmq", "notification_address", "sip:192.168.107.195:5050")modparam("dmq", "notification_address", "sip:192.168.150.225:5050")modparam("dmq", "num_workers", 6)modparam("dmq_usrloc", "enable", 1)modparam("dmq_usrloc", "sync", 1)modparam("dmq_usrloc", "batch_size", 2000)modparam("dmq_usrloc", "batch_usleep", 1000)regularly (don't know why) I've got issues - replication is broken, for example now at all nodes I have:# kamcmd dmq.list_nodes{host: 192.168.8.213port: 5050resolved_ip: 192.168.8.213status: 2last_notification: 0local: 0}{host: 192.168.10.54port: 5050resolved_ip: 192.168.10.54status: 2last_notification: 0local: 0}{host: 192.168.150.225port: 5050resolved_ip: 192.168.150.225status: 8last_notification: 0local: 0}{host: 192.168.107.195port: 5050resolved_ip: 192.168.107.195status: 2last_notification: 0local: 1}but at node 192.168.150.225:# kamcmd dmq.list_nodes{host: 192.168.150.225port: 5050resolved_ip: 192.168.150.225status: 2last_notification: 0local: 0}{host: 192.168.150.225port: 5050resolved_ip: 192.168.150.225status: 2last_notification: 0local: 1}nodes restart doesn't help. but if i execsystemctl stop kamailio && sleep 15 && systemctl start kamailioit is partially solve my issue - dmq.list_nodes show all nodes, but at 192.168.150.225 i see not all user locations: they are added graduallyThere is no errors in logsDec 1 08:28:37 sipufa /usr/sbin/kamailio[18252]: NOTICE: <script>: ROOT: KDMQ notification_peer [15f3edf9258014d1-7114@192.168.8.213 ]Dec 1 08:28:38 sipufa /usr/sbin/kamailio[18271]: NOTICE: <script>: ROOT: KDMQ notification_peer [7acb9eae627482f8-87828@192.168.10.54 ]Dec 1 08:28:39 sipufa /usr/sbin/kamailio[18250]: NOTICE: <script>: ROOT: KDMQ notification_peer [621ad9f474b335e2-18272@192.168.150.225 ]Dec 1 08:28:40 sipufa /usr/sbin/kamailio[18252]: NOTICE: <script>: ROOT: KDMQ notification_peer [7b817f6a6244f923-8872@192.168.107.195 ]Dec 1 08:28:47 sipufa /usr/sbin/kamailio[18271]: NOTICE: <script>: ROOT: KDMQ usrloc [7acb9eae627482f2-87794@192.168.10.54 ]Dec 1 08:29:20 sipufa /usr/sbin/kamailio[18251]: NOTICE: <script>: ROOT: KDMQ usrloc [7acb9eae627482ef-87790@192.168.10.54 ]--Aydar A. Kamalov_________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users