License Controller (greWrt) options

The greWrt command line tool is used to install, upgrade, or delete Genero Report Engine licenses. There are also options to provide various types of license information and statistics.

Syntax

greWrt [options]
  1. options are described in Table 1.

greWrt Options

Table 1. greWrt options
Option Description
-v or -V Display version information for the tool.
-h Displays options for the tool. Short help.
-l license Installs a license.
Note: To escape when prompted to enter a license number and license key, type "stop" at the prompt.
-m option Maintenance key installation, possible options are:
  • key : Install a key directly.
  • auto : The key is automatically installed (Internet connection is required).
-u Check for active users.
-k option Installation key for license validation, possible options are:
  • key : Install a key directly.
  • auto : The key is automatically installed (Internet connection is required).
-d Remove current installed license.
-i Clears the list of registered user sessions.
-a option Check or view options, possible options are:
  • ps : Shows processes on this machine.
  • env : Shows current environment
  • cpu : Shows number of CPU in the computer.
  • hostname : Shows name of this machine.
  • info license : Shows license information.
  • info stat : Shows statistics of license server.
  • info users : Shows all registered active users.
  • info up : Shows if license server is up.
-x or -kill-session pid Clears the session referenced by the specified pid.
--batch action=command Performs the specified action in batch mode.
Here command can be one of:
  • uninstall-license
  • install-mkey^mkey=XXXXXXXXXXX
  • install-mkey-http^user=ng^proxy=http://myproxy^proxy-user=ng^proxy-passwd=xxxxxxx
  • install-license^lnum=XXX#XXXXXXXX^lkey=XXXXXXXXXXXX
  • install-ikey^ikey=XXXXXXXXXXX
  • install-ikey-http^user=ng^proxy=http://myproxy^proxy-user=ng^proxy-passwd=xxxxxxx
docker-assign [ docker-instance-name | docker-instance-id ] Assigns the license to a running docker instance.
docker-release Release a docker-assigned license.