Results 1 to 9 of 9

Thread: i dont understand load balance setup :(

  1. #1

    Default i dont understand load balance setup :(

    I want to setup loadbalance between 2 wowza server for shoutcast application.but i dont understand load balance structure.

    I want to first listener connect and listen from first server, next listener connect to second server
    or
    when first server reach the full capacity, than redirect listener to second server.

    i need a understand load balance structure.
    i was read wowza load balance setting up guide. found some codes on this guide, for listener, for edge and for sender.

    what should be a first server ? (Listener, sender, edge ? ) (
    what should be a second server ? (Listener, sender, edge ? )

    is listener code in server xml must be a 2 server or only 2. server ?

    thank you for your help

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    It more like the first. The Load Balancer Listener just returns the "least loaded server" in the edge cluster. If you start out with several servers, it will look like a round-robin, one then the next then the next. If you add a server it will get all the connections for awhile until it has more than one of the other busy server.

    Richard

  3. #3

    Default

    Thank you Richard

    i need a this answer
    what should be a first server ? (Listener, sender, edge ? ) (
    what should be a second server ? (Listener, sender, edge ? )

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    The Listener can be anywhere really. If you are doing live streaming you might put it on the same server as the origin, but it doesn't matter.

    Each edge must also be a Load Balancer Sender. That is the important pairing

    Best to dig in, get it setup and start testing.

    Richard
    Last edited by rrlanham; 02-20-2013 at 01:38 PM.

  5. #5

    Default

    now running

    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <LoadBalancerServerInfo>
    <LoadBalancerServer>
    <connectCount>360</connectCount>
    <status>RUNNING</status>
    <redirectCount>0</redirectCount>
    <lastMessage>1 second 344 milliseconds</lastMessage>
    <redirect>edge server ip</redirect>
    <serverId>**********</serverId>
    </LoadBalancerServer>
    </LoadBalancerServerInfo>

    but not redirect any live stream to edge

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You have to retrieve the least loaded server and do something with it. Typically you do it in the application server as you forming a player.

    Flowplayer and JW player 5 have built-in support for the NetConnection redrect method, which is shown in the LB package readme

    Richard

  7. #7

    Default

    Hi
    i was try redirect example in lb package, but this code redirect all connections to edge server.
    I need load balance between two server.
    how can i do this ?

  8. #8
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi
    Have you set 1 server to be the origin and the other to be the edge (sender)?
    If you only have 2 servers in this configuration you'll have to make 1 an origin/edge so redirecting to itself and the other edge server.

    You need to have multiple edge servers to balance the load, if you only have the one it will get all the load.

    Jason

  9. #9

    Default

    Now i do it
    Thank you everybody for help.

    loadbalancer wowza stream port : 1935
    edge servers port : 80

    how can i redirect rtmp port 1935 request to rtmp port 80 on edge server ?
    thank you

Similar Threads

  1. Load balance betwee 2 servers
    By gfmileo in forum General Forum
    Replies: 2
    Last Post: 04-07-2014, 08:06 AM
  2. Load Balance sessions
    By cham24 in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 01-14-2013, 08:33 AM
  3. load balance like active backup
    By xzerth in forum Server Administration Discussion
    Replies: 3
    Last Post: 12-04-2011, 03:15 PM
  4. Load Balance add 1 Origin more
    By Xsplit in forum General Forum
    Replies: 3
    Last Post: 11-28-2011, 10:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •