Author Topic: Large storage with recordings not working in cluster  (Read 330 times)

emel_punk

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 0
    • View Profile
    • Email
Large storage with recordings not working in cluster
« on: October 23, 2018, 16:14:44 »
EHLO

I have 2 servers in a cluster and they work properly, I could hear the recording file. But since the amount of files is large by now I want to improve amount of time the details pop-up windows takes to  show information so  I read the manual and configured the cluster like this:

cluster.servers=server1|pserver2

cluster.server1.manager=tcp:admin:admin2018@192.168.0.1
cluster.server1.queuelog=sql:P001
cluster.server1.monitored_calls=/mnt/server1/%YY/%MM/%DD/
cluster.server1.callfilesdir=
cluster.server1.audioRpcServer=
cluster.server1.agentSecurityKey=
cluster.server11.websocketurl=ws://10.10.3.5:8088/ws
cluster.server11.rtcWebBreaker=false

cluster.server2.manager=tcp:admin:elastix456@localhost
cluster.server2.queuelog=sql:P002
cluster.server2.monitored_calls=/mnt/server2/
cluster.server2.callfilesdir=
cluster.server2.audioRpcServer=
cluster.server2.agentSecurityKey=
cluster.server21.websocketurl=ws://127.0.0.1:8088/ws
cluster.server21.rtcWebBreaker=false

/mnt/server2 is a link to /var/spool/asterisk/monitor/ and /mnt/server1 is a NFS partition.

But it doesn't work server1 now. Recording file is blank when I click details. Before that i had cluster.server1.monitored_calls=/mnt/server1/  and worked but was slower.

Any lead to fix it?