I have two Wowza licenses and two Amazon EC2 Wowza AMI instances.
Lets call server 1 - wowza1, and server 2 - wowza2.
I configured wowza1 to be origin and named the app 'liveorigin' and wowza2 to be edge and named the app 'liveedge'.
I was able to get encode to the origin and stream from the edge url.
I then added Load Balance Listener to wowza1 (origin) and added a Load Balance Sender to wowza2(edge).
Everything works, I was able to get the severInfoXML from the load balancer.
I follow the instructions for 'Get least loaded server using Netconnection redirect' and created a app named 'redirect' in the loadbalancer.
For the attributes:
The [application-name] should be 'liveedge' or 'redirect' in my situation?
I put 'redirect' and when I run the example client, it would not connect. However if I put 'liveedge', it would connect.
My other question is, in load balancing do clients connect to the 'liveorigin' app? or the 'redirect' app? or the 'liveedge' app? for the load balance to work?
Without Load balance it is:
encode to origin -> re streams to edge -> client streams from edge
With Load Balance it is:
origin -> edge
Listener -> Sender
Where would the client be in this example?