The implementation of live streaming load balancing requires two parts: 1. server load balancer listening server; 2. edge server configuration. I. server load balancer listener server configuration 1) first confirm that the wowza Server has been installed and download the server load balancer package wms-plugin-loadbalancer.jar from the official website; 2) copy the package to the server and copy it to the [install-dir]/lib/Folder. 3) copy the crossdomain in the conf folder. the implementation of xml live streaming load balancing requires two parts: 1. server load balancer listening server; 2. edge server configuration.
I. server load balancer listener configuration 1) first confirm that the wowza Server has been installed and the server load balancer package wms-plugin-loadbalancer.jar has been downloaded from the official website;
2) upload the package copy to the server and copy it to the [install-dir]/lib/folder;
3) copy the crossdomain. xml file in the conf folder to the [install-dir]/conf directory;
4) edit the Server. xml file in the [install-dir]/conf Directory. the modification content is as follows:
A) add the following content in ServerListeners:
5) modify the [install-dir]/conf/VHost. xml file
In the HTTPProviders configuration phase, modify and add the following content on com. wowza. wms. http. HTTPServerVersion:
The server load balancer is configured here.
2. configuration and deployment of edge servers 1) upload the wms-plugin-loadbalancer.jar package copy to the server and copy it to the [install-dir]/lib/folder;
2) edit the Server. xml file in the [install-dir]/conf Directory. the modification is as follows:
A) add the following content in ServerListeners:
Com. wowza. wms. plugin. loadbalancer. ServerListenerLoadBalancerListener
/* Enable the listening function for the above configuration items
B) set the attributes of the edge server.
3) create the [install-dir]/conf/loadbalancertargets.txt file and add the following content:
10.0.20 9.172, 1934,023 D4FB4IS83
4) test
A) obtain the edge server load information
Http: // [load-balancer-ip-address]: 1935/loadbalancer? ServerInfoXMLB) obtains the server with the smallest load.
Http: // [load-balancer-ip-address]: 1935/loadbalancer
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.