Using single PURIFY License to run on different machines (FLEXlm).
Having a single license for PURIFY is not an issue if you need to run PURIFY on different platforms (not at the same time).
Following is an example of FLEXlm configuration where you can borrow a license to run product on another machine.
To do so, just add a fourth field on the DAEMON line for the rational vendor daemon. For example, DAEMON rational /etc/rational /usr/local/flexlm/options/rational.opt
Inside the /usr/local/flexlm/options/rational.opt add following lines:
- INCLUDE purify USER <user name>
- INCLUDE_BORROW purify USER <user name>@<machine name>
Then restart FLEXlm.
In case if you need to switch between users (for example compile under name abc, and run as xyz), I create a small script to this:
- #!/ bin / sh
- CFG=/usr/local/flexlm/options/rational.opt
- USER=$1
- MACHINE=blue
- FLEXPORT=27000
- # Stop FLEXlm
- /etc/init.d/Rational stop
- sed
- -e "s/^INCLUDE purify USER.*$/INCLUDE purify USER $USER/g"
- -e "s/^INCLUDE_BORROW purify USER.*$/INCLUDE_BORROW purify USER $USER@$MACHINE/g"
- $CFG > $CFG.tmp
- cp $CFG.tmp $CFG
- # Wait when FLEXlm sockets are freed
- while netstat -a 2>&1 /dev/null | grep $FLEXPORT; do sleep 10; done
- # Start FLEXlm
- /etc/init.d/Rational start
no comments yet.
What is the reason of having business logo and personal photo published on your account? »« Windows Automatic Update is not working. Error 0×8DDD0018
