cancel
Showing results for 
Search instead for 
Did you mean: 

General Discussions

BlaBlaWayland
Journeyman III

FlexLM License server migration

Our system is using Spartan 6, XC6SLX100-2FGG676 chip. ISE 14.3 design suite.

We have one FlexLM license server, and floating licenses on other developer PCs.

 

Now the server running FlexLM license is old and will be migrated to a virtual PC on cloud.

Reading from another post, I understand that I have to login to the license page and reassign from the old server to the new one.

 

Challenge#1.

The license was registered on another colleague, I might not have access to those login info.

 

Challenge#2.

As far as I understand, FLexLM license server is bounded to MAC address, hostid and possibly other "encryption". All these things are quite volatile for a virtual server on cloud.

 

Has anyone had similar experience? It would be highly appreciated if someone could point me to a feasible solution on this matter.

Thank you very much in advance.

 

Best

0 Likes
2 Solutions

Try posting your thread at AMD Forum's Developer "General Discussions" and see if anyone there might be of help: https://community.amd.com/t5/general-discussions/bd-p/devgurus-discussion

 

If not you can open a AMD SUPPORT ticket and see if they can direct you to the proper AMD department for help from here:  https://www.amd.com/en/forms/contact-us/support.html

 

EDIT: Googling Flex License found a source for FLEX LM License forum that would probably be your best bet to get the info that your require: https://community.flexera.com/t5/FlexNet-Publisher-Forum/License-file-migration-to-New-server/m-p/23...

 

Documentation from Flexera that might be helpful: https://docs.flexera.com/fnmea/2021r1/ManagerOnlineHelp/Content/helplibrary/manConfServer.htm

View solution in original post

0 Likes
BlaBlaWayland
Journeyman III

Hi elstaci,

 

Thank you very much for the speedy reply.

TL,DR: Generate a new node-locked license of "ISE webpack" and "ISE Embedded Edition" solved my problem.

 

With your guidance, I have my problem resolved. Below I will try to do a brief.

 

Challenge #1: We did manage to retrieve the other colleagues login info. Unfortunately, there is only certificate-based/node-locked licenses under his profile. There is no floating license at least on that webpage.

Challenge#2: However, on that webpage, I noticed both "ISE WebPack" and "ISE Embedded Edition" can be selected.

  • "ISE WebPack" is completely free, no need to do node lock. The hostId=Any.
  • "ISE Embedded Edition" is also free, but needs node lock. Hence, I binded its hostID to my new server's ethernet adapter mac address. (I contact IT department for making sure the mac address is static on that virtual server, apparently they have a config for that)

Then I generated the license. Based on its content (no "SERVER" line), so it is a certificate-based/node-locked license. And it is working fine.


Some other details I learnt from the way about the floating license (FLEXLM) just in case someone is interested.

The floating license file contains a special line "SERVER" line.

It has a format like "SERVER yourhostname yourhostid"

In my case, yourhostname is my server's hostname while yourhostid is the mac address of eth0 on the server.

 

I have tried so many ways. My findings are listed below:

  1. "Hostname" in the license file can be manually altered, as long as it matches two places (I am linux guy (ubuntu), not sure windows)
    1. /etc/hostname -> make sure it is the same in the license file
    2. /etc/host -> make sure 127.0.0.1 or localhost is the same in the license file
  2. "yourhostid" cannot be manually altered.
    1. It will give an error says the license file is not correct or similar error when you start lmgrd with the license.
    2. The only way to accomplish this is to "ip link set dev eth0 xx:xx:xx:xx:xx" to the same as "yourhostid" in the license file.
    3. There is  a catch, it seems that it has to be "eth0". I first tried so much time on altering a wifi network adapter, lmgrd always failed.
    4. "ip link set" only temperarily modify the mac address, try to google netplan yaml file for permanent change.
    5. You would like to have a systemd service for auto starting the lmgrd server
    6. There is a catch here, when ubuntu server boots up, if lmgrd serice starts right after network, it will pick up the permanent mac address but not the netplan yaml file. According the netplan man page, it is not reliable due to internal communication to udev. I tried to add a 10sec delay to start the service. It worked fine.

 

Here, here, it is my two cents learning along the way.

Hopefully, someone will find it is useful to some degree.

 

View solution in original post

2 Replies

Try posting your thread at AMD Forum's Developer "General Discussions" and see if anyone there might be of help: https://community.amd.com/t5/general-discussions/bd-p/devgurus-discussion

 

If not you can open a AMD SUPPORT ticket and see if they can direct you to the proper AMD department for help from here:  https://www.amd.com/en/forms/contact-us/support.html

 

EDIT: Googling Flex License found a source for FLEX LM License forum that would probably be your best bet to get the info that your require: https://community.flexera.com/t5/FlexNet-Publisher-Forum/License-file-migration-to-New-server/m-p/23...

 

Documentation from Flexera that might be helpful: https://docs.flexera.com/fnmea/2021r1/ManagerOnlineHelp/Content/helplibrary/manConfServer.htm

0 Likes
BlaBlaWayland
Journeyman III

Hi elstaci,

 

Thank you very much for the speedy reply.

TL,DR: Generate a new node-locked license of "ISE webpack" and "ISE Embedded Edition" solved my problem.

 

With your guidance, I have my problem resolved. Below I will try to do a brief.

 

Challenge #1: We did manage to retrieve the other colleagues login info. Unfortunately, there is only certificate-based/node-locked licenses under his profile. There is no floating license at least on that webpage.

Challenge#2: However, on that webpage, I noticed both "ISE WebPack" and "ISE Embedded Edition" can be selected.

  • "ISE WebPack" is completely free, no need to do node lock. The hostId=Any.
  • "ISE Embedded Edition" is also free, but needs node lock. Hence, I binded its hostID to my new server's ethernet adapter mac address. (I contact IT department for making sure the mac address is static on that virtual server, apparently they have a config for that)

Then I generated the license. Based on its content (no "SERVER" line), so it is a certificate-based/node-locked license. And it is working fine.


Some other details I learnt from the way about the floating license (FLEXLM) just in case someone is interested.

The floating license file contains a special line "SERVER" line.

It has a format like "SERVER yourhostname yourhostid"

In my case, yourhostname is my server's hostname while yourhostid is the mac address of eth0 on the server.

 

I have tried so many ways. My findings are listed below:

  1. "Hostname" in the license file can be manually altered, as long as it matches two places (I am linux guy (ubuntu), not sure windows)
    1. /etc/hostname -> make sure it is the same in the license file
    2. /etc/host -> make sure 127.0.0.1 or localhost is the same in the license file
  2. "yourhostid" cannot be manually altered.
    1. It will give an error says the license file is not correct or similar error when you start lmgrd with the license.
    2. The only way to accomplish this is to "ip link set dev eth0 xx:xx:xx:xx:xx" to the same as "yourhostid" in the license file.
    3. There is  a catch, it seems that it has to be "eth0". I first tried so much time on altering a wifi network adapter, lmgrd always failed.
    4. "ip link set" only temperarily modify the mac address, try to google netplan yaml file for permanent change.
    5. You would like to have a systemd service for auto starting the lmgrd server
    6. There is a catch here, when ubuntu server boots up, if lmgrd serice starts right after network, it will pick up the permanent mac address but not the netplan yaml file. According the netplan man page, it is not reliable due to internal communication to udev. I tried to add a 10sec delay to start the service. It worked fine.

 

Here, here, it is my two cents learning along the way.

Hopefully, someone will find it is useful to some degree.