Name

license — Install a license file

Synopsis

license [-h] [--version] {[--file FILENAME] [[--server port@host]...]} [--system]

Description

license is the tool that is used to install licenses for use by Freja.

Options

-h

Show help message and exit.

--version

Print version information.

--file FILENAME

Install the named license file. This can either be a node locked license file for the current host, or a license file for a server.

The license file will be installed for the user, unless [--system] is specified.

[[--server PORT@HOST]...]

Create a license file that identifies the named license server. Several redundant license servers can be specified. The server information is written as a license file.

The license file will be installed for the user, unless [--system] is specified.

[--system]

Install the license file for all users in the Freja installation directory.

Examples

Example 11. Installing a license file for the current user

Install a local license file for the current user. The license file can either be a node-locked file, or a copy of the license file installed on a license server machine.

$ license --file license.lic


Example 12. Installing a reference to three license servers

Install a system wide license file pointing to three machines running redundant FlexNet Publisher license servers on the default port.

$ license --system --server @10.0.0.2 --server @10.0.0.3 --server @10.0.0.4


Exit Status

0

Successful program execution.

1

Usage error.

Files

$HOME/.threadspotter/license/license.lic

Location of per-user license files. Freja looks for license files here if no system wide license file can be found.

/opt/freja/license/license.lic

Location of system wide license file.