How to change/stop HCL validation and Sync updates scheduled task in the vCenter.
search cancel

How to change/stop HCL validation and Sync updates scheduled task in the vCenter.

book

Article ID: 375404

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

The default schedule for the tasks

VMware vSphere Lifecycle Manager HCL Validation - Daily

VMware vSphere Lifecycle Manager Update Download - Daily

How to reschedule the sync updates task and stop HCL validation.

Environment

VMware vCenter Server 8.0.x

Cause

In vCenter 8.0 GA/8.0a, these tasks provide an option for edit which was discovered to be a known issue since the tasks cannot be edited due to their pre-defined nature.

Resolution

-Editing these two tasks (sync updates and HCL validation) is not possible since they are created via lifecycle manager 

 

Steps to change/disable sync-update task's runtime/schedule:

-Lifecycle manager->settings->edit->Download schedule (Uncheck the "Download patches" checkbox to Disable)

Steps to disable HCL validation task:

 

-Login to vCenter's SSH

-Navigate to: cd /usr/lib/vmware-updatemgr/bin

-Run vi vci-integrity.xml

-Press insert on your keyboard and navigate to the following line:

 

<HclConfig>

    <EnablePeriodicHclValidation>true</EnablePeriodicHclValidation>

    <PeriodicHclTaskTimeoutSeconds>3600</PeriodicHclTaskTimeoutSeconds>

    <PeriodicHclValidationStartHour>4</PeriodicHclValidationStartHour>

    <PeriodicHclValidationStartMinute>30</PeriodicHclValidationStartMinute>

  </HclConfig>

 

-Change the value in the above highlighted line to false

    <EnablePeriodicHclValidation>false</EnablePeriodicHclValidation>

-This should essentially remove this task from the scheduled task pane on the vCenter instance. 

-Once removed, restart the following services: service-control --restart vmware-updatemgr && service-control --restart vsphere-ui
-This task as cannot be recreated from scheduled tasks pane, can nonetheless be enabled back by changing the value above back to true