Installation and Operations Guide > Installing the MSC.License Server > A.4 Replacing Codes on an Existing UNIX Server
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
A.4 Replacing Codes on an Existing UNIX Server
Follow these steps if you have an existing Patran installation (Version 7.0 or later) and have received new codes (as a renewal, change, etc.).
Edit the New License File
Place the new codes as a license file in the same directory as the existing license.dat file. Name it license_new.dat. Change the SERVER and DAEMON lines in the new license file to include the same port number, server name, and paths as the existing file. For example:
SERVER server1 123465 1700
DAEMON MSC /msc_licensing/flexlm/bin/msc
Replace License File
Rename the existing license.dat file to license_old.dat, and rename the new file to the current license file name (i.e. license.dat):
# mv license.dat license_old.dat
# mv license_new.dat license.dat
Force Daemon to Read New License File
Use the lmreread command to cause the lmgrd daemon to reset using the new license file.
# /msc/msc_licensing/bin/lmreread -c <path>/license.dat
You should now be able to run Patran products using the new licenses. If for some reason this fails, kill and restart the daemons as follows.
# /msc/msc_licensing/bin/lmdown -c <path>/license.dat
# /msc/msc_licensing/bin/lmgrd -c <path>/license.dat