Before you begin
You have downloaded Talend Data Stewardship 7.1.x.
You have upgraded Talend Administration Center. For more information, see Upgrading Talend Administration Center.
Procedure
-
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.
- Delete the <install_dir>/tds/apache-tomcat/data folder from your Talend Data Stewardship 7.1.x installation.
-
Delete the database:
-
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
-
Switch to Talend Data Stewardship
database:
use tds
-
Drop the database:
db.runCommand( { dropDatabase: 1 } )
-
Exit mongo shell:
exit
-
Open a mongo shell as Talend Data Stewardship database user
and execute the following commands:
- 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.
- Stop your instance of your previous version of Talend Data Stewardship but keep MongoDB running.
-
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
- Stop MongoDB of your previous version of Talend Data Stewardship and start MongoDB of the 7.1.x version.
-
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>
- Start Talend Data Stewardship 7.1.x.
Results
You are now ready to use Talend Data Stewardship 7.1.x.