Aria Operations for Logs Agent Auto-Upgrade Behavior in Multi-Site Environments
search cancel

Aria Operations for Logs Agent Auto-Upgrade Behavior in Multi-Site Environments

book

Article ID: 449370

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

An Aria Operations for Logs agent is configured with multiple destinations (sites) running different versions (e.g., Site A on 8.18.0 and Site B on 8.18.5). Despite auto-update being enabled, the agent may exhibit the following behaviors:

  • The agent remains on the lower version (eg: 8.18.0).
  • The agent only upgrades to the latest version (eg: 8.18.5) after the lower-version site is removed or commented out from the configuration.

Environment

Aria Operations for Logs

Cause

The Aria Operations for Logs agent (liagent) prioritizes its version based on active communication with its primary or reachable destinations. In a multi-site configuration, the agent may maintain compatibility with the lower-version site to ensure continuous log delivery, effectively 'pinning' its version until the conflict is resolved.

Resolution

To force an agent to upgrade to the latest available version in a multi-site environment, follow these steps:

1. Identify the Target Version

Confirm which site holds the desired version (e.g., Site B running 8.18.5).

2. Modify Agent Configuration

Temporarily isolate the agent to communicate only with the higher-version site:

  • Locate liagent.ini on the target system:
    • Windows: C:\ProgramData\VMware\Log Insight Agent\liagent.ini
    • Linux: /etc/liagent.ini
  • Comment out the [server] block or the specific hostname for the lower-version site (8.18.0).
  • Ensure auto_update=yes is set under the [update] section.

3. Restart Agent Service

Restart the service to trigger the check for updates against the remaining active site:

  • Windows: Use the Service MMC snap-in to restart VMware Aria Operations for Logs Agent.
  • Linux: Run the command: systemctl restart liagentd

4. Verify Upgrade

Once the agent has upgraded to 8.18.5, you may uncomment the lower-version site. The agent will typically remain on the higher version while continuing to send logs to both destinations.