Migrating to TIBCO Offer and Price Engine 6.0.0
You can migrate TIBCO OPE data from TIBCO OPE 5.1.0 HF-4 to TIBCO OPE 6.0.0. Only the database upgradation and data seeding is done again.
This topic describes all the necessary steps that must be carried out before starting the migration to TIBCO OPE 6.0.0
Backing up the Database
Since the upgrade involves changes in the database, make sure to backup the database instance that has been used by the previous version.
Merging Configurations
The following applicationIds are renamed to make them more readable:
-
offersearchindex is renamed to offer-search-index
-
shoppingcart is renamed to shopping-cart
These applicationIds now must be updated in the back end store as well. To update the applicationIds for the existing configuration, complete the following steps:
- Procedure
-
Use
GET
APIs to download the configuration files and application properties for the mentioned APIs. -
Use
DELETE
APIs to delete the existing applications (offersearchindex and shoppingcart). -
Upload the downloaded configuration files again and upload the latest application properties from the $OPE_HOME/seed-data/app-properties directory and reconfigure as per the existing values for the new applicationIds.
-
Configure all other applications again as per your requirements.
Merge the previous configurations with the current configurations. For more details, seeTask 8: Uploading App Properties, Config Files through Configurator UI and Task 9: Configuring minimum requirements through Configurator UI
-
Change
authorizationServiceTokenEndPoint
property value fromhttp://localhost:9091/oauth/token
tohttp://localhost:9091
for "common" configuration.
Migrating from TIBCO OPE 5.1.0 HF-4 to TIBCO OPE 6.0.0
Before you start the migration, stop all the OPE 5.1.0 HF-4 running services.
- Procedure
-
Install TIBCO OPE 6.0.0. Download the TIBCO OPE 6.0.0 build from TIBCO eDelivery and extract the
TIB_ope_6.0.0.zip
file to theOPE_HOME
folder. See Installation. -
Navigate to the
$OPE_HOME/database-scripts/postgreSQL/<database-name>/bin
or$OPE_HOME/database-scripts/oracle/<database-name>
directory. - Update the
postgres_<service-name>_db.properties
ororacle_<service-name>_db.properties
for all the databases (except shopping-cart) with OPE 5.1.0 HF-4 database details. -
- Run the
upgrade-5.1.0hf7-to-6.0_db-setup.sh
script for Oracle. -
Run the
upgrade_5.1.0_to_6.0_db-setup.sh
script for PostgreSQL.
- Run the
-
Start the Authorization, Configurator, and Configurator UI services.
-
Merge the configurations. See Merging Configurations.