Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computer:linux_flexlm_setup [2010/10/27 23:57]
tdobes
computer:linux_flexlm_setup [2011/01/14 20:40] (current)
tdobes add note about sysctl.conf changes
Line 152: Line 152:
   * ''​update-rc.d flexlm-fluent defaults''​   * ''​update-rc.d flexlm-fluent defaults''​
   * pin the licenses to a particular combination of ports... in the license file, add a port number after the MAC address to change the lmgrd port, and add ''​port=X''​ after the vendor daemon to change its port... These are just the TCP ports. ​ Some of the vendor daemons listen on UDP ports too, but those don't appear to be necessary so I'm leaving them firewalled. ​ One exception is ANSYS: ​ Clients need to be able to access the ansysli port and the lmgrd port, but NOT the ansyslmd port.  (ansysli talks to this one to proxy requests, so it's just there for loopback connections)   * pin the licenses to a particular combination of ports... in the license file, add a port number after the MAC address to change the lmgrd port, and add ''​port=X''​ after the vendor daemon to change its port... These are just the TCP ports. ​ Some of the vendor daemons listen on UDP ports too, but those don't appear to be necessary so I'm leaving them firewalled. ​ One exception is ANSYS: ​ Clients need to be able to access the ansysli port and the lmgrd port, but NOT the ansyslmd port.  (ansysli talks to this one to proxy requests, so it's just there for loopback connections)
 +  * FlexLM has a tendency to leave a bunch of FIN_WAIT1 connections lying around after a while... possibly as a result of clients dropping off without closing the connection properly. ​ We can work around this by adding these lines to ''/​etc/​sysctl.conf'':​
 +<​file>​
 +# closes a bunch of FIN_WAIT1 connections from flexlm
 +net.ipv4.tcp_orphan_retries = 2
 +</​file>​
   * Maple 14 side-by-side with Maple 13 -- The Maple people did something truly infuriating when they broke backwards-compatibility with their new license daemon in Maple 14.  We can't run multiple vendor daemons with the same name on the same system because they store lock files in /var/tmp ... but we can work around this with a chroot   * Maple 14 side-by-side with Maple 13 -- The Maple people did something truly infuriating when they broke backwards-compatibility with their new license daemon in Maple 14.  We can't run multiple vendor daemons with the same name on the same system because they store lock files in /var/tmp ... but we can work around this with a chroot
     * put the old license daemon in ''/​opt/​flexlm/​maple/​v13''​ (the new license daemon will live in the maple directory)     * put the old license daemon in ''/​opt/​flexlm/​maple/​v13''​ (the new license daemon will live in the maple directory)
computer/linux_flexlm_setup.txt · Last modified: 2011/01/14 20:40 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS