Adding Remote JMX for Red5

转自:http://www.arulraj.net/2009/11/adding-remote-jmx-for-red5.html

Red5 is an Open Source Flash Server written in Java that supports:

  • Streaming Video (FLV, F4V, MP4)
  • Streaming Audio (MP3, F4A, M4A)
  • Recording Client Streams (FLV only)
  • Shared Objects
  • Live Stream Publishing
  • Remoting

This is developed by Reverse Engineering of Adobe Flash Media server.  Red5 under the GNU Lesser General Public License. You can Modify and redistribute this software.


What is JMX …?

JMX stands for Java Management eXtension . JMX is written in java technology used to monitor and manage a java application or objects.

The configuration of jmx agent in red5.properties file. the properties are

red5.properties

# JMX
jmx.rmi.port.registry=9999
jmx.rmi.port.remoteobjects=
jmx.rmi.host=0.0.0.0
jmx.rmi.ssl=false

jmx.rmi.port.registry – the RMI registry port

jmx.rmi.host – the host value by default 0.0.0.0 . if the host is 127.0.0.1 you can’t access in remote. Normally this is your machine ip address.

you must open the firwall for the port 9999. then only you access from remote. For more information http://bit.ly/1ACRRY

you can visualize the jvm by using this software https://visualvm.dev.java.net/

After install this Add the remote Host and Add remote JMX connection by adding

service:jmx:rmi://192.168.2.6:9999/jndi/rmi://192.168.2.6:9999/red5

192.168.2.6 – ip address of red5

the default user name for jmx is “red5user” and password is “changeme” .  you can change this bu changing the access.properties and password.properties in red5 conf folder.


你可能感兴趣的:(Adding Remote JMX for Red5)