Persistent Log Growth: va-migration.log under /storage/log/vmware/vcac continues to increase in size eventually filling up drive
search cancel

Persistent Log Growth: va-migration.log under /storage/log/vmware/vcac continues to increase in size eventually filling up drive

book

Article ID: 325965

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to configure the log rotation for the va-migration.log file in the VMware vRealize Automation appliance by file size.

Environment

VMware vRealize Automation 7.4.x

Resolution

For each appliance in the cluster:
  1. SSH in to the VMware vRealize Automation appliance(s).
  2. cd /etc/logrotate.d/
  3. Edit vcac.lr file and add the size entry. See example below
Note: 
  • This sets the minimum file size detected before rotation occurs. 
  • Ensure the file ends with a closing curly bracket "}"
  • As is seen from example below, the format of the log configuration is very important. It is necessary to setup the shown offset

/var/log/vmware/vcac/va-migration.log {
   rotate 8
   nodateext
   compress
   size 15M
   missingok
   nocreate
   notifempty
   sharedscripts
   postrotate
        /etc/init.d/syslog reload > /dev/null
    endscript
    su root root
}
  1. Restart the vRealize Automation service:
service vcac-server restart