License Server enables you to manage floating licenses for SOAtest, Virtualize, and CTP. License Server is usually installed as part of a Parasoft DTP deployment, but the standalone version of the application ships with CTP if DTP is not deployed in your organization. The standalone License Server ships as a .war file that you can deploy into new or existing Tomcat servers.
For details on adding licenses, see the CTP installation section
The Parasoft License Server web application is only needed if:
|
licenseserver.war
file into the <tomcat installation>/webapps
folder.In a browser, go to http://<host>:8080/licenseserver
.
admin/admin)
. If PSTSec is on a different server than the machine hosting License Server, see Connecting to Parasoft User Administration in order to log in. Restart Tomcat if you need to change License Server's port number or make any other configuration changes after the initial set up.
You will need to manually configure License Server to connect to User Administration (PSTSec) if User Administration is deployed to a different Tomcat server than the current CTP installation or if the Tomcat server is not running on port 8080.
Open the PSTSecConfig.xml
configuration file located in the /LicenseServer/conf/
directory and set the host and port for the user administration service, for example:
<remote-authentication> <enabled>true</enabled> <host>localhost</host> <port>8080</port> </remote-authentication> |
See Configuring LDAP for instructions on how to connect to an LDAP server.
If you are deploying the standalone License Server in Microsoft Azure, Amazon AWS, or another cloud service provider, the machine ID may change as the VM is shut down and restarted. Pass the –Dparasoft.cloudvm=true
parameter to the Tomcat params to ensure that machine IDs remain stable when VMs are restarted on cloud platforms:
set "CATALINA_OPTS=-Dparasoft.cloudvm=true"
You can install Parasoft software on different machines and use a USB HASP Key to provide a machine ID when connecting to License Server. The USB dongle provides a stable machine ID for License Server so that the rest of the hardware can be changed without needing to request new licenses from Parasoft. Contact your Parasoft representative for additional information.
<root-config>
node and save the configuration file: <external-lock-enabled>true</external-lock-enabled>
When the USB HASP key is removed, the machine ID will revert to the original ID. As a result, License Server will no longer provide licenses.
<root-config>
node and save the configuration file: <external-lock-enabled>true</external-lock-enabled>
usb_device
entry to use MODE="0666"
. udevadm control --reload-rules
udevadm trigger
When the USB HASP key is removed, the machine ID will revert to the original ID. As a result, License Server will no longer provide licenses.
See the latest Parasoft DTP documentation for details on License Server usage and functionality:
https://docs.parasoft.com/display/DTP540/Using+License+Server