Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get License from Server Question

So I have a QVS with 9 named user CALs and a bunch of document CALs. Our apps are AJAX/ZFC-deployed in a split-server configuration. That is to say that the web server is separate from the QVS.

The developers need to have their QV Developer apps pull down licenses from the server. Right now, nobody has direct access to the QVS except as a mapped windows shared drive. (People connect to the web server to run the applications.)

So I have two questions:

  1. In QlikView developer, when I go to User Preferences > Locations > Default License Lease URL, what is the format of the URL? Is it http://myqvs.domain.com:someport/ or qvp://something, or what?
  2. This might be obvious, given the answer to question 1, but what ports do I need to open in the firewall so that the developers can get access to the server for licensing purposes?

OK, I lied. I have a third question: We are using DMS authentication. This means we have our named user cals assigned to our employee id numbers (an 8 digit number) rather than our Windows Active Directory user name. Is there a way of telling the server to use the ID number instead of the AD name? Or does this have nothing to do with getting the license?

Thanks,

-Bill

1 Solution

Accepted Solutions
Not applicable
Author

Many thanks to Kristoffer and D.Will for helping to clarify things.  To sum up...

My goal was to lease a license from our own QlikView server.

Before I get the license, QlikView for Windows says, "You are running QlikView Personal Edition" on the upper right of the Start Page.

You need to do the following (Note: I have QV 9.  Your milage may vary for other versions):

  1. Ensure that you have connectivity over port 4747 to the QlikView Server.
  2. Have an unassigned named user CAL on the server or one that's assigned to your Windows login ID (e.g. MyDomain\MyWindowsID).  This is done using the QlikView Management Console on the Licenses > Client Access Licenses page.  Also make sure that the "Allow license lease" checkbox is checked. (You might also need "Allow dynamic CAL assignment" to be checked.  We have it checked anyway, but I'm not sure whether it's required for this purpose.)
  3. In QlikView for Windows, under Settings > User Preferences > Locations, set the "Default License Lease Server (URL)" to your QlikView Server's hostname (example: qvp://myserver.mycompany.com).  See Kristoffer's comment in this thread for another way of doing this.

That should be all you need.  After setting this up and restarting QlikView for Windows, it should say, "You are currently leasing a license from myserver.mycompany.com."

View solution in original post

6 Replies
vgutkovsky
Master II
Master II

  1. I believe it's in the format: qvp://servername
  2. Since it's QVP format, I think it's just TCP 4747
  3. Good question! I'm not 100% sure, but I think leasing licenses works only with Windows identities. Intuitively this makes sense because leasing a license allows a local installation of QV Desktop to be fully-functional for 30 days, and this is per Windows username. If that is not acceptable, then maybe allowing leasing of licenses is not appropriate in your situation and you need to preassign all CALs.


Regards,

Not applicable
Author

Thanks Vlad,

I'll have our security people open up 4747 and give it a try, then report back.

Too bad about the named user CALs and DMS authorization. I'll run this one up through official support channels and see if I can find something that can meet our needs.

Not applicable
Author

I managed to get this working, but neglected to reply with the results.  Here's what you need to do:

1) In User Preferences > Locations, set the Default License Lease Server (URL) to your QlikView Server's hostname (example: myserver.mycompany.com)

2) Make sure you have connectivity over port 4747 to your server.

3) In User Preference > License, click the Change... button and enter the License Key and Control Number for the license on the QlikView server and click Next, then click the I Agree button on the next page.  QlikView will contact the server and install the license.

-Bill

Not applicable
Author

Hi Bill, you have documented some great tips, here, thank you.

In case it helps other QlikView users, I add the following information:

- With respect to your Step#1, "set the Default License Lease Server", I had equal success supplying values of "myserver.mycompany.com" as you suggest, and "qvp://myserver.mycompany.com" as Vlad suggests.

- With respect to your Step#3, "enter the License Key and Control", in my experience an easier alternative is to skip the data-entry. Instead, I simply close the QlikView Desktop application and then restart it.

- You will know that things are working when, in the “License Information” section of the “Getting Started” welcome screen, there is the message “QlikView User License (using license lease from server)”.

D.Will.

ATP Engineering.

Not applicable
Author


bchosiad wrote:

I managed to get this working, but neglected to reply with the results.  Here's what you need to do:

1) In User Preferences > Locations, set the Default License Lease Server (URL) to your QlikView Server's hostname (example: myserver.mycompany.com)

2) Make sure you have connectivity over port 4747 to your server.

3) In User Preference > License, click the Change... button and enter the License Key and Control Number for the license on the QlikView server and click Next, then click the I Agree button on the next page.  QlikView will contact the server and install the license.

-Bill

Bill,

Just want to clarify a little bit on your excellent reply.

There are two types of licenses for QV Desktop. They are "Local License" and "Leased License". If you want to use the leased license, your points 1 and 2 are perfectly valid even though point 1 is not requiered (it will just keep the license up to date automatically on a certain QVS).

The important thing to understand is that point 3 actually installs a "Local License" and if you do that, you don't need to worry about leased licenses at all (point 1 and 2). A local license will basically override the leased license.

Leased licenses works perfectly even without the use of the "Default License Lease URL". Just connect to a QVS and open a document, and then you will receive your leased license (given that you have a User CAL on the QVS). By adding a Default License Lease URL, you will make QlikView to update the leased license in the background every time you start QlikView. The URL should be in the format of "qvp://myserver.com".

Kristoffer

Not applicable
Author

Many thanks to Kristoffer and D.Will for helping to clarify things.  To sum up...

My goal was to lease a license from our own QlikView server.

Before I get the license, QlikView for Windows says, "You are running QlikView Personal Edition" on the upper right of the Start Page.

You need to do the following (Note: I have QV 9.  Your milage may vary for other versions):

  1. Ensure that you have connectivity over port 4747 to the QlikView Server.
  2. Have an unassigned named user CAL on the server or one that's assigned to your Windows login ID (e.g. MyDomain\MyWindowsID).  This is done using the QlikView Management Console on the Licenses > Client Access Licenses page.  Also make sure that the "Allow license lease" checkbox is checked. (You might also need "Allow dynamic CAL assignment" to be checked.  We have it checked anyway, but I'm not sure whether it's required for this purpose.)
  3. In QlikView for Windows, under Settings > User Preferences > Locations, set the "Default License Lease Server (URL)" to your QlikView Server's hostname (example: qvp://myserver.mycompany.com).  See Kristoffer's comment in this thread for another way of doing this.

That should be all you need.  After setting this up and restarting QlikView for Windows, it should say, "You are currently leasing a license from myserver.mycompany.com."