Presenter : Raj Singh IC Design Group CEERI Pilani 333 031 Phone : 01596-242359 Fax : 01596-242294 Email : raj@ceeri.ernet.in
Types of Licenses Types of Licenses Node-locked, Non-floating. Node-locked, Floating. Network Floating. License server is the system running the license daemons. Application server is where the licensed software is installed. These could be running different kinds of operating systems. c CEERI, Pilani IC Design Group 1
Node-locked License Node-locked License The application software only runs on the system (the node) on which it is authorized (locked) as per the license file. Node-locked, non-floating license : license server and application server are the same system. This can be dongle-based or MAC-based. Node-locked, floating license : license server and application server are on two different systems. The license on the license server is used only by the specified system given in the license file. Usually, only one user can run the application at a time on the specified system. For multiple-user usage, appropriate details of application servers are specified in the license file on the license server. c CEERI, Pilani IC Design Group 2
Network Floating License Network Floating License The application software runs on any system on the network if the license token is available from the license server. Licenses are said to be floating on the network. Multiple tokens (licenses) are possible. c CEERI, Pilani IC Design Group 3
License Servers Configuration License Servers Configuration Single-independent Server. Easy to manage, but no licenses are available if the server is down. Multiple-independent Servers. If a server is down, then licenses of that server are not available. Redundant Servers (3 or 5 servers). One logical server that is majoritybased (2-out-of-3, 3-out-of-5). Domain-based or Site-wide. c CEERI, Pilani IC Design Group 4
Redundant Servers Configuration Redundant Servers License 3 servers : Floating license tokens are available on the network if a minimum of 2 license servers are running. 5 servers : Floating license tokens are available on the network if a minimum of 3 license servers are running. One of the systems is the master license server and others are slave license servers. Order in the license file indicates the master and the slaves. If master is down, the first available slave in the list becomes the master. c CEERI, Pilani IC Design Group 5
Domain/Site Configuration Domain/Site Configuration Application software licensing is tied to a network domain. This could be domain-wide or sub-domain based. Usually requires a more elaborate licensing agreement. c CEERI, Pilani IC Design Group 6
Original License File Original License File # Date: 01/10/2008 # SYNOPSYS INC. KEY CERTIFICATE # Site ID: 86xx... SERVER hostname1 0030xxxxxxxx 27000 SERVER hostname2 0030xxxxxxxx 27000 SERVER hostname3 0030xxxxxxxx 27000 VENDOR snpslmd /path/to/snpslmd USE_SERVER INCREMENT SSS snpslmd 1.0 14-Jan-2012 1 6D28D0AA6BA3592EFED6 \ VENDOR_STRING="40e22 77e45 e82cb 9ceda e7369 bc4cd 57c69 fb86f 7339a 4ad" \... INCREMENT 3D snpslmd 2007.12 14-jan-2012 5 VENDOR_STRING=^1+S \ SUPERSEDE ISSUED=08-dec-2007 ck=246 SN=RK:5445-0:859191:889859 \ START=15-jan-2007 AUTH={ tmald=( LK=3D873638E25E1B059721) \ snpslmd=( LK=5D0756C8005ADB6B692B) }... c CEERI, Pilani IC Design Group 7
Modified License File Modified License File... SERVER smdp1.xyz.ac.in 0030xxxxxxxx 27008 SERVER smdp2.xyz.ac.in 0030xxxxxxxx 27008 SERVER smdp3.xyz.ac.in 0030xxxxxxxx 27008 VENDOR snpslmd /cad/licenses/snpslmd /cad/licenses/options USE_SERVER... c CEERI, Pilani IC Design Group 8
Managing License Files Managing License Files Separate lmgrd and license files vs. Single lmgrd and separate license files vs. Single lmgrd and single merged license file. Automatic starting of licenses. Using chkconfig --add cadtools in /etc/rc.d/init.d/. Setting LM LICENSE FILE and other variables. Default tcp ports are 27000-27009 for FlexLM. c CEERI, Pilani IC Design Group 9
License Services /etc/rc.d/init.d/cadtools #!/bin/bash # Author: Raj Singh <raj [AT] ceeri.ernet.in> # Version: 0.1 (Example) dated January xx, 200x. USE AT YOUR OWN RISK. # chkconfig: 2345 98 98 # description: Enable automatic start/stop of license managers for various CAD tools. # processname: cadtools # Source function library.. /etc/rc.d/init.d/functions start() { /bin/su nobody -c "/cad/licenses/lmgrd -c /cad/licenses/mentor.lic -l /var/tmp/mentor.log" /bin/su nobody -c "/cad/licenses/lmgrd -c /cad/licenses/synopsys.lic -l /var/tmp/synopsys.log" /bin/su nobody -c "/cad/licenses/lmgrd -c /cad/licenses/ams-hitkit.lic -l /var/tmp/ams-hitkit.log" echo "Started License Manager for Various CAD Tools" } stop() { pkill lmgrd echo "Stopped License Manager for Various CAD Tools" } restart() { /bin/su nobody -c "/cad/licenses/lmreread -c /cad/licenses/mentor.lic" /bin/su nobody -c "/cad/licenses/lmreread -c /cad/licenses/synopsys.lic" /bin/su nobody -c "/cad/licenses/lmreread -c /cad/licenses/ams-hitkit.lic" echo "Re-read License Files for Various CAD Tools" } c CEERI, Pilani IC Design Group 10
License Services case "$1" in start) start ;; stop) stop ;; restart force-reload reload) restart ;; status) /bin/su nobody -c "/cad/licenses/lmstat -c /cad/licenses/mentor.lic" /bin/su nobody -c "/cad/licenses/lmstat -c /cad/licenses/synopsys.lic" /bin/su nobody -c "/cad/licenses/lmstat -c /cad/licenses/ams-hitkit.lic" ;; *) echo $"Usage: $0 {start stop status restart force-reload reload}" esac exit $RETVAL Similarly do for other EDA tools. c CEERI, Pilani IC Design Group 11
Comments Some Comments on EDA Tools Installations Mentor s DFT requires uudecode install sharutils RPM. Some tools require Eclipse Graphics Editor. See, http://www.eclipse.org/. Synopsys tools installation may require uncompress. One solution is to link gunzip to uncompress. Cadence tools read documentation about installing order of base and update CDs. Do installation of EDA tools in windowing system (Gnome/KDE Desktop). c CEERI, Pilani IC Design Group 12
Vendors Contacts Vendors Contacts Cadence http://sourcelink.cadence.com/; <india crc [AT] cadence.com>. CoWare http://www.coware.com/support/; <smdp support [AT] coware.com>. Magma http://www.magma-da.com/support/; https://molten.magma-da.com/; <sales-india [AT] magma-da.com>; <moorthy [AT] magma-da.com>. Mentor http://supportnet.mentor.com/; http://www.cg-coreel.com/contactus.html; <upt [AT] coreel.com>. Synopsys http://solvnet.synopsys.com/; <support [AT] dgipro-design.com>. Xilinx http://www.xilinx.com/xup/; <upt [AT] coreel.com>. HCL PCs and Peripherals http://www.hcl.in/contactus.htm>; <manish.kuma [AT] hcl.in>. Uniline UPS http://www.unilineindia.com/contact-us.html; <kpgupta [AT] uniline.in>. c CEERI, Pilani IC Design Group 13