Migration from Classic Edition to Standard Edition

Classic Edition is being replaced by Standard Edition. Standard Edition is the modern deployment model for Instana® Self‑Hosted and replaces Classic Edition. Due to architectural limitations, many new Instana features are not available in Classic Edition. By migrating to Standard Edition, you can access the latest Instana capabilities, benefiting from a modern, scalable architecture.

Your Instana license does not change. It continues to cover all Instana Self‑Hosted deployment models.

Benefits of Standard Edition

With Standard Edition, you can:

  • Access to new Instana features, including infrastructure analytics, smart alerts, and custom dashboards, with logging, synthetics, OpenTelemetry, automation, AI agent and LLM observability, and so on
  • Manage your deployment by using the stanctl command‑line interface (CLI)
  • Scale your environment as monitoring requirements increase
  • Select the deployment topology that best meets your needs, including a single‑node system, a three‑node cluster, or a five‑node cluster

Migration approach

Complete the following steps to migrate to Standard Edition. To reduce migration risk, run Classic Edition and Standard Edition in parallel during the transition.

  1. Configure Standard Edition with your existing Classic Edition environment.
  2. Configure agents to send data to both environments.
  3. Validate data collection, configuration, and operational workflows in Standard Edition for two to four weeks.
  4. When you are satisfied with the validation results, reconfigure agents to send data only to Standard Edition and deactivate Classic Edition.

You control the migration timeline and can complete the transition when you are confident that the Standard Edition deployment meets your requirements.

Prerequisites

You can migrate the tenant unit configuration data from Self-Hosted Classic Edition (Docker). It includes user settings, dashboards, events, alerts, application perspectives, EUM websites, and mobile apps. It also includes additional data.

Important:
The analytics and metrics data from your Instana agents cannot be migrated.

The following migration paths are supported:

  • From Classic Edition to single‑node, three‑node, or five‑node Standard Edition
Note:
You can use the same license of your Classic Edition to migrate to the Standard Edition.
Important:
You cannot migrate your Classic Edition data to a host on which Standard Edition is already installed. You must use a new host.

Complete the following prerequisites:

Migration to Standard Edition

To migrate the data, complete the following steps:

  1. Extract the tenant unit configuration data from the Postgres data store.

    • Run the following command on the Classic Edition host:

      instana dump config-data

    A dump.tar.gz file is created in the ./dump directory. This file contains the tenant unit configuration data in the form of executable SQL queries.

  2. Transfer the dump.tar.gz package from the old host to your new Standard Edition host.
  3. On your new Standard Edition host, migrate the data from the dump.tar.gz file.

    Migration parameters

    Parameter Usage Example
    --volume-data=<custom-directory>

    Specifies the directory to store configuration and operational data for Elasticsearch, PostgreSQL, and Kafka data stores

    Default: /mnt/instana/stanctl/data

    --volume-data=/custom/data/path
    --volume-metrics=<custom-directory>

    Specifies the directory to store metrics and time‑series data for Cassandra and BeeInstana data stores

    Default: /mnt/instana/stanctl/metrics

    --volume-metrics=/custom/metrics/path
    --volume-analytics=<custom-directory>

    Specifies the directory to store analytics data for ClickHouse data store

    Default: /mnt/instana/stanctl/analytics

    --volume-analytics=/custom/analytics/path
    --volume-objects=<custom-directory>

    Specifies the directory to store object storage data including traces and monitoring data

    Default: /mnt/instana/stanctl/objects

    --volume-objects=/custom/objects/path
    • For a single‑node deployment, run the following commands:
      • Online migration
        stanctl migrate -f </path/to/tar.gz>
      • Air‑gapped migration
        stanctl migrate --air-gapped -f </path/to/tar.gz>
    • For a multi‑node deployment, run the following commands:
      • Online migration
        stanctl migrate --file=</path/to/tar.gz> --multi-node-enable --multi-node-ips=<node0IPaddress,node1IPaddress,node2IPaddress>
      • Air‑gapped migration
        stanctl migrate --air-gapped --file=</path/to/tar.gz> --multi-node-enable --multi-node-ips=<node0IPaddress,node1IPaddress,node2IPaddress>
    The following dialog is displayed.
    Are you migrating from the Classic offering?
  4. Enter "Yes". Single‑domain is retained for all the services.

    After the command, you see the following prompt:
    ? Choose installation type:
     demo <
     production
  5. Select production.

    Note:
    Demo installation type is only for test and demo environments. Do not use demo in a production environment.
    When migration is completed successfully, a confirmation message appears, like the following example:
    
       ╭──────────────────────────────────────────────╮ 
       │                                              │ 
       │ Migration completed successfully!            │ 
       │ You can now install Instana Standard Edition. │ 
       │                                              │ 
       ╰──────────────────────────────────────────────╯ 
       
  6. Install Standard Edition with the tenant unit configuration data that you migrated from your old host. For more information, see Installing the Standard Edition in an online environment or Installing Standard Edition in an air‑gapped environment.

    Note:
    If you want to configure additional settings such as custom certificates, SMTP configuration, proxies, and other settings, see Instana backend configurations. You can use the configuration flags with the stanctl up command to configure these settings, including the desired feature flags.

After the installation is successfully completed, a message like the following example is displayed:

*****************************************************************
* Successfully installed Instana Self-Hosted Standard Edition! *
*                                                               *
* URL: https://instana.example.com                              *
* Username: admin@instana.local                                 *
*****************************************************************

You can sign in to the new Standard Edition UI by using the same tenant password that you used in your old Classic Edition environment.

Post‑migration tasks

After the migration is complete, if required, you might need to redo some configurations from the old host. You can reconfigure as suggested in the following list to make Standard Edition fully operational.

  • A new Standard Edition instance is not connected to any agent by default. Configure your agents to send data to both your old Classic Edition environment and your new Standard Edition environment so you can run both in parallel during validation. To connect your agents to the old and new backends, see Configuring multiple backends.

  • After the migration, when the old and new environments are connected to your agents, both the Instana environments generate alerts for the same events. To prevent duplicate alerts, you can set a maintenance window on one of your Instana instances. For more information, see Scheduling maintenance windows.

  • Feature flags that were enabled in your old environment are not migrated to Standard Edition. You must manually enable the feature flags again in your new environment. For more information, see Optional features.

  • When you migrate Classic Edition to Standard Edition, all Ingress traffic including the agent, UI, and API traffic is served on a single domain (which is the base domain) by default. To revert this behavior, run the following command after the migration is complete:

    stanctl backend apply \
    --core-use-tu-url-path=false \
    --core-acceptors-agent-host=<desired-agent-acceptor-domain> \
    --core-acceptors-agent-port=<desired-agent-acceptor-port>

Limitations of parallel migration operation

When Classic Edition and Standard Edition run simultaneously and both are connected to your agents, the following restrictions apply:

  • Agent‑side limitations
    • The Kubernetes sensor in the Instana agent does not support two Instana backend configurations. For a workaround, see Report to multiple backends for Kubernetes monitoring.
    • The EUM (end user monitoring) clients do not support reporting to two Instana backends.
    • Serverless client implementations do not support reporting to two Instana backends.
  • Backend‑side limitations
    • Configuration changes that you make after the migration are not automatically synchronized between the two Instana backends.

Troubleshooting

You might encounter issues after migration. If you are unable to resolve these issues, contact IBM Support.

Unable to access Standard Edition by using old password

If you used an environment file (.env) to install your Standard Edition and specified a 'STANCTL_UNIT_INITIAL_ADMIN_PASSWORD', the password is ignored. See the following example.

STANCTL_UNIT_INITIAL_ADMIN_PASSWORD=instana1

Instead, the admin password of your Classic Edition that you migrated from is used as the initial admin password.

If you don't have access to the admin password of your old Classic Edition, you can reset the admin password. For more information, see Changing the admin or user password.