For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Migration guidelines

Common migration paths from OCS Inventory 2.x to OCS Inventory 3.x.

This page focuses on inventory continuity and migration best practices. Check System Requirements for version and platform compatibility. See Agent overview and Managing legacy devices for the agent workflow.

Before you begin

Make sure you can answer yes to these:

  • Your target 3.x version includes the features you need from 2.x.

  • Your legacy plugins (if any) are compatible with 3.x.

  • You've read through the Managing legacy devices and v2 vs v3: What’s changed? pages.

  • You have a backup and rollback plan for the 2.x database and configuration.

Reference architectures

Migration methods

Full replacement

Remove the 2.x stack and agents, then deploy the 3.x stack and 3.x agents.

When to use

  • Very small fleet, low criticality, strong automation.

Pros
Cons

  • Hard rollback if you already removed 2.x agents/infrastructure.

  • If anything breaks, you may temporarily lose inventory visibility.

Rollback / exit plan

  • Requires reinstalling 2.x components and restoring backups.

Parallel agents (run 2.x and 3.x agents side-by-side)

Run two agents on the same device:

  • keep the 2.x agent reporting to the legacy server

  • install the 3.x agent reporting to the new server

When to use

  • You want validation with minimal risk

  • You can afford to install a second agent on your assets.

Pros
Cons
  • Lowest risk for the legacy environment.

  • Easy side-by-side comparison of inventories.

  • Additional CPU/network usage on clients.

For visual representation, see Parallel agents.

Proxy duplication (duplicate 2.x traffic to 3.x)

Keep 2.x agents unchanged. Put a reverse proxy in front of the legacy inventory endpoint. Duplicate incoming inventory traffic:

  • one flow continues to 2.x

  • one flow is forwarded to 3.x

When to use

  • You have ongoing package deployments campaigns.

  • Assets do not meet the minimal requirements for the 3.x agent.

  • You need to keep 2.x operational while building up the 3.x environment.

Pros
Cons
  • No client-side change.

  • Progressive migration without interrupting legacy operations.

  • The proxy requires additional maintenance.

For visual representation, see Proxy duplication.

Legacy endpoint (keep the 2.x URL, move the back end)

Decommission the 2.x servers, but keep:

  • the legacy DNS hostname (example: inventory.company.tld)

  • the 2.x agents still targeting that hostname

Run a reverse proxy that preserves the legacy path, redirecting traffic to 3.x.

Pros
Cons
  • 2.x servers can be shut down.

  • Clients do not need immediate changes.

  • The proxy requires additional maintenance.

  • No side-by-side comparison with legacy.

For visual representation, see Legacy endpoint.

Flow charts

Parallel agents

Proxy duplication

Legacy endpoint

Last updated