Migrating your production environment

You migrate your existing version of Decision Server Insights by installing the new version and running migration scripts on all of the servers in your production topology.

About this task

In a production environment, client applications and event senders cannot be subjected to a process or period of transition. Every interaction that is started must complete. Therefore, you update individual servers in the topology one at a time.

Before you install a new version of Decision Server Insights on the same computer as V8.8.1, make a copy of the usr directory and use the WLP_USER_DIR variable to locate it for your new installation.

Note: If you do not want to set the WLP_USER_DIR environment variable, you can set the external location for WLP_USER_DIR by editing the server.env file in <InstallDirV8.9.0>/runtime/wlp/etc.

To migrate the servers, run scripts to modify the server.xml, objectgrid.xml, and objectGridDeployment.xml files.

Note: To migrate Decision Server Insights offline, shut down the entire system in the following order and then bring it back up again after your migration.
  1. Inbound Connectivity (server stop server_name)
  2. Runtime (serverManager shutdown [options])
  3. Outbound Connectivity (server stop server_name)
  4. Catalog (server stop server_name)

For more information, see Creating, starting, and stopping servers.

Procedure

  1. For each catalog server in your topology, do the following steps:
    1. Stop the catalog server to be migrated, and then run the server stop command from the <InstallDir>/runtime/wlp/bin directory, or make sure that this directory is in the system path.
    2. Copy the existing <InstallDirV881>/runtime/wlp/usr directory to a new location (for example /opt/wlp/usr) and create a WLP_USER_DIR environment variable to that path.
    3. Run Installation Manager to install Decision Server Insights V8.9.0 on the same computer as your existing installed version.
    4. Run the server migration script:
      • <InstallDirV8.9.0>/runtime/ia/bin/migrateConfig.bat on Windows
      • <InstallDirV8.9.0>/runtime/ia/bin/migrateConfig on Linux
      The script modifies the server.xml file.
    5. Restart the migrated server by running the server start command. Review the server status information in the log files, including messages.log. The log files are in the <InstallDirV8.9.0>/runtime/wlp/usr/servers/server_name/logs directory.
  2. For each runtime server in your topology, do the following steps:
    1. Shut down the runtime server to be migrated. The serverManager shutdown command must be run from <InstallDirV881>/runtime/ia/bin directory.
    2. Copy the existing <InstallDirV881>/runtime/wlp/usr directory to a new location (for example /opt/wlp/usr) and create a WLP_USER_DIR environment variable to that path.
    3. Run Installation Manager to install Decision Server Insights V8.9.0 on the same computer as your existing installed version.
    4. Run the server migration script:
      • <InstallDirV8.9.0>/runtime/ia/bin/migrateConfig.bat on Windows
      • <InstallDirV8.9.0>/runtime/ia/bin/migrateConfig on Linux
      The script modifies the server.xml, objectgrid.xml and objectGridDeployment.xml files.
    5. Restart the updated server by running the server start command. Review the server status information in the log files, including messages.log. The log files are in the<InstallDirV8.9.0>/runtime/wlp/usr/servers/server_name/logs directory.
  3. For each connectivity server in your topology, do the following steps:
    1. Stop the connectivity server to be migrated.
    2. Copy the existing <InstallDirV881>/runtime/wlp/usr directory to a new location (for example /opt/wlp/usr) and create a WLP_USER_DIR environment variable to that path.
    3. Run Installation Manager to install Decision Server Insights V8.9.0 on the same computer as your existing installed version.
    4. Run the server migration script:
      • <InstallDirV8.9.0>/runtime/ia/bin/migrateConfig.bat on Windows
      • <InstallDirV8.9.0>/runtime/ia/bin/migrateConfig on Linux
      The script modifies the server.xml file.
    5. Restart the migrated server by running the server start command. Review the server status information in the log files, including messages.log. The log files are in the<InstallDirV8.9.0>/runtime/wlp/usr/servers/server_name/logs directory.
  4. Optional: If you want to benefit from the latest updates, include the new <InstallDirV8.9.0>/runtime/ia/gateway/*.jar and restConnector.jar files in the class path of your client applications. And restart your client applications.
  5. If you want to benefit from all of the latest updates, you must install the new version of Decision Server Insights in your development environment, regenerate your solution and deploy it. For more information, see Migrating your development environment and Migrating solutions.

Results

Tip: If you decide to move the migrated servers to <InstallDirV8.9.0>/runtime/wlp/usr/servers, make sure that you either remove the WLP_USER_DIR environment variable or set it to the current location. Similarly, the server.env file must be restored when you change the external location for WLP_USER_DIR.