CHAOS Wowza plugin configuration description - Version 2.0
This page describes how to configure the Wowza plugin.
wowza_vhost_chaos/conf/chaos/Application.xml
Make a symbolic link from <VHost-root-dir>/content library. The symbolic link must link to the streamingContent folder of BES. I.e. the same folder that the ~bes/data/streamingContent folder points to on a BES-machine https://sbprojects.statsbiblioteket.dk/display/BES/Machines+used+by+BES. If BES is running on the same machine, create the link in ~wowza/service/wowza_vhost_chaos
ln -s ~bes/data/streamingContent content
wowza_vhost_chaos/conf/chaos/chaos-streaming-server-plugin.properties
Set URL of the MCM server used for validating request.
GeneralMCMServerURL=http://chaos.larm-archive.org/API_Larm/PortalService.svc
Set URL for BES REST-service:
GeneralBESServerURL=http://iapetus:9311/bes_DEVEL/rest/bes/
Configure database logging:
StatisticsLoggingLocallyInDB=true StatisticsLoggingJDBCDriver=org.postgresql.Driver StatisticsLoggingDBConnectionURL=jdbc:postgresql://localhost:5432/larm-devel StatisticsLoggingDBUser=larm StatisticsLoggingDBPassword=larm1234
wowza_vhost_chaos/conf/VHost.xml
Set port numbers for the virtual host in the element <Port>. The HTTP-listener port is located approximately at line 10 in the file. Default is 1935.
<Port>1936</Port>
The Admin host port is further down, approximately 91 lines down. Set it to an available port. Default is 8086
<Port>8087</Port>
wowza/conf/VHosts.xml
Create a virtual host for the wowza plugin. This is configuring the server and not the virtual host.
<VHost> <Name>_chaosVHost_</Name> <ConfigDir>/home/wowza/services/wowza_vhost_chaos</ConfigDir> <ConnectionLimit>0</ConnectionLimit> </VHost>
wowza/conf/Server.xml
Enable JMX console by changing values in wowza/conf/Server.xml.
<JMXRemoteConfiguration> <Enable>true</Enable> <IpAddress>[ip-address-of-wowza-server]</IpAddress> <RMIServerHostName>[hostname-of-wowza-server]</RMIServerHostName>
Firewall
Open firewall port 1936 for streaming.
Change log
- 2012-01-13: Created page