Difference between revisions of "Licence servers"

From Applied Optics Wiki
Jump to: navigation, search
Line 18: Line 18:
 
  ./sync.sh
 
  ./sync.sh
 
  svcadm enable flexlm/new-service
 
  svcadm enable flexlm/new-service
 +
 +
== Restarting a Licence Server ==
 +
 +
Find which process to kill, then kill it:
 +
 +
cd /var/tmp/.flexlm
 +
grep new-service *
 +
 +
It should restart automatically. To look at whether it has restarted or not, see /var/log/licensing/.

Revision as of 16:52, 21 September 2008

Our licence servers run on optik. All of the licence information is in /home/licences.

Adding a new licence server

Install licence file and binaries to the correct location:

cd /home/licences/
mkdir new-service
ln bin/flexlm-bin new-service/flexlm-new-service
cp /path/to/licence-file new-service/new-service.license
cp /path/to/vendor-daemon new-service/
# now edit licence file to specify correct paths

Set up Solaris service daemon manifest:

cd /home/licences/svc/flexlm/
cp cadence.xml new-service.xml # or other pre-existing manifest file
sed -i 's/cadence/new-service/g' new-service.xml # may need gsed on optik
cd /home/licences/svc/
./sync.sh
svcadm enable flexlm/new-service

Restarting a Licence Server

Find which process to kill, then kill it:

cd /var/tmp/.flexlm
grep new-service *

It should restart automatically. To look at whether it has restarted or not, see /var/log/licensing/.