Clean up state store of an Engine

warning Problem

Germain Engine contains a local database which keeps track of e.g. parsed log files. Sometime you just want to start from scratch and remove this local cache.

💡 Solution

Follow these steps to clear and recreate the local state store:

Step

Action

Details

1

Navigate to Germain Engine directory


2

Make sure the Germain Engines are stopped


3

Execute the following commands to clear & recreate the state store:


cd database
rm –rf hsqldb/*
nohup ./db-standalone.sh
./createStatestore.sh


4

Shut down state store DB


./db-exec.sh
shutdown;
\q


5

Restart Germain Engines


This procedure will remove the local cache stored by Germain Engine. Ensure you have backups if needed before proceeding.