Before requesting the licenses, the permissions of the file <HomeDirectory>/licmgr/sc and the directories <HomeDirectory> and <HomeDirectory>/licmgr must be changed. First, replace the owner group with the group of the user you use to run the servlet server. Next, assign the “rwx” permissions to the user and the group, and remove all permissions from the others.
For example:
chgrp <group> licmgr/
chmod 770 licmgr/
where:
<group> = Name of the group of the user you use to run the Web server.
Go to the login page of the GXportal backend to have the <HomeDirectory>/licmgr/System directory generated. Once this is done, you need to confirm whether the System directory has been created.
Finally, start a session with the root user and request the licenses.
Requesting licenses
In order to request licenses, the license request file must be generated. Upon generating this file, it must be sent to the local distributor with the following information:
Name of the Company
Email address to receive the file containing the product keys
Number of licenses per product
Type of license (limited or unlimited)
Number of days
To generate the license request file, the following command must be used:
./licmgr.sh –r <filename> <prodId> <prodId> … <prodId>
where:
<filename>= File name that will be generated “.gxa” extension.
<prodId>= Products id list, separated by space. In order to see the products list use this command: ./licmgr.sh -d
Entering licenses
Upon receiving the file containing the activation keys, you must activate the products. In order to do this, the following command must be used:
./licmgr.sh –e <filename>
where:
<filename>= Name of the key files.
Next, a summary of the information contained in the file is displayed and the user is asked to confirm the license installation. To install it, press "y" and to cancel, press "n".
Uninstalling licenses
To uninstall a license, the following command must be used:
./licmgr.sh –u <prodId> <copies>
where:
<filename> = ID of the product for which the licenses will be uninstalled.
<copies> = Number of licenses that will be uninstalled.
Next, the uninstall code is displayed; it must be sent to the local distributor.
Viewing installed licenses
To view the licenses currently installed, the following command must be used:
./licmgr.sh –d
Next, the following information is displayed about each product:
Product ID
Name
Version
Status
Start date
Copies
Type of license
Restrictions