Hello all.
I have installed ser 0.9.7 and configured it to work with mediaproxy. For now it (mediaproxy) is running locally on the same machine as ser. But i want make it with load balancing. But i dont know how to configure DNS SRVS For example if my ser is running on machine; example.somecompany.com then i have to add these lines?
_mediaproxy._tcp.example.somecompany.com. IN SRV 0 25 25060 mediamachine1.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 0 25 25060 mediamachine2.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 0 50 25060 mediamachine3.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 10 50 25060 mediamachine11.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 10 50 25060 mediamachine12.somecompany.com.
So if I have understood these lines right it means, that first three proxies are main for taking care of the rtp traffic? 1st proxy 25% 2nd proxy 25% 3rd proxy 50% ? Ok the last lines are then the failback proxies? OK if this is true,. i just don't know how to go further,.. I know that i have to put these lines in /etc/bind/ But i dont know how to use them in zones file.
Also i wuold like to know what i have to confiure in mediaproy.ini to make that working,... I just cant find any exact explanation on net :(
I would be very thankfull for any help given. Regards Dejan Slovenia
In the mediaproxy there's a nice README describing this. I'll try to make a short summary:
SER machine: you have to set mediaproxy to act as a dispatcher for the domain name you want to use as the "mediaproxies domain". The mediaproxy.ini should be something like:
[Dispatcher] start = yes socket = /var/run/proxydispatcher.sock group = ser defaultProxy = domain://somecompany.com [MediaProxy] start=no
This would instruct the mediaproxy dispatcher colocated to the SER instance to make DNS queries for the domain somecompany.com.
Next step is to configure DNS server to provide somecompany.com SRV queries (next lines should be included in your zone file):
_mediaproxy._tcp IN SRV 0 25 25060 mediamachine1 _mediaproxy._tcp IN SRV 0 25 25060 mediamachine2 _mediaproxy._tcp IN SRV 0 50 25060 mediamachine3 _mediaproxy._tcp IN SRV 10 50 25060 mediamachine11 _mediaproxy._tcp IN SRV 10 50 25060 mediamachine12
;INSERT the IPs of every mediamachine mediamachine1 IN A 192.168.1.1 mediamachine2 IN A 192.168.1.2 mediamachine3 IN A 192.168.1.3 mediamachine11 IN A 192.168.1.11 mediamachine12 IN A 192.168.1.12
Last thing is to configure mediaproxy.ini in the mediamachines to accept mediaproxy queries from the SER machine and to start mediaproxy:
[Dispatcher] start = no [MediaProxy] start=yes allow=whateveryouthingyoushouldpoutinhere
Hope it helps,
Samuel.
2006/5/1, Dejan Kovacevic dejan.kovacevic@volja.net:
Hello all.
I have installed ser 0.9.7 and configured it to work with mediaproxy. For now it (mediaproxy) is running locally on the same machine as ser. But i want make it with load balancing. But i dont know how to configure DNS SRVS For example if my ser is running on machine; example.somecompany.com then i have to add these lines?
_mediaproxy._tcp.example.somecompany.com. IN SRV 0 25 25060 mediamachine1.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 0 25 25060 mediamachine2.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 0 50 25060 mediamachine3.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 10 50 25060 mediamachine11.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 10 50 25060 mediamachine12.somecompany.com.
So if I have understood these lines right it means, that first three proxies are main for taking care of the rtp traffic? 1st proxy 25% 2nd proxy 25% 3rd proxy 50% ? Ok the last lines are then the failback proxies? OK if this is true,. i just don't know how to go further,.. I know that i have to put these lines in /etc/bind/ But i dont know how to use them in zones file.
Also i wuold like to know what i have to confiure in mediaproy.ini to make that working,... I just cant find any exact explanation on net :(
I would be very thankfull for any help given. Regards Dejan Slovenia
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
In the mediaproxy there's a nice README describing this. I'll try to make a short summary:
SER machine: you have to set mediaproxy to act as a dispatcher for the domain name you want to use as the "mediaproxies domain". The mediaproxy.ini should be something like:
[Dispatcher] start = yes socket = /var/run/proxydispatcher.sock group = ser defaultProxy = domain://somecompany.com [MediaProxy] start=no
This would instruct the mediaproxy dispatcher colocated to the SER instance to make DNS queries for the domain somecompany.com.
Next step is to configure DNS server to provide somecompany.com SRV queries (next lines should be included in zone file describing somecompany.com):
_mediaproxy._tcp IN SRV 0 25 25060 mediamachine1 _mediaproxy._tcp IN SRV 0 25 25060 mediamachine2 _mediaproxy._tcp IN SRV 0 50 25060 mediamachine3 _mediaproxy._tcp IN SRV 10 50 25060 mediamachine11 _mediaproxy._tcp IN SRV 10 50 25060 mediamachine12
;INSERT the IPs of every mediamachine mediamachine1 IN A 192.168.1.1 mediamachine2 IN A 192.168.1.2 mediamachine3 IN A 192.168.1.3 mediamachine11 IN A 192.168.1.11 mediamachine12 IN A 192.168.1.12
Last thing is to configure mediaproxy.ini in the mediamachines to accept mediaproxy queries from the SER machine and to start mediaproxy:
[Dispatcher] start = no [MediaProxy] start=yes allow=whateveryouthingyoushouldpoutinhere
Hope it helps,
Samuel.
2006/5/1, Dejan Kovacevic dejan.kovacevic@volja.net:
Hello all.
I have installed ser 0.9.7 and configured it to work with mediaproxy. For now it (mediaproxy) is running locally on the same machine as ser. But i want make it with load balancing. But i dont know how to configure DNS SRVS For example if my ser is running on machine; example.somecompany.com then i have to add these lines?
_mediaproxy._tcp.example.somecompany.com. IN SRV 0 25 25060 mediamachine1.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 0 25 25060 mediamachine2.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 0 50 25060 mediamachine3.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 10 50 25060 mediamachine11.somecompany.com. _mediaproxy._tcp.example.somecompany.com. IN SRV 10 50 25060 mediamachine12.somecompany.com.
So if I have understood these lines right it means, that first three proxies are main for taking care of the rtp traffic? 1st proxy 25% 2nd proxy 25% 3rd proxy 50% ? Ok the last lines are then the failback proxies? OK if this is true,. i just don't know how to go further,.. I know that i have to put these lines in /etc/bind/ But i dont know how to use them in zones file.
Also i wuold like to know what i have to confiure in mediaproy.ini to make that working,... I just cant find any exact explanation on net :(
I would be very thankfull for any help given. Regards Dejan Slovenia
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers