Migrating from Talend Dictionary Service 6.3.x installed with an external MongoDB - 6.4

Talend Data Services Platform Migration Guide

EnrichVersion
6.4
EnrichProdName
Talend Data Services Platform
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity Management
Talend Installer
Talend JobServer
Talend Log Server
Talend Project Audit
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

Warning

The Talend Dictionary Service migration must be performed before attempting to migrate Talend Data Stewardship or Talend Data Preparation.

Before you begin:

  • You have downloaded Talend Dictionary Service 6.4.

  1. Stop your instance of Talend Dictionary Service 6.3.x but keep MongoDB running.

  2. Backup your MongoDB, while it is still running, using the following command:

    mongodump -h <source_mongodb_host>:<source_mongo_port> -d <source_database> -u <source_mongodb_user> -p <source_mongodb_password> -o <dump_output>

  3. Stop your MongoDB instance.

  4. Install MongoDB 3.4.2 and start it.

    Talend Dictionary Service 6.4 uses the 3.4.2 version of MongoDB.

  5. Restore MongoDB, open a command prompt window and execute the following command:

    <mongo_path>/bin/mongorestore -h <mongo_host>:<mongo_port> -u <mongo_dq_username> -p <mongo_dq_password> -d <mongo_dq_database> <backup_location>

  6. Recreate the MongoDB indexes by executing the following commands:

    cd ./<install_dir>/dq_dict/database

    ./create_mongodb_indexes.sh

  7. Install Talend Dictionary Service 6.4.x with the external MongoDB, and configure it with the same settings as your 6.3.x instance, especially the links to your Talend Administration Center and point to MongoDB 3.4.2.

    For more information about the Talend Dictionary Service installation and configuration procedures, see the Talend Installation Guide.

  8. If you have performed any custom configuration to the 6.3 version of the <Tomcat>/conf/data-quality.properties file,update the 6.4 version of the file by coping the values from the old configuration file.

  9. Start Talend Dictionary Service 6.4.x.

  10. To optionally import the new semantic types added in the 6.4.x version, go to the <pathToTheInstallationFolder>/dq_dict/database/functionalMigration folder and execute the functionalMigration.batfunctionalMigration.sh script.

    When prompted, enter the login name and the password for the dqdict MongoDB database user:

    • Login: dqdict-user

    • Password: duser

You are now ready to use Talend Dictionary Service 6.4.x.