Migrating to Talend Data Stewardship 7.1.x installed with an embedded MongoDB - 7.1

Talend Data Services Platform Migration Guide

EnrichVersion
7.1
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 and Access Management
Talend JobServer
Talend Log Server
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

Before you begin

If you have installed and used Talend Dictionary Service to create custom semantic types or update the predefined ones, you must migrate Talend Dictionary Service before migrating Talend Data Stewardship. See Migrating to Talend Dictionary Service 7.1.x.

You have downloaded Talend Data Stewardship 7.1.x.

You have upgraded Talend Administration Center. For more information, see Upgrading Talend Administration Center.

Procedure

  1. Install Talend Data Stewardship 7.1.x with the embedded MongoDB, and do not start the instance.
    If you have installed Talend Data Stewardship in service mode, stop the Talend Data Stewardship instance.
    For more information about the Talend Data Stewardship installation and configuration procedures, see Installing and configuring Talend Data Stewardship.
  2. Delete the <install_dir>/tds/apache-tomcat/data folder from your Talend Data Stewardship 7.1.x installation.
  3. Delete the database:
    1. Open a mongo shell as Talend Data Stewardship database user and execute the following commands:
      cd <install_dir>/mongodb/bin
      ./mongo tds -u tds-user -p duser --port 27017
    2. Switch to Talend Data Stewardship database: use tds
    3. Drop the database: db.runCommand( { dropDatabase: 1 } )
    4. Exit mongo shell: exit
  4. If you have performed any custom configuration to the previous version of the <Data_Stewardship_Path>/conf/data-stewardship.properties file, update the 7.1 version of the file by coping the values from the old configuration file.
  5. Stop your instance of your previous version of Talend Data Stewardship but keep MongoDB running.
  6. Back up the MongoDB instance used for the previous version of Talend Data Stewardship using the following command: <mongo_path>/bin/mongodump -h <source_mongodb_host>:<source_mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> -o <backup_location>
    The default value for the embedded MongoDB properties are the following:
    Property Value
    mongodb.host localhost
    mongodb.port 27017
    mongodb.database tds
    mongodb.user tds-user
    mongodb.password duser
  7. Stop MongoDB of your previous version of Talend Data Stewardship and start MongoDB of the 7.1.x version.
  8. Restore the backup performed on the MongoDB for the previous version, on the 7.1.x MongoDB instance using the following command: <mongo_path>/bin/mongorestore -h <mongo_host>:<mongo_port> -u <mongo_tds_username> -p <mongo_tds_password> -d <mongo_tds_database> <backup_location>
  9. Start Talend Data Stewardship 7.1.x.

Results

You are now ready to use Talend Data Stewardship 7.1.x.