Several non-rotated logfiles are generated by components installed with Momentum 4. You must set up log rotation for these logfiles to prevent them from growing very large over time. For a list of the non-rotated logfiles, see Rotating Logs ec_rotate .
Follow the steps below to set up log rotation for Vertica.
Create an empty file.
Apply read/write permissions to the new file.
chmod a+rw /opt/vertica/config/logrotate/msys
Change to the
sudo su –
Set up weekly log rotation on the
msysdatabase. Also set files older than 12 days to be deleted.
admintools -t logrotate -d msys -r weekly -k 12
The log is only rotated if it is over 10M.
For more information, see HP Vertica Analytics Platform Version 7.1.x Documentation