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
| Mode | Description |
|---|---|
| Manual | Administrator 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 |
| Auto | System automatically handles updates based on configured method |
Update Methods
When Auto mode is selected, three methods are available:
| Method | Description |
|---|---|
| User Action | Updates available in GUI; administrator confirms and triggers |
| Immediate | Updates applied automatically when available |
| Scheduled | Updates 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:
| Level | Location | Scope |
|---|---|---|
| Organization | Organization > Settings > Update Management | Default rules for all Directors and Agents |
| Director/Cluster | Fleet Management > Directors | Override organization defaults via the Custom update policy toggle |
| Agent | Devices > Windows, Linux, Oracle Solaris, AIX or macOS | Override 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:
| Order | Version | Where it is set |
|---|---|---|
| 1 | The Director's own version. Only a standalone Director has one | The Director's |
| 2 | Its cluster's version. Every Director of the cluster is set to run it | The cluster's |
| 3 | The organization's version | |
| 4 | The platform default | Set 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 isFollow 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:
| Property | Type | Required | Description |
|---|---|---|---|
| mode | string | Y | Set to auto to enable automatic updates. An Orchestrated Director whose machines update one at a time receives its automatic policy as rolling |
| method | string | Y | Update trigger method: immediate or schedule |
| version | string | Y | Target version to update to. The platform writes the version that the Director is set to run (see Director Version) |
| cron | string | N | Cron expression for scheduled updates (schedule method only, minimum 30 seconds) |
| interval | duration | N | Fallback 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 * * 0for 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:
- Version Check - Compares current version against configured target version
- Service Stop - Gracefully stops the running Director service
- Backup - Creates timestamped backup of current binary and configuration
- Download - Retrieves new binary from Fleet management instance
- Signature Verification - Verifies Ed25519 signature of downloaded binary
- Deployment - Replaces current binary with new version
- Resource Update - Updates package resources (pipelines, definitions)
- 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:
| Field | Description |
|---|---|
| version | Currently running Director version |
| scheduled_version | Target version pending update |
| architecture | System architecture (amd64, arm64, etc.) |
| os | Operating 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
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:
- Download the new Director version from VirtualMetric
- Stop the Director service:
- Windows:
Stop-Service vmetric-director - Linux:
systemctl stop vmetric-director
- Windows:
- Backup current installation directory
- Extract new binary and resources to installation directory
- Start the Director service:
- Windows:
Start-Service vmetric-director - Linux:
systemctl start vmetric-director
- Windows:
- Verify version:
./vmetric-director -version
Clusters
Cluster updates require a rolling update strategy to maintain quorum and service availability.
Update Procedure:
- 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/healthon any Director and read the fieldcluster.meta_leader. The health endpoint listens on the loopback address only, at the port set bydebug.remote_console.port, which defaults to15551 - Update the meta leader first, then the other Directors
- Find the meta leader: run
- Verify cluster health - Ensure all nodes are healthy before starting
- 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
- 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
- Verify cluster health between each node update
- 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.
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:
- Download the new Agent version from the managing Director or VirtualMetric
- Stop the Agent service:
- Windows:
Stop-Service vmetric-agent - Linux:
systemctl stop vmetric-agent
- Windows:
- Backup current Agent binary
- Deploy new binary to installation directory
- Start the Agent service:
- Windows:
Start-Service vmetric-agent - Linux:
systemctl start vmetric-agent
- Windows:
- Verify version:
./vmetric-agent -version
Component Differences
| Component | Update Contents | Source | Notes |
|---|---|---|---|
| Directors | Binary + Package resources | Fleet instance | Full update includes pipelines, definitions, lookups |
| Clusters | Rolling updates | Fleet instance | Quorum preservation required during update |
| Orchestrated Directors | Rolling updates, one machine at a time | Fleet instance | Only 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 |
| Agents | Binary only | Managing Director | Lighter update package, no pipeline resources |
Configuring Updates in GUI
Organization Defaults
Configure organization-wide update defaults:
- Navigate to Organization > Settings
- Select Update Management tab
- Configure:
- Update Mode:
Manual updates orAuto updates Auto update method (Auto only):On user action ,Immediate , orOn schedule - Schedule (Scheduled only): Cron expression or interval
- Update Mode:
- Click Save
These settings apply as defaults to all Directors and Agents unless overridden.
Choosing the Director Version
For the Organization:
- Navigate to
Organization >Settings , and select theUpdate Management tab. - 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". - Click
Choose director version . TheChoose 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." - In
Version to run , pick a version, or pickFollow the platform default (2.8.0) . The list marks the platform default with "(platform default)". - Click
Save .
The dialog saves the version at once. The update settings have their own dialog and their own
For a Director or a Cluster:
- Navigate to
Fleet Management >Directors . - Click the Director or cluster name to open the detail view.
- 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". - Click
Manage director updates orManage cluster updates . - In
Version to run , pick a version, or pickFollow the organization's version (2.8.0) . - Click
Save changes .
The version doesn't need the
A Director in a cluster shows "This director runs its cluster's version", with a
Director/Cluster Custom Policy
Override organization defaults for specific Directors or Clusters:
During Creation:
- In the Director/Cluster creation wizard, locate the
Update management step - Enable the
Custom update policy toggle - Configure custom update settings
- Complete creation wizard
For Existing Directors/Clusters:
- Navigate to Fleet Management > Directors
- Click the Director or Cluster name to open detail view
- Select the
Update management tab - Click
Manage director updates orManage cluster updates - Enable the
Custom update policy toggle - Configure custom update settings
- Click
Save changes
Agent Custom Policy
Override organization defaults for specific Agents:
During Creation:
- Navigate to Devices > Windows, Linux, Oracle Solaris, AIX or macOS
- Click Create to start device creation
- In the
Update management step, enable theCustom update policy toggle - Configure custom update settings
- Complete creation wizard
For Existing Agents:
- Navigate to Devices > Windows, Linux, Oracle Solaris, AIX or macOS
- Click the Agent name to open detail view
- Select the
Update management tab - Enable the
Custom update policy toggle - Configure custom update settings
- 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:
- Open the detail page of the Director or the cluster.
- Click
Actions , and selectRoll back director orRoll back cluster . The dialog shows the version that runs now. For a cluster, that is the newest version that one of its Directors runs. - 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. - 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
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.
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:
| Reason | What to do |
|---|---|
| The Director is set to manual updates, so the platform never changes its version | Switch it to auto updates, or install the older version by hand |
| The Director isn't connected | Roll 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 rollback | Update it to the newest version first, then roll it back |
| The version the Director runs isn't known yet | Try again once the Director has reported its version |
| The Director gets a new version only when its container image changes | Change 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 version | The 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 uses Needs LogChain 2.5.1 A device with event split rules 2.5.1 A target with Protect sensitive data enabled2.6.0 An Agent whose settings name a secret 2.7.0 A cluster's witness, or Strict cluster confirmation 2.7.0 The health probes of a Serverless Director's container 2.7.0 A cluster's Store copy 2.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.