VMware Cloud Community
bartonpavel
Contributor
Contributor

Log Insight Agent autoupdate

Hello,

after upgrade from 4.0 to 4.3 version were not upgraded Agents automatically ( auto-update was enabled before upgrade ). Is there possibility how to force Agent upgrade manually from Log Insight server?

Thank you for help

5 Replies
admin
Immortal
Immortal

You need to add “[update ]auto_update=Yes” to your agent configuration (in liagent.ini on every machine or instance where the agent is installed).

Before the upgrade for the auto-update to work fully from server side in addition to the enable auto-update button to be checked.

Reply
0 Kudos
bartonpavel
Contributor
Contributor

Hi,

yes I know about this option in config file of Agent but in the situation when this option weren't set for Agents. Is there some workaround how to run upgrade for these Agents? Command from terminal or something like that? Or is needed to wait for another release or upgrade it manually?

Reply
0 Kudos
bartonpavel
Contributor
Contributor

If is set autoupdate to yes in config file of Agent then is only needed to restart agent and update is proceed immediately. Thank you for help

admin
Immortal
Immortal

Glad it worked for you.

Reply
0 Kudos
HawkieMan
Enthusiast
Enthusiast

I did a PowerShell script to push the autoupdate to my servers.

The key lines in the script are:

Add-Content 'C:\programdata\VMware\Log Insight Agent\liagent.ini' "`n auto_update=yes"

Restart-Service LogInsightAgentService

Restart-Service LogInsightAgentUpdaterService