Hello,
I've just started doing some testing with dmq but I'm having trouble getting it to discover all of the nodes in my cluster.
There are 7 kamailio instances with the following in their configs:
Example from the notification server (10.0.10.211):
listen=udp:10.0.10.211:5080 loadmodule "dmq.so" # ----- dmq params ----- modparam("dmq", "server_address", "sip:10.0.10.211:5080") modparam("dmq", "notification_address", "sip:10.0.10.211:5080")
Example from one of the nodes (10.0.10.216). (Only the listen and server_address is changed to match the local ip of each node.)
listen=udp:10.0.10.216:5080 loadmodule "dmq.so" # ----- dmq params ----- modparam("dmq", "server_address", "sip:10.0.10.216:5080"); modparam("dmq", "notification_address", "sip:10.0.10.211:5080")
Output from kamcmd dmq.list_nodes
{ host: 10.0.10.211 port: 5080 resolved_ip: 10.0.10.211 status: 2 last_notification: 0 local: 0 } { host: 10.0.10.216 port: 5080 resolved_ip: 10.0.10.216 status: 2 last_notification: 0 local: 1 }
I'm expecting to see all 7 nodes in the output but only see the local node and the notification node. I imagine I could use an SRV record for the notication address to add all of the nodes but I thought the notification node was supposed to share the rest of the nodes in the cluster.
Can anyone explain what it is I'm doing wrong?
Thank You,
John Petrini