In this section:
Introduction
Before upgrading from previous versions of DTP, make sure that your system meets the system requirements.
The installer automatically backs up your data as part of the upgrade process, but you can manually back up your system as an extra precaution.
Windows
Starting with DTP 2020.1, DTP is installed in two directories. The main installation directory contains application files, such as the web server and other executables. The DTP data directory contains application configuration files, as well as data sent to DTP from connected tools. By default, DTP application files will be installed in the C:\Program Files\Parasoft\DTP directory and DTP data files will be installed in the C:\ProgramData\Parasoft\DTP directory. See Installation Overview for additional Information.
Follow these instructions if you are upgrading from the most recent version of DTP and DTP Enterprise Pack:
- Stop all Parasoft services, including DTP Enterprise Pack if applicable. See Stopping DTP Services.
- Run the installer and choose the Reinstall DTP option when prompted. The DTP installer automatically handles all upgrade processes.
- Click Finish to complete installation and start DTP and Enterprise Pack (if installed) processes.
If you are upgrading from DTP 5.4.2 or older, you can remove the GRS database as an optional step (see the DTP 5.4.3 release notes for additional information). Refer to the documentation for your database server software for instructions on how to delete the database.
If you did not install Enterprise Pack during the initial DTP installation process, you can re-run the latest DTP installer to install DTP Enterprise Pack at any time.
Linux
Starting with DTP 2020.1, DTP is installed in two directories. The main installation directory contains application files, such as the web server and other executables. The DTP data directory contains application configuration files, as well as data sent to DTP from connected tools. See Installation Overview for additional Information.
Follow these instructions if you are upgrading from the most recent version of DTP and DTP Enterprise Pack:
- Open a command prompt and navigate to the current DTP installation.
- Run the dtpconsole script stop all Parasoft services, including DTP Enterprise Pack if applicable. See Stopping DTP Services.
Run the DTP installation script with the
-u
option to specify the DTP installation directory to update and the-d
option to specify where DTP data files should be installed:
./DTP.sh -u <DTP_INSTALL> -d <DTP_DATA_DIR>You must type the full, non-relative path.
For example: .
/DTP
.sh -i
/home/
<user>
/dtp
-d
/home/
<user>
/dtp_data
If you are installing the DTP distribution that includes an embedded database server, the installer will confirm the status of the database server service.
The installer will check the specified DTP installation directory for DTP Enterprise Pack. If Enterprise Pack is detected, you will be prompted to either remove or update the pack. If Enterprise Pack is not detected, you will be prompted to install it in the <DTP_INSTALL>/dtpservices directory.
When the
DTP.sh
script finishes, rundtpconsole.sh
to start DTP and Data Collector. If you are installing the DTP distribution that includes an embedded database server, services will start automatically and you can immediately begin using DTP.- Navigate to the <DTP_INSTALL>/dtpservices directory and run the
dtpservices.sh
script with thestart
argument to start Enterprise Pack../dtpservices.sh start
If you are upgrading from DTP 5.4.2 or older, you can remove the GRS database as an optional step (see the DTP 5.4.3 release notes for additional information). Refer to the documentation for your database server software for instructions on how to delete the database.
If you did not install Enterprise Pack during the initial DTP installation process, you can re-run the latest DTP installer to install DTP Enterprise Pack at any time.
Upgrading from DTP 5.3.3 or Older
If you are upgrading from 5.3.3 or older, you must upgrade to 5.4.0, 5.4.1, 5.4.2, or 5.4.3 in order to upgrade to the latest version. Upgrading from Concerto is only supported by upgrading to 5.4.0 prior to upgrading to the latest version. Refer to your version the Upgrading chapter of the DTP 5.4.3 documentation for details.
Upgrading the Database Structure
Report Center verifies the database structure when you log in with administrator credentials after upgrading. You may be prompted to update the database.
To upgrade the database structure, following these steps:
- Click Execute to run the database schema upgrade process. A message is displayed when it is finished. Report Center is ready to use.
Verify that Report Center and Project Center functionality and port numbers were preserved.
- Check the conf_update.log file in the <DTP_DATA_DIR>/logs/ directory to verify that the configuration updated successfully.
Additional Notes
When upgrading DTP, a backup is automatically created in the same parent directory. For example, a DTP installation at /home/test/dtp would result in a backup at /home/test/dtpYYMMDD_HHmmSS, where YYMMDD_HHmmSS represents the date and time when the backup and upgrade were created. When crontab has been modified by your DTP upgrade script, the old crontab is backed up to a <DTP_INSTALL>/bin/cronguard.cron~
file.