License upgrade tool (upgrade-grewrt)

The upgrade-grewrt command line tool is used to upgrade GRE licensing to the latest version.

Syntax

upgrade-grewrt [ options ] 
  1. options are described in upgrade-grewrt options.

Upgrade-grewrt Options

Table 1. upgrade-grewrt command options
Option Description
-h or --help Displays options for the tool.
-V or -version Displays version information.
-p or --patch path_to_installation_directory Applies a patch in the product installation directory. A backup of the existing licensing tools is created and stored in the product installation directory.
-r or --restore path_to_backup_directory Remove an upgrade patch and restore the previous licensing tools from the backup directory in your Genero installation directory.

Usage

You use the upgrade-grewrt --patch command to upgrade the Genero installation licensing tools to the latest version. The upgrade tool is provided as part of an upgrade package available on the Four Js website. For details, go to Patch license controller using the upgrade tool.

The tool will create a backup of the existing licensing tools, including the license controller configuration file (grelicense), before attempting the upgrade. The configuration file is copied as grelicense.old in the $GREDIR and as grelicense in the backup directory. The name of the backup directory has the following format: grewrt-backup-YYYYMMDD-hhmmss.

If a file cannot be removed, or a file cannot be copied, the upgrade is cancelled and a rollback is automatically performed. The upgrade-grewrt --restore option allows you to restore the previous licensing tools by specifying the path to the backup directory.

For details of downloading the upgrade package and using the tool, go to Patch license controller using the upgrade tool.