Useful tips when working with Wowza
This page can be used to collect useful commands and hints for working with wowza on different environments.
To restart wowza server do
- Log in as user wowza
Run the command (in ~/bin):
Connect to Wowza JMX remote console
- Start JConsole locally
- Insert the connection string for specific environment
TEST (Iapetus): service:jmx:rmi://22.214.171.124:9341/jndi/rmi://126.96.36.199:9342/jmxrmi
- Username and password is admin/admin
- STAGE (...):
PROD (thalassa): service:jmx:rmi://188.8.131.52:9341/jndi/rmi://184.108.40.206:9342/jmxrmi
The specific port numbers can be found in the Server.xml file. This is also the file that configures whether the remote JMX connection is enabled or not.
Install performance test application
This application is assumed installed under the DOMS VHhost with root folder /home/doms/wowza_vhost_doms
Create testperformance application folders:
mkdir applications/testperformance mkdir conf/testperformance mkdir content/testperformance
Copy Application.xml to conf/testperformance
Copy media file to content/testperformance. Mediafiles are located at Iapetus: /home/wowza/services/wowza_vhost_doms/content/testperformance. Copy all 20 files.
- Restart Wowza
The testperformance application is removed by deleting the 3 folders and restarting the Wowza server.