Skip to main content

Migrating the Enterprise Manager Repository

In certain situations, you may need to migrate Replicate or Compose Servers and settings from one Enterprise Manager Server to another. This may be required, for example, if you need to move from a test environment to a production environment or if you need to decommission the Enterprise Manager Server machine. In the migration procedure, which is described below, Server A is the Enterprise Manager Server configured with Replicate or Compose Servers, while Server B is a clean installation of Enterprise Manager Server.

Note:

All commands should be run as administrator.

  1. On Server A:

    1. Run the following commands:

      Command 1 - Sets the Master User Key:

      <INSTALL_DIR>\bin\aemctl.exe [-d data_folder_path] masterukey set -p password

      where -d data_folder_path is only required if the <INSTALL_DIR>\data folder is in a non-default location.

      Command 2 - Sets the Java Master User Key:

      <INSTALL_DIR>\java\bin\atajs.bat [-d java_data_folder_path] masterukey set password

      where -d java_data_folder_path is only required if the <INSTALL_DIR>\data\java folder is in a non-default location.

    2. Restart the QlikEnterprise Manager service.
  2. On Server B:
    1. Stop the Qlik Enterprise Manager service.
    2. Delete the <INSTALL_DIR>\data folder.
    3. Copy the data folder from Server A to Server B.
    4. Run the following commands:

      Command 1:

      <INSTALL_DIR>\bin\aemctl.exe [-d data_folder_path] masterukey set -p password

      where -d data_folder_path is only required if the <INSTALL_DIR>\data folder is in a non-default location.

      Command 2:

      <INSTALL_DIR>\java\bin\atajs.bat [-d java_data_folder_path] masterukey set password

    5. Start the QlikEnterprise Manager service.
    6. Log in to Enterprise Manager and verify that the Replicate and Compose Servers have been migrated from Server A to Server B, and that all of Server A's configuration settings have been migrated as well.