Handling Method upon Integrity Check Failure

Symptom

If the verification of the active and standby AI-VAULT databases fails, the error message will be printed in run logs, as shown in Figure 2. As a result, data query, creation, and deletion will fail, AI-VAULT cannot be started or run properly, and the system deems that the database has been tampered with.

Figure 1 Database file deleted
Figure 2 Database file modified

Figure 3 Restarting the AI-VAULT run log after the database is tampered with

Solution

  1. If a database file is damaged or deleted, new keys cannot be created during the running. You need to restart AI-VAULT to automatically restore the database file.
  2. If both the active and standby databases are damaged or deleted, the system cannot be automatically restored. In this case, delete the active and standby databases and restart the application.
  3. If the data in the same table of the active and standby databases is modified, the data cannot be automatically restored during the running. Query the modified records of the active and standby databases based on the logs, delete the records, replace the database files, and restart the database to restore the data.