Forum Discussion
While you can run a License Manager on a VM, the constraints imposed by the licensing system make using a VM worse than using a physical machine if you can't control how the VM is managed. If you have the choice of using a physical machine, take it.
As for using the same machine to run TestComplete and serve licenses,.... yes, you can do that. In fact, you have the same license server bits already installed as part of the TestComplete installation. (The License Manager installation is just a repackaging of only the license server bits and pretty interface, and no TestComplete bits.)
- steve_mcclung10 years agoOccasional Contributor
Thank you Joseph. Now, I have another question. The complete configuration is as follows: We have QA Complete installed and setup on a VM. If we install TestComplete on 5 Physical machines, is it still feasible to integrate with QA Complete?
- joseph_michaud10 years ago
Staff
That should be fine. As long as the QAC machine (virtual or otherwise) can talk to the TestComplete machines, and as long as the TestComplete machines can talk to the License Manager machine (wherever that is), you should be OK.
- steve_mcclung10 years agoOccasional Contributor
Thanks your input helped me to resolve my issue.
I have another problem. Trying to install TestComplete1130 on another PC here for another tester. He had the trial version at one time. Now, after his installation, the dialog box comes up indicating the Trial license has expired. There is an option that says "Try to Find a License Again, if you have a floating user license activated on your network." but when he clicks on it nothing happens. When I did my installation the link took me to a configuration page and I was able to enter the search paramaters for our license manager server. Thanks in advance for you feedback.
- joseph_michaud10 years ago
Staff
You're probably referring to the "Access to Remote License Managers" page in the license service's local Sentinel Admin Control Center ( http://localhost:1947/_int_/config_to.html )
More information is also found here: Specifying License Manager for Connection
joseph_michaud can you expand on the comment "While you can run a License Manager on a VM, the constraints imposed by the licensing system make using a VM worse than using a physical machine if you can't control how the VM is managed."?
Are you saying that it will work to install TEstComplete license manager on (say) an Azure VM, with floating-license TestExecute running on VMs, as long as I have good control over the content and life of those VMs? What is the downside of doing so? Is the point that VMs are traditionally transient machines, and tearing down/setting up VMs for license servers becomes a problem?
Thanks.
Don
- joseph_michaud7 years ago
Staff
It is not the lifetime and content of the VMs that matter. It is the physical machine on which the License Manager VM runs that matters. The licensing system as we are using it unfortunately depends on some aspects of the machine (ie CPU type) that are not virtualized. In the end, this ties the licensing system to the underlying physical host on which the License Manager VM runs. If you can't control your License Manager VM in the VM environment, then you don't know which physical host your VM is running on.
If you're running your License Manager VM in a cluster of identical physical hosts... no problem. If your License Manager VM doesn't move from its physical host... no problem. But if your License Manager VM is wandering about, running on non-identical physical machines... problem. The licenses will be invalidated when the License Manager VM runs on a different physical host.
If you can control your VM environment, you can mitigate the problem by 'pinning' the VM to run on the same physical host. This works well in most cases.
Remember: this is only a problem for the License Manager VM (serving the licenses). It is not an issue for the VMs simply running TestComplete or TestExecute (which aren't serving licenses). (And this is only a problem for the License Manager on VMs. The licensing system uses different criteria to judge machine integrity for physical machines.)
I would like to do something similar with Testexecute. I would like my Licence Manger running in a VM and the Testexecute running on the same “physical machine“ in the VMs to connect to the VM with the Licence Manger installed. The VMs will always be on the same host.
I can install the Licence Manger, but when I try to activate the floating licences, I get the message “Virtual machine detected. To run the product on a virtual machine, you need a Floating User licence which must be activated on a physical computer.
Should this work or can you not have floating licenses for Testexecute in a VM Licence Manger?
- tristaanogre6 years agoEsteemed Contributor
You can use floating TestExecute licenses on a License Manager... that is, how it's designed. The problem is that it sounds like your TestExecute installations are not finding the licenses on the License manager. They are looking to run as node-locked licenses.