How to modify inventory version synchronization cron job schedule in a VMware Cloud Foundation Environment?
search cancel

How to modify inventory version synchronization cron job schedule in a VMware Cloud Foundation Environment?

book

Article ID: 311975

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

  • Scheduled daily cron job is running at 3 AM server time to synchronize the inventory versions of the managed products within VMware Cloud Foundation Environment. 
  • Inventory version synchronization fails on a daily basis due to other operations scheduled for the same time.

 

Environment

VMware Cloud foundation 5.2

Cause

The default scheduled time for the inventory version synchronization job at 3 AM server time of the SDDC manager, interferes with other operations performed during that time.

Resolution

Follow the below steps:

1. Open a SSH session to the SDDC Manager VM and switch to the root user
   su -
2. In a text editor, open the file /etc/vmware/vcf/operationsmanager/application.properties and go to the end of the file
   vi /etc/vmware/vcf/operationsmanager/application.properties
3. Add/Change the following entry to the file with the desired cron job schedule (the below example is for 6 AM server time)
   inventory.version.sync.interval=0 0 6 * * ?
4. Type ESC and then :wq! to save the file
5. Restart the operationsmanager service
   systemctl restart operationsmanager


Workaround:

Currently there is no workaround.