Administration Guide

CMR administration

CMR shutdown

To shutdown the CMR simply terminate the CMR process. The CMR uses a JVM shutdown hook to guarantee data integrity so it might take a few seconds for the process to be stopped. Please do not kill the CMR (e.g. kill -9) as this can lead to situations in which the database is instable. If a situation like this occurs you must delete the complete CMR database and start over.

CMR database administration

The CMR stores data in a local file-based database. This database is located within the folder db situated in the root folder of the CMR installation. 

In order to clear the database of inspectIT, perform the following steps:

  1. Shutdown the CMR
  2. Delete the db folder entirely
  3. Restart the CMR - The CMR will create the db folder again and initialize an empty database

Sometimes it is important to create a backup of the database. This can be done by:

  1. Shutdown the CMR
  2. Copy the entire db folder to your backup folder
  3. Start the CMR again

In order to integrate a old backup, you just need to stop the CMR and copy the old db folder into the CMR folder structure.

Log clearing

The CMR writes various log files to the [CMRLocation]/logs folder. These can be deleted at any time if you want to save harddisc space.

Garbage collection log

The CMR will log its garbage collection activities by default to the [CMRLocation]/logs/gc.log. You can change the location of the GC log file in the CMR start-up script by editing the following JVM parameter:

-Xloggc:logs/gc.log