Updating
Upgrading 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
To update the config files, if necessary, look at the <<config>> chapter for the full description of the available parameters and sections. This is particularly important if the first or second number in the version is different than the installed version.
Restart the Services
Follow the instructions below:
systemctl restart tiaudit-logger
systemctl restart tiaudit
Re-loading the logs
If your version of tiCrypt is very old, you might consider *re-loading the logs from scratch to make sure all tiCrypt Audit features work properly.
Assuming that:*
- Your database name is
tiAudit - The log files are in 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
Re-start the services
systemctl start tiaudit
systemctl start tiaudit-logger