Wowza Community

How to verify load balancing is working

Hi,

I’ve confirmed my origin and edge server work.

I set up the load balancing according to the directions and all seems to be correct.

Here’s the setup:

  1. origin server with listener, running a paid for wowza server

  2. edge server, development edition

I wrote a flex app that can make any number of connections to the server.

The problem is I never “see” any connection attempts to the edge server. The question is, “How do I confirm that the load balancer is, well, balancing?”

Thanks,

Douglas

You can check the Load Balancer HTTProvider serverInfoXML:

http://[load-balancer-ip-address]:1935/loadbalancer?serverInfoXML

And you can look at each edge directly:

http://[wowza-edge-address]:8086/connectioninfo
http://[wowza-edge-address]:8086/connectioncounts

You have to add a password to /conf/admin.password file for access to these two

Richard

Hi,

With a thousand connections I still see no balancing activity. I ran the loadbalancer?serverInfoXML and it shows 1000 connections, the serverinfo on the edge server shows no activity (plus I’m running that in debug mode in the IDE).

However, on the load-balancer console I do see "INFO … pending connect to [edge] followed by “INFO connected to [edge]”

How does this work? I thought it was a round-robin algorithm.

Thanks,

Douglas

So, I switched to using the wowza server instead of the IDE debugger on the edge side and now I see balancing activity. Hmmm…?