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 <<config>> 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