Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow to setup floating license for a client PC?
I have a floating license for Altera software including Quartus II, Modelsim SE, Nios II. I setup a license server successfully according to instruction from http://www.altera.com/literature/manual/quartus_install.pdf?gsa_pos=1&wt.oss_r=1&wt.oss=installation%20and%20licensing.
As the license type supports up to three PCs, I want to license two other PCs as well. However, I am not sure how to configure license for all three PCs. Whether I have to 'rehost' in Sefl-service Licensing Center three times or I can setup one server and two other will share license file from this server. I could not find from related materials and the licensing center. So I am trying to post here with a hope that someone who has similar experience or knows related material can help to give me a solution or a clue. Thanks in advance.11 Replies
- Altera_Forum
Honored Contributor
For Modelsim-SE, usually you'd setup the main server with the floating licenses using FlexLM, and then specify the license server on the client machines, eg., if the server machine is 'fred', and 'bob' is a client, then 'bob' will have the environment variable
LM_LICENSE_FILE = 1717@fred Where 1717 is the license server port number on 'fred'. The LM_LICENSE_FILE variable can be a comma separated list of servers. Cheers, Dave - Altera_Forum
Honored Contributor
Thanks Dave,
--- Quote Start --- For Modelsim-SE, usually you'd setup the main server with the floating licenses using FlexLM, and then specify the license server on the client machines, eg., if the server machine is 'fred', and 'bob' is a client, then 'bob' will have the environment variable LM_LICENSE_FILE = 1717@fred Where 1717 is the license server port number on 'fred'. The LM_LICENSE_FILE variable can be a comma separated list of servers. --- Quote End --- I used FlexLM to setup the server with the generated license file that contains license for all software. And this works well on the server. You said this is for Modelsim SE, my question is that is it ok to combine all license products in one license file when setting up server with FlexLM? Is the port number optional or it must be set? If I must provide, what is the proper one and how can I get that? How can the client 'bob' search for license file stored in the server 'fred'? how to make 'bob' recognized the relationship between 'fred' and him? Thank you. - Altera_Forum
Honored Contributor
--- Quote Start --- I used FlexLM to setup the server with the generated license file that contains license for all software. And this works well on the server. You said this is for Modelsim SE, my question is that is it ok to combine all license products in one license file when setting up server with FlexLM? --- Quote End --- Yes, it can serve multiple software tools. You can use the license manager tools to get the server status. Start lmtools, select the server, click the server status tab, and click "Perform status enquiry". If you don't know what I'm talking about, then read the FlexLM manuals. --- Quote Start --- Is the port number optional or it must be set? If I must provide, what is the proper one and how can I get that? --- Quote End --- Your license file should have a line like: SERVER fred 001122334455 1717 i.e., SERVER <machine name> <MAC address> <server port number> --- Quote Start --- How can the client 'bob' search for license file stored in the server 'fred'? how to make 'bob' recognized the relationship between 'fred' and him? --- Quote End --- 1717@fred tells 'bob' to use the port number 1717 on 'fred'. 'fred' and 'bob' know about each other if you have your networking setup correctly. When you're logged onto bob, you should be able to ping fred. Cheers, Dave - Altera_Forum
Honored Contributor
Dear Dave,
--- Quote Start --- Start lmtools, select the server, click the server status tab, and click "Perform status enquiry". If you don't know what I'm talking about, then read the FlexLM manuals. Your license file should have a line like: SERVER fred 001122334455 1717 i.e., SERVER <machine name> <MAC address> <server port number> --- Quote End --- I understood your instruction and got the port number: Status -------- Flexible License Manager status on Sat 4/14/2012 01:30 [Detecting lmgrd processes...] License server status: 27000@MAINSERVER License file(s) on MAINSERVER: C:\altera\Licenses\License_2012_03_16.dat: The client could ping to the MAINSERVER. But when I change the LM_LICENSE_FILE to 27000@MAINSERVER and open Quartus, still it cannot be licensed. What else should I check? Thanks. - Altera_Forum
Honored Contributor
--- Quote Start --- The client could ping to the MAINSERVER. But when I change the LM_LICENSE_FILE to 27000@MAINSERVER and open Quartus, still it cannot be licensed. What else should I check? --- Quote End --- telnet MAINSERVER 27000 Should connect, but you'll get nothing out of it. If you get a message about "Could not open a connection ..." then you've got a firewall problem or something like that. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- telnet MAINSERVER 27000 Should connect, but you'll get nothing out of it. If you get a message about "Could not open a connection ..." then you've got a firewall problem or something like that. --- Quote End --- Exactly this msg, I will search to find the problem. Do you have a further suggestion? Thanks - Altera_Forum
Honored Contributor
--- Quote Start --- Do you have a further suggestion? --- Quote End --- Nope. Figure out why you cannot telnet to the server port, and you'll figure out why Quartus cannot talk to it either. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- Nope. Figure out why you cannot telnet to the server port, and you'll figure out why Quartus cannot talk to it either. Cheers, Dave --- Quote End --- OK, I found and solve out the problem. Now I have a real floating license. This does saves my time with licensing. Really appreciate your time and support. - Altera_Forum
Honored Contributor
--- Quote Start --- OK, I found and solve out the problem. --- Quote End --- What was it? Your answer might help the next person that has this problem. --- Quote Start --- Really appreciate your time and support. --- Quote End --- You're welcome. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- What was it? Your answer might help the next person that has this problem. --- Quote End --- Actually, my Window Server 2008 has not Telnet server installed and the Firewall was configured to prevent incoming connections. What I did is to add a port number (with a name) to the list of exceptions in Firewall. Other option is to turn off the Firewall. I tested with several clients and they all work.