Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space LSDEV and version 2021.1

...

Table of Contents
maxLevel1

Introduction

License Server is available as a self-deployed distribution or as a web archive that can be deployed to your Tomcat server (see Installing License Server). 

About License Server 5.4.3 and Older

All files for License Server 5.4.3 and older were installed into in a single directory, but the current version of License Server installs into two main directories:

...

License Server includes the PSTSecConfig.xml file, which contains configuration settings for the User Administration module. 

License Server 2020.1 and later ships with a single PSTSecConfig.xml in the <LS_DATA_DIR>/conf directory.

...

If you made changes to either or both PSTSecConfig.xml files for License Server 5.4.3 or older, you will need to make corresponding changes in the single PSTSecConfig.xml file after upgrading.

Upgrading 

Upgrading the Self-deployed Distribution

This topic describes upgrading the self-deployed License Server that ships with its own Tomcat serverThe following instructions describe how to upgrade from License Server 5.4.3 and older.

Windows

  1. Run the stopLS.bat script as an administrator for the License Server you are upgrading from.
  2. Unzip the latest License Server to a temporary directory.
  3. Open a command prompt and navigate to the <LS_TEMP>/app directory.
  4. Run the upgrade.bat script as an administrator with the -o option and specify the path to the old version of License Server:

    Code Block
    upgrade.sh -o <absolute_path_to_old_LS_install_dir>

    You can also run the script with the -h option to print the script help to the console.

  5. The script makes a backup of the existing installation and updates the old installation location with the latest version.
  6. Delete the temporary directory (step 2).

...

  1. Run the stopLS.sh script as an administrator for the License Server you are upgrading from.
  2. Unzip the latest License Server to a temporary directory.
  3. Open a command prompt and navigate to the <LS_TEMP>/app directory.
  4. Run the upgrade.sh script as an administrator with the -o option and specify the path to the old version of License Server:

    Code Block
     ./upgrade.sh -o <absolute_path_to_old_LS_install_dir>

    You can also run the script with the -h option to print the script help to the console.

  5. The script makes a backup of the existing installation and updates the old installation location with the latest version.

Upgrading Web Archive Distribution 

This topic describes how to upgrade the licenseserver.war and pstsec.war files.  

  1. Stop the Tomcat server and create a backup of the following directories:
    • <TOMCAT>/LicenseServer
    • <TOMCAT>/webapps/pstsec/pstsec
    • <TOMCAT>/webapps/pstsec/conf
  2. Delete the following items from <TOMCAT>/webapps directory:
    • licenseserver.war file
    • pstsec.war file
    • licenseserver subdirectory
    • pstsec subdirectory
  3. Delete the following directories:
    • <TOMCAT>/work/Catalina/localhost/licenseserver
    • <TOMCAT>/work/Catalina/localhost/pstsec
  4. Copy the new licenseserver.war and pstsec.war files into the <TOMCAT>/webapps directory and start Tomcat.
  5. Stop Tomcat after the applications have finished deploying.
  6. Copy the webapps/pstsec/pstsec and webapps/pstsec/conf back up directories to their original locations and restart Tomcat.