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.
All commands should be run as administrator.
-
On Server A:
-
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.
- Restart the QlikEnterprise Manager service.
-
- On Server B:
- Stop the Qlik Enterprise Manager service.
- Delete the <INSTALL_DIR>\data folder.
- Copy the data folder from Server A to Server B.
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
- Start the QlikEnterprise Manager service.
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.