Skip to main content

Updates

DataStream supports both automatic and manual update methods for Directors, Clusters, and Agents. Organization-level defaults can be overridden at the component level through the Custom update policy toggle. You can also choose the Director version that your Directors run, and roll a Director or a cluster back to an older version.

Update Modes​

ModeDescription
ManualAdministrator manually downloads the version the Director is set to run (see Director Version), or the latest Agent version, and starts the installation. For a cluster, Manual is one download, installed on each of its Directors; a self-managed cluster is always on Manual. See Clusters
AutoSystem automatically handles updates based on configured method

Update Methods​

When Auto mode is selected, three methods are available:

MethodDescription
User ActionUpdates available in GUI; administrator confirms and triggers
ImmediateUpdates applied automatically when available
ScheduledUpdates applied according to cron or interval schedule

Scheduling Options​

When using the Scheduled method, two scheduling approaches are available:

Cron-Based Scheduling:

Standard cron expressions for precise timing control:

0 2 * * 0 # Every Sunday at 2:00 AM
0 3 * * 1-5 # Weekdays at 3:00 AM
0 0 1 * * # First day of each month at midnight

Interval-Based Scheduling:

Duration-based intervals for regular polling:

1h # Check every hour
30m # Check every 30 minutes
24h # Check daily

See Cron-Based Scheduling and Interval-Based Scheduling for detailed syntax.

Configuration Hierarchy​

Update settings follow a three-tier hierarchy where lower levels can override higher levels:

LevelLocationScope
OrganizationOrganization > Settings > Update ManagementDefault rules for all Directors and Agents
Director/ClusterFleet Management > DirectorsOverride organization defaults via the Custom update policy toggle
AgentDevices > Windows, Linux, Oracle Solaris, AIX or macOSOverride organization agent defaults via the Custom update policy toggle

The update settings decide when a Director installs a new version. The version it installs has an order of its own. See Director Version.

Director Version​

Each Director is set to run the version chosen for it. You can choose a version for the whole organization, for a cluster, or for one standalone Director. The most specific choice wins:

OrderVersionWhere it is set
1The Director's own version. Only a standalone Director has oneThe Director's Update management tab
2Its cluster's version. Every Director of the cluster is set to run itThe cluster's Update management tab
3The organization's versionOrganization > Settings > Update Management
4The platform defaultSet by VirtualMetric

To choose a version, see Choosing the Director Version.

How the version works:

  • The version and the update policy are separate settings. The update policy decides when a Director installs a version: Manual, or Auto with its method. The version decides which version it installs. A Director or a cluster can follow the organization's update policy and still have a version of its own.
  • A chosen version stays as it is. When the platform default moves to a newer version, a Director with a chosen version stays on its version. The console then shows that a newer version is available (see When a Newer Version Is Available).
  • Clearing a choice makes that level follow the level above it.
  • A Director in a cluster has no version of its own. It is set to run the cluster's version.
  • The list of versions is the list that VirtualMetric offers in your region. VirtualMetric can withdraw a version from the list. A withdrawn version can't be chosen anymore. A level that is already set to it stays on it, and the list shows it as, for example, "2.6.0 (no longer offered)".
  • A version older than the one a Director runs is refused. The message names the Director, for example: "Director edge-01 runs version 2.8.0, which is newer than 2.7.0. Use Roll back on the director, or on its cluster, to move it back to an older version." To go back, see Rolling Back to an Older Version.
  • A Manual update downloads the version that the Director, or its cluster, is set to run.
  • A new Director follows its organization's version, and its installation command installs that version. The creation wizard has no version field.
  • Agents follow their Director. An Agent is never updated past the version its Director runs.
  • A Serverless Director runs the version that its container image carries. A Director deployed from a shared image always runs the platform's default version, whatever version is chosen for it.
  • Who can change it: the users who can change the update settings at that level. That is the permission to edit the organization's settings, the cluster or the Director.

The version key of the Director's update configuration (see Configuration) holds the version that the Director is set to run. The platform writes it there.

When a Newer Version Is Available​

When a level has a version of its own and a newer version can be chosen, the level's update settings show "Version 2.8.0 is available". The notice has two buttons:

  • Use version 2.8.0 picks the newer version.
  • Follow the organization's version clears the choice. On the organization's page, this button is Follow the platform default.

Neither button saves anything. Each one opens the editor, or the organization's dialog, with that choice picked. Save there to confirm it.

Automatic Updates​

Auto Update enables Directors to automatically update themselves when new versions become available. The feature supports immediate and scheduled update methods with built-in rollback capability and cryptographic signature verification.

Configuration​

Auto Update is configured through the update section in the Director configuration:

PropertyTypeRequiredDescription
modestringYSet to auto to enable automatic updates. An Orchestrated Director whose machines update one at a time receives its automatic policy as rolling
methodstringYUpdate trigger method: immediate or schedule
versionstringYTarget version to update to. The platform writes the version that the Director is set to run (see Director Version)
cronstringNCron expression for scheduled updates (schedule method only, minimum 30 seconds)
intervaldurationNFallback polling interval if no cron specified (default: 30s minimum)

Example Configuration:

update:
mode: auto
method: schedule
version: "2.5.0"
cron: "0 2 * * 0" # Every Sunday at 2:00 AM

Update Methods​

Immediate Method:

Triggers the update as soon as possible after configuration is applied. A 10-minute cooldown prevents rapid retry attempts if the update fails.

update:
mode: auto
method: immediate
version: "2.5.0"

Schedule Method:

Updates occur according to a cron schedule or interval-based polling:

  • Cron Expression: Use standard cron syntax for precise scheduling (e.g., 0 2 * * 0 for Sunday at 2:00 AM)
  • Interval Fallback: If no cron is specified, updates check on the configured interval
update:
mode: auto
method: schedule
version: "2.5.0"
interval: 1h # Check hourly

Update Process​

When an update triggers, the Director performs these steps:

  1. Version Check - Compares current version against configured target version
  2. Service Stop - Gracefully stops the running Director service
  3. Backup - Creates timestamped backup of current binary and configuration
  4. Download - Retrieves new binary from Fleet management instance
  5. Signature Verification - Verifies Ed25519 signature of downloaded binary
  6. Deployment - Replaces current binary with new version
  7. Resource Update - Updates package resources (pipelines, definitions)
  8. Service Start - Restarts the Director service

If any step fails, the rollback system automatically restores the previous binary and configuration.

Health Reporting​

During an update, the Director reports additional health information:

FieldDescription
versionCurrently running Director version
scheduled_versionTarget version pending update
architectureSystem architecture (amd64, arm64, etc.)
osOperating system (windows, linux, darwin)

The scheduled version field appears in health reports after an update is triggered but before it completes, allowing monitoring systems to track pending updates.

Update Logs​

Update progress is logged to the Director activity stream. Log entries include:

  • Update triggered timestamp
  • Download progress and completion
  • Signature verification result
  • Deployment success or failure
  • Rollback actions (if update fails)

Security​

Auto Update includes multiple security measures:

  • Ed25519 Signature Verification: All downloaded binaries are verified against cryptographic signatures before deployment
  • Secure Download: Binaries are downloaded over HTTPS from the Fleet management instance
  • Rollback Protection: Failed updates automatically restore the previous working version
  • Path Traversal Protection: Archive extraction validates paths to prevent directory escape
warning

Auto Update requires network connectivity to the Fleet management instance. Ensure firewall rules allow outbound HTTPS connections to the configured Fleet instance URL.

Manual Updates​

Manual updates provide direct control over the update process, suitable for environments with strict change management requirements or air-gapped deployments.

Directors​

Update Procedure:

  1. Download the new Director version from VirtualMetric
  2. Stop the Director service:
    • Windows: Stop-Service vmetric-director
    • Linux: systemctl stop vmetric-director
  3. Backup current installation directory
  4. Extract new binary and resources to installation directory
  5. Start the Director service:
    • Windows: Start-Service vmetric-director
    • Linux: systemctl start vmetric-director
  6. Verify version:
    ./vmetric-director -version

Clusters​

Cluster updates require a rolling update strategy to maintain quorum and service availability.

Update Procedure:

  1. Plan update sequence - Identify all cluster members and update order. The meta leader comes first:
    • Find the meta leader: run curl http://127.0.0.1:15551/health on any Director and read the field cluster.meta_leader. The health endpoint listens on the loopback address only, at the port set by debug.remote_console.port, which defaults to 15551
    • Update the meta leader first, then the other Directors
  2. Verify cluster health - Ensure all nodes are healthy before starting
  3. Update one Director at a time, the meta leader first:
    • Remove node from load balancer (if applicable)
    • Stop Director service
    • Deploy new binary and resources
    • Start Director service
    • Verify node rejoins cluster
  4. Check the meta leader's log - When the meta leader has started on the new version, give it a minute or two, then read its log. It first looks for a split 5 seconds after its meta group starts and then every minute. If it logs the Warning "The meta group of this server counts only this server…", repair the cluster before any other Director is updated. See Meta Group May Be Split
  5. Verify cluster health between each node update
  6. Complete rollout - Confirm all nodes running new version, and look for the Warning in every Director's log once more

A cluster that runs a version without this Warning may be split without any sign in its logs. In a split cluster, one Director leads the meta group alone, and every Director names it as its meta leader. Updating that Director first lets it log the Warning before any other Director restarts, and a Director that restarts while the lone Director still leads drops what it had committed. In a healthy cluster, updating the meta leader first does no harm.

A Director has no command that shows how many members its meta group counts. The health endpoint's cluster.size is the configured number of members, so the Warning is the check.

An update does not give a meta leader to a cluster that has none. On an earlier version, a new cluster without a witness whose first meta leader stopped right after the cluster formed could stay without a meta leader until that Director came back. Such a cluster stays stuck after the update, because its Directors already hold their membership. Start the first meta leader again. See Cluster Has No Meta Leader.

warning

Never update more than one cluster member simultaneously. Maintain quorum throughout the update process to prevent service disruption.

Agents​

Agent updates are typically pushed from the managing Director. For manual updates:

Update Procedure:

  1. Download the new Agent version from the managing Director or VirtualMetric
  2. Stop the Agent service:
    • Windows: Stop-Service vmetric-agent
    • Linux: systemctl stop vmetric-agent
  3. Backup current Agent binary
  4. Deploy new binary to installation directory
  5. Start the Agent service:
    • Windows: Start-Service vmetric-agent
    • Linux: systemctl start vmetric-agent
  6. Verify version:
    ./vmetric-agent -version

Component Differences​

ComponentUpdate ContentsSourceNotes
DirectorsBinary + Package resourcesFleet instanceFull update includes pipelines, definitions, lookups
ClustersRolling updatesFleet instanceQuorum preservation required during update
Orchestrated DirectorsRolling updates, one machine at a timeFleet instanceOnly while every machine shares the built-in queue; otherwise manual. A failure stops the update. A machine whose new version does not start goes back to its old one, as above, but the machines already updated are not rolled back
AgentsBinary onlyManaging DirectorLighter update package, no pipeline resources

Configuring Updates in GUI​

Organization Defaults​

Configure organization-wide update defaults:

  1. Navigate to Organization > Settings
  2. Select Update Management tab
  3. Configure:
    • Update Mode: Manual updates or Auto updates
    • Auto update method (Auto only): On user action, Immediate, or On schedule
    • Schedule (Scheduled only): Cron expression or interval
  4. Click Save

These settings apply as defaults to all Directors and Agents unless overridden.

Choosing the Director Version​

For the Organization:

  1. Navigate to Organization > Settings, and select the Update Management tab.
  2. In the Directors section, Version to run shows the organization's version, for example "2.8.0, the platform default" or "2.7.0, chosen for the organization".
  3. Click Choose director version. The Choose the director version dialog opens. It says: "The version applies to every director, unless its cluster or the director has a version of its own."
  4. In Version to run, pick a version, or pick Follow the platform default (2.8.0). The list marks the platform default with "(platform default)".
  5. Click Save.

The dialog saves the version at once. The update settings have their own dialog and their own Save. Directors that follow the organization then install the version when their update method allows.

For a Director or a Cluster:

  1. Navigate to Fleet Management > Directors.
  2. Click the Director or cluster name to open the detail view.
  3. Select the Update management tab. Version to run shows the version and where it comes from, for example "2.7.0, chosen for this director" or "2.8.0, chosen for the organization".
  4. Click Manage director updates or Manage cluster updates.
  5. In Version to run, pick a version, or pick Follow the organization's version (2.8.0).
  6. Click Save changes.

The version doesn't need the Custom update policy toggle. If you change the version and the update policy together, the console saves the version first. If the version is refused, nothing else is saved, and the tab shows the reason.

A Director in a cluster shows "This director runs its cluster's version", with a Go to cluster button. Choose its version on the cluster's tab.

Director/Cluster Custom Policy​

Override organization defaults for specific Directors or Clusters:

During Creation:

  1. In the Director/Cluster creation wizard, locate the Update management step
  2. Enable the Custom update policy toggle
  3. Configure custom update settings
  4. Complete creation wizard

For Existing Directors/Clusters:

  1. Navigate to Fleet Management > Directors
  2. Click the Director or Cluster name to open detail view
  3. Select the Update management tab
  4. Click Manage director updates or Manage cluster updates
  5. Enable the Custom update policy toggle
  6. Configure custom update settings
  7. Click Save changes

Agent Custom Policy​

Override organization defaults for specific Agents:

During Creation:

  1. Navigate to Devices > Windows, Linux, Oracle Solaris, AIX or macOS
  2. Click Create to start device creation
  3. In the Update management step, enable the Custom update policy toggle
  4. Configure custom update settings
  5. Complete creation wizard

For Existing Agents:

  1. Navigate to Devices > Windows, Linux, Oracle Solaris, AIX or macOS
  2. Click the Agent name to open detail view
  3. Select the Update management tab
  4. Enable the Custom update policy toggle
  5. Configure custom update settings
  6. Click Save

Rolling Back to an Older Version​

You can move a standalone Director, or every Director of a cluster, back to an older version from the console. The rollback starts as soon as you confirm, even if the update policy normally waits for a schedule or a user action. The Agents of the Director or the cluster go back to that version too.

To roll back:

  1. Open the detail page of the Director or the cluster.
  2. Click Actions, and select Roll back director or Roll back cluster. The dialog shows the version that runs now. For a cluster, that is the newest version that one of its Directors runs.
  3. In Older version to run, pick a version. The list shows only the older versions that the Director or the cluster can be rolled back to, newest first.
  4. Click Roll back.

The Director restarts on the older version. The Directors of a cluster restart one at a time. The older version becomes the Director's or the cluster's own version choice, so it stays on that version until you choose another one. To move forward again, choose a newer version on its Update management tab, or let it follow the organization's version. See Choosing the Director Version.

When a Director has no copy of the older version on its machine, it downloads that version, with that version's resources, from the download server. It checks the download as it checks every update.

Roll back director is not offered for a self-managed Director or for a Director in a cluster. Roll back cluster is not offered for a self-managed cluster. You need the permission to edit the Director or the cluster.

When the Console Can't Roll Back​

Some Directors can't be rolled back from the console. The dialog then says "This director can't be rolled back from the console" or "This cluster can't be rolled back from the console", and gives the reason:

ReasonWhat to do
The Director is set to manual updates, so the platform never changes its versionSwitch it to auto updates, or install the older version by hand
The Director isn't connectedRoll it back once it is connected again. A cluster can be rolled back only while every one of its Directors is connected
The Director runs a version that doesn't support rollbackUpdate it to the newest version first, then roll it back
The version the Director runs isn't known yetTry again once the Director has reported its version
The Director gets a new version only when its container image changesChange the image to the older version where the Director is deployed
The Director runs a shared container image, which always has the platform's default versionThe console can't roll it back

A Serverless Director can be rolled back from the console only when the console can restart it, and it runs a container image of its own. On Kubernetes, the console can restart the Director. On Azure Container Apps, it can do so only when the Director's managed identity may restart the Director's own container app. See Self-Update on Azure Container Apps under Deployment. On Docker and Azure Container Instances, a Director gets a new version only when its image changes.

Versions the Console Leaves Out​

The list in the dialog leaves out the older versions that the Director or the cluster can't run. Under the list, the notice "Some older versions can't be chosen" gives one sentence for each reason. When no older version is left, the dialog says "No older version can be chosen".

A version is left out when:

  • It is older than 2.3.1. "Directors can't be rolled back below version 2.3.1."

  • A release between it and the running version changed what a Director keeps on disk. VirtualMetric marks such a release. A Director that ran it can't go back below it. The sentence names the release: "Version … changed what a director keeps on disk, so a director that ran it can't go back below it."

  • The data the Director keeps needs a newer version. See Data That Needs a Newer Version.

  • Something the Director or the cluster uses needs a newer version. The sentence names it, for example: "The device fw-syslog needs version 2.5.1 or later." These are the checks:

    What the Director or the cluster usesNeeds
    LogChain2.5.1
    A device with event split rules2.5.1
    A target with Protect sensitive data enabled2.6.0
    An Agent whose settings name a secret2.7.0
    A cluster's witness, or Strict cluster confirmation2.7.0
    The health probes of a Serverless Director's container2.7.0
    A cluster's Store copy2.8.0
  • The download server doesn't have the version for the operating system and architecture of a Director that the rollback moves, for example: "The download server doesn't have version 2.6.0 for linux/amd64, the system that edge-02 runs on, so edge-02 can't install it." A Serverless Director gets its version from its image, so this check doesn't apply to it.

The console checks again when you confirm. If something now blocks the version you picked, the rollback doesn't start. The dialog says "The rollback didn't start" and lists each reason.

Data That Needs a Newer Version​

A Director can't be rolled back below the oldest release that can read the data it keeps. A Director writes its data in the format of the release it runs, and an older release may not be able to read that format. After a rollback to such a release, the Director could not rebuild its streams from the data, or it would miss records.

So each Director keeps the oldest release that can read its data, and reports it to the platform. This value never goes down. A Director keeps it when it moves to another release, and also after its storage is removed. A Director of a release older than 2.8.0 reports no value. For such a Director, only the releases that VirtualMetric marks limit a rollback.

From release 2.8.0:

  • A Director that has run 2.8.0 can't be rolled back below 2.7.0.
  • A Director that keeps data in a store can't be rolled back below 2.8.0. That is a Director that keeps its built-in queue or its shared state in Azure Blob Storage, Amazon S3 or a network share, or a Director of a cluster with a Store copy. Release 2.8.0 writes this data in a format that 2.7.0 can't read. A Director that keeps its queue on its own disk and nothing in a store is not affected. See Persistent Storage.

The dialog names the Director, or the machine, whose data sets the limit:

  • "This director keeps data in its storage, and only version 2.8.0 or later can read it." For a cluster, the sentence names the Director instead of "This director".
  • "The data that the machine edge-01 keeps needs version 2.7.0 or later." For a cluster, the sentence names the Director.

When the platform doesn't know which releases can read a Director's data, the Director can't be rolled back to any older version. The dialog says why:

  • No recent report. A machine of the Director has sent no recent report, or a Director of the cluster has no machine connected. The sentence says that it "has not reported lately which versions can read its data".
  • The value can't be read. The Director can't read the file that holds the value. The sentence says that it "can't read the file in its data folder that says which versions can read its data". The file is readable-from, in the Director's data folder.

The Director checks the limit again itself, before it stops anything. If its data needs a newer version than the one chosen, it refuses the rollback and keeps running the version it has. The update then shows as failed, with the reason. In a cluster, the message names the Director that refused.