Migrating from Standard Edition to Standard Edition

You can migrate the tenant unit configuration data from Self-Hosted Standard Edition. The tenant unit configuration data includes user settings, dashboards, events, alerts, application perspectives, EUM websites and mobile apps, and other data.

Important: You must use a newly provisioned host system for this migration. You cannot complete an in-place migration on an existing Standard Edition installation. The migration workflow includes the following steps:
  1. Extract configuration data from the existing host.
  2. Prepare and configure the new host environment.
  3. Install Standard Edition on the new host and apply the migrated configuration data.

The following items are migrated:

  • Email and SMTP settings:
    • SMTP server (host, port)
    • Email sender address
    • SSL/TLS settings
    • SMTP credentials (if sensitive data included)
  • Proxy Settings;
    • Proxy server (host, port)
    • Non-proxy hosts list
    • Proxy credentials (if sensitive data included)
  • Acceptor Configurations:
    • Agent acceptor (host, port)
    • EUM acceptor (host, port)
    • Synthetics acceptor (host, port)
    • Serverless acceptor (host, port)
    • OpAmp acceptor (host, port)
    • OTLP HTTP acceptor (host, port)
    • OTLP GRPC acceptor (host, port)
  • Feature Flags: The flags of features that are enabled or disabled features with their values
  • Domain Configuration: Base domain and tenant or unit URL path setting

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

The following migration paths are supported:

  • From one single-node or multi-node Standard Edition to another single-node or multi-node Standard Edition
  • From single-node Standard Edition demo installation type to production installation type
Note: You can use the same license of your Classic Edition to migrate to the Standard Edition.

Prerequisites

Complete the following prerequisites:

Migrating 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 old Standard Edition host:

    stanctl 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. Optional: Set the --include-sensitive flag to skip the following dialog dialog ....Do you want to include sensitive information?.

    Sensitive information includes SMTP password, proxy password, and download keys.

    If the --include-sensitive is not set, the following dialog is displayed.
    This operation may include sensitive information (for example, SMTP credentials, proxy credentials, and download key).
    Do you want to include sensitive information?
    Note: Excluding it will require you to reconfigure SMTP and proxy settings in the destination environment during installation.
  3. Complete one of the following steps:
    • To include sensitive information in the backup, enter "Yes".
    • To exclude sensitive information from the backup, enter "No".

    A dump-<timestamp>.tar.gz file is created in the current directory. This file contains the tenant unit configuration data in the form of executable SQL queries.

  4. Do one of the following steps:

    • Online migration: Transfer the dump.tar.gz package from the old host to your new Standard Edition host.
    • Air-gapped migration: Transfer the dump.tar.gz package from the old host to your new Standard Edition air-gapped host by using the bastion host.
  5. 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>
         
  6. The following dialog is displayed.
    Are you migrating from the Classic offering?
  7. Enter "No", the original multi-domain or single-domain setup is retained.
    After you run the command, you see the following prompt:
    ? Choose installation type:
    demo <
    production
     
  8. Choose your preferred installation type. For multi-node clusters, only the production installation type is supported.

    When migration is completed successfully, a confirmation message appears, similar to the following example:
    
       ╭──────────────────────────────────────────────╮ 
       │                                              │ 
       │ Migration completed successfully!            │ 
       │ You can now install Instana Standard Edition.│ 
       │                                              │ 
       ╰──────────────────────────────────────────────╯ 
       
  9. 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.

After the installation is successfully completed, a message similar to 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 Standard Editionenvironment.

Post-migration configurations

If required, you might need to redo some configurations that were on the old host. You can reconfigure as suggested in the following list:

  • New Standard Edition instance is not connected to any agent by default. 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. To avoid duplicate alerts, you can set a maintenance window on one of your Instana instances. For more information, see Scheduling maintenance windows.

Limitations

The following restrictions are applicable for simultaneous reporting into two Instana backends:

  • The Kubernetes sensor in the Instana agent does not support two Instana backend configurations. 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.
  • Configuration changes made 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
 

Recover from an unstable environment

If your environment becomes unstable or you cannot recover it, recreate the infrastructure. This approach restores a clean, known-good state and eliminates inconsistencies that can persist after partial cleanup.

If you cannot set up the infrastructure again due to constraints, such as time, cost, or environment limitations, you can run the following command for a local cleanup:
stanctl cluster delete 
rm -r ~/.stanctl/*

These commands delete the cluster and remove the local state that stanctl manages. This cleanup can resolve many issues, but it does not guarantee a full reset. Residual configuration or infrastructure drift might still impact system stability.