I am about to purchase QTP site licenses. Does anybody know how the license server works and what are the license server requirements? MI have defined the PC erquirements at MI QTP Requirements but not the license server requirements.
All it needs to be is a desktop or server than can be "seen" by the machines you will be using QTP from.
It can even be installed on one of the QTP desktops.
I have the concurrent licence server installed on a desktop on the same LAN as the QTP test machines. I had to add an environment variable to each QTP machine called LSHOST which contained the IP address of the desktop the licence server was installed on.
Every once in a while I have to stop & start the Sentinal service on the licence server desktop (this is the licence server service).
Is there any special software installled to serve the license or is it just some encrypted file which QTP on the desktop has to read? Does the QTP machine need write access to the license server?
No it's a peice of software called the Concurrent Licence Server that must be installed (I contacted Mercury because we were a Seat licence site then we had a requirement to use concurrent).
Once you have installed the software, retrieve the locking code using the utility inst_key.exe which should be in the installed software's bin directory and send this to Mercury licencing. They will generate your n user licence key.
You launch a utility called srvutils.exe and one of the icons along the top has a key image on it, click this and you will see a box at the bottom, here you type -a followed by the Licence key provided by mercury eg:
Then you should be good to go.
If your desktops don't contact the server you may need to add an environment variable called LSFORCEHOST with the licence server machine IP address in (I think this is when you have previously had concurrent versions of Winrunner previously on your desktop.