Migrating orders from default tenant to OIDC tenant

You can perform the following procedure migrate orders from a default tenant to an OIDC tenant in TIBCO Order Management 6.0.0_HF-2 Hotfix.

Note: As of this release, you can only migrate tenant for PostgreSQL database and not supported for other databases.
Before you begin 
  • The new tenant that you want to use must have been registered in Order Management.

  • There must not be any pending southbound or northbound notifications.

  • There must not be any pre-existing orders associated with the new tenant you intend to use.

    Procedure
  1. Add the following properties along with their values in the $OM_HOME/dbscripts/postgreSQL/<archival/catalog/jeopardy/order>/bin/postgres_<archival/catalog/jeopardy/order>_db.properties file.  
    • OLD_VALUE=<USER_INPUT_OLD_VALUE>

    • NEW_VALUE=<USER_INPUT_NEW_VALUE>

       

  2. Run the migrate_database_tenant_setup.cmd (Windows) or migrate_database_tenant_db_setup.sh (Linux) script as per your OS.