![]() |
|
|
|
#1
|
|||
|
|||
|
This package provides system for load balancing between multiple Wowza Servers. Each edge server is configured to use the ServerListenerLoadBalancerSender ServerListener class. We will call these servers the "edge" servers. Edge servers will periodically (about every 2.5 seconds) send load and status information over UDP to a single (or multiple) Wowza Server server running the ServerListenerLoadBalancerListener ServerListener. We will call this server the "load balancer". The load balancer will keep track of the load and availablility of each of the edge servers to which it is communicating. See the README.html file in the package for detailed instructions:
Version for Wowza Media Server 2.0.0 or greater LoadBalancer_2.0.zip Version for Wowza Media Server Pro 1.7.x LoadBalancer.zip Note: This package requires Wowza Server 1.6.0-patch19 or greater. Enjoy, Charlie Last edited by charlie; 07-19-2010 at 01:06 PM. |
|
#2
|
|||
|
|||
|
Hi,
I’m deploying Wowza in a Load Balancing and Stream Repeater configuration with two Origin servers and two Edge servers. I followed the Load Balancing and Stream Repeater reference documents and it works fine. As I’m going to use the JW player as client, I was looking for information on how to use Load Balancing with Wowza and I found at the Longtailvideo website a plugin for the JW player called: “Load Balancing for Wowza” (click here for more information about it) I would like to have a little bit information about this plugin. The setup instructions are not clear to me, but it seems interesting because it manage a load balancing “servlist” that is going to be check by the plugin. I would like to have a list with my two load balancers and if one of them is not available, to use the second one. Do you think it possible with this plugin? Is someone using it? Thanks in advance, Angel |
|
#3
|
|||
|
|||
|
You dont need to use that plugin any more a standard loadbalanced setup works just fine
|
|
#4
|
|||
|
|||
|
Thanks Steveh, but how can I tell to the player to use a secondary load balancer if the first one is not responding?
|
|
#5
|
|||
|
|||
|
You could use code in the player similar to the protocol rollover, and rollover to another load balancer server. You can adapt from this post:
http://www.wowzamedia.com/forums/showthread.php?t=576 If the connect fails you would try another load balancer. Richard |
|
#6
|
|||
|
|||
|
Thank you Richard for your answer.
I was reading the thread but I wouldn't like to change the JW source code. My question was only about if the Wowza Load Balancing plugin for JW player could help me to implement this behaviour. |
|
#7
|
|||
|
|||
|
Hi, I think I got confused a little with the LB, Origin-Edge configuration. Just so I'm clear the liverepeater is for LIVE only. If I want to do LB for VOD I have to copy the content across servers?
|
|
#8
|
|||
|
|||
|
hello,
But in this way would necessarily work on the player setting the conditions for checking the URL to connect to. Is there a way that allows you to balance the servers despite having to use JW player? Moreover, this system is applicable for channels live type? |
|
#9
|
|||
|
|||
|
You can build your own startup package to do this. We have not built one as of yet. Probably will not get done in the short term.
Charlie |
|
#10
|
|||
|
|||
|
Thanks for the quick reply.
Is the wms-plugin-loadbalancer.jar included in the current EC2 AMI's or will that need to be uploaded every time a new edge/loadbalancersender instance is created? Same for the crossddomain.xml file for the loadbalancerlistener? When creating the startup pkg, do I simply add/edit the following files to liverepeater-edge.zip /liverepeater-edge/wowza/conf/Server.xml (add) /liverepeater-edge/wowza/conf/loadbalancertargets.txt (add) /liverepeater-edge/wowza/conf/VHost.xml (add) /liverepeater-edge/wowza/conf/Application.xml (edit) /liverepeater-edge/wowza/conf/redirect/Application.xml (add) /liverepeater-edge/wowza/applications/redirect (add) and the following files to liverepeater-origin.zip /liverepeater-origin/wowza/conf/VHost.xml (add) /liverepeater-origin/wowza/conf/Server.xml (add) ... or is there more to it than that? Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|