We have a server with a 10Gb nic and we want to fully utilize that capacity by using two instances of wowza streaming engine, but my question is regarding how to do it.
To start with i want to have one of the instances to have an origin application with loadbalancerlistener and transcoding enabled + an edge application with loadbalancersender pulling from the origin application on the same instance.
Then i want the second instance to just have an edge application with loadbalancersender pulling from the origin on the first instance.
So i am wondering do i have to have separate ip addresses for the instances since the loadbalancer addon communicates via port 1934 or can it be done in another way?
And the second question is do i still have to copy smil files to the second instance even though everything is on the same physical server, and is there a way to automatically generate a SMIL file when a stream is published to the server?
Also, which way is best to use loadbalancer with Jw player when you are only streaming though HLS: "Get least loaded server using http" or "Get least loaded server using Netconnection redirect"?
And is there any example code of how to use the loadbalancer while using Jw player?
If you run
multiple instances on one server you will want to split them up by IP address of which you can designate within your VHost.xml configuration file on each respective instance. Your load balancer configuration setup seems sound and you can have both instances report (as a sender) to the first instance load balancer listener over 1934.
To obtain the least loaded edge via http, you might checkout
this forum post for some guidance.