Upon finalizing a floating license purchase, your salesperson will provide you with a floating license authorization code. Authorization codes look like this:
plls_api_1xAeI16MEv7FOZZCqdsmaVsIxsouUWzFchPR8Y4AhqoSLhRZBGuSGFAji7VpDL20wZHYAgxmzQfrJDqlILVRcrQsIIavhQaeFHqg4pUq1hdpnHN6uwKQtZ4
There are two ways to apply the floating license code to your product instance:
- Setting an environment variable named PJS_FLOATING_AUTHORIZATION with value set to the authorization code. The environment variable must be set at instance start up time. This is the preferred method and will override an authorization code on the file system.
- The code can also be placed into a text file named ‘floating-auth-code’ (no extension) on the file system, at a platform-specific location:
- Linux: $HOME/.profoundjs/floating-auth-code
Where $HOME is the home directory of the user the server process runs as. - IBM i: /profoundjs-base/floating-auth-code
- Windows: %ALLUSERSPROFILE%\profoundjs\floating-auth-code
- Linux: $HOME/.profoundjs/floating-auth-code
%ALLUSERSPROFILE% is a Windows environment variable. The location can vary based on Windows configuration but is typically set to C:\ProgramData.
The License Key Management page at http://server:port/key can be used to write the authorization code file to the appropriate location:
The instance must be restarted after applying an authorization code with the License Key Management page.