JMX Tool

Java VisualVM is a tool that provides a visual interface for viewing detailed information about Java applications while they are running on a Java Virtual Machine (JVM), and for troubleshooting and profiling these applications.

Usage

Step1: Fetch IoTDB-sever.

Step2: Edit configuration.

  • IoTDB is LOCAL View $IOTDB_HOME/conf/jmx.password, and use default user or add new users here. If new users are added, remember to edit $IOTDB_HOME/conf/jmx.access and add new users’ access

  • IoTDB is not LOCAL Edit $IOTDB_HOME/conf/iotdb-env.sh, and modify config below:

  1. JMX_LOCAL="false"
  2. JMX_IP="the_real_iotdb_server_ip" # Write the actual IoTDB IP address

View $IOTDB_HOME/conf/jmx.password, and use default user or add new users here. If new users are added, remember to edit $IOTDB_HOME/conf/jmx.access and add new users’ access

Step 3: Start IoTDB-server.

Step 4: Use jvisualvm

  1. Make sure jdk 8 is installed. For versions later than jdk 8, you need to download visualvmJMX Tool - 图1 (opens new window)

  2. Open jvisualvm

  3. Right-click at the left navigation area -> Add JMX connection JMX Tool - 图2

  4. Fill in information and log in as below. Remember to check “Do not require SSL connection”. An example is: Connection:192.168.130.15:31999 Username:iotdb Password:passw!d JMX Tool - 图3