Updating
Updating tiCrypt Audit requires the following steps:
- Download the new RPM
- Install the new RPM
- Edit the configuration files to bring them up to date
- Restart tiCrypt Audit services
Audit updates are delivered through the Ansible-based installer (ticrypt-setup). Re-run ./install.sh --all or a targeted step to apply the latest packages to your deployment.
For manual update scenarios (not recommended), download the latest audit RPM from your Tera Insights package repository.
Updateโ
If the configuration files need updating, see the Configuration and Setup chapter for the full description of the available parameters and sections. This is particularly important if the major or minor version number differs between the new and installed versions.
Restart the Servicesโ
Run the following commands:
systemctl restart tiaudit-logger
systemctl restart tiaudit
Reloading the logsโ
If your version of tiCrypt is old, consider reloading the logs from scratch to ensure all tiCrypt Audit features work properly.
Assuming that:
- Your database name is
tiAudit - The log files are in the directory
/var/log/ticrypt
To reload the data from scratch, do the following:
Stop the servicesโ
systemctl stop tiaudit
systemctl stop tiaudit-logger
Delete the databaseโ
clickhouse-client
drop database tiAudit
Load the dataโ
tiaudit-log-uploader -c /etc/tiaudit/log-uploader.toml /var/log/ticrypt
Restart the servicesโ
systemctl start tiaudit
systemctl start tiaudit-logger