Upgrading the administration database - 6.2

Talend Data Management Platform Migration Guide

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

This section describes how to upgrade the Talend Administration Center database. Note that the database backup is a mandatory step in the migration process.

Prerequisites:

  • Back up your database.

  • Make sure the drivers of the databases are installed on the machine where the migration is performed.

The source and target databases must be of the same type. To migrate from a database X to a database Y, for example from H2 to MySQL, first see Talend Installation Guide.

To migrate your database, proceed as follows:

  1. Stop the Tomcat server.

  2. To avoid errors during the migration process, increase the memory of Tomcat as explained in Talend Installation Guide.

  3. Delete the old Talend Administration Center application .war file in <TomcatPath>/webapps to undeploy it.

  4. Delete the <TomcatPath>/work directory to empty Tomcat cache.

  5. Put the new Talend Administration Center application .war file in <TomcatPath>/webapps .

  6. Start Tomcat.

  7. Open a Web browser and type in the application URL. The database configuration page opens and a message indicates that the database version needs to be updated.

  8. Click Proceed migration to start the migration process. A dialog box opens.

  9. In the backup settings area, check your database connection information and enter the path to your folder where the backed up database will be stored in the Dump Path field.

    The command used to migrate the database can be updated according to your needs. If you are migrating an Oracle database from Talend Administration Center 5.6.x to Talend Administration Center 6.x, make sure the -Dtalend.schema=<schemaName> parameter is present in the migration command.

  10. Click Proceed to start the database backup and migration operation.

  11. When the message Database migration completed successfully shows, click Finish. The database is migrated and a .zip file holding the backed up database is created in the folder you have defined previously.

  12. On the database configuration page, set your new license then log in the Web application. The database migration process is finished.