Chapter5:LicensingSoftware
UsingtheLicenseWizard
Ifyouwanttokeepapermanentlogfile,youshouldchoosealocationonyoursystemwhereagrowing
logwillnotcausediskspaceproblems.OnSunsystems,the/var/admdirectoryisareasonable
choice.
ReclaimingUnusedLicenses(UNIXandMacintosh)
IfyouarerunninglicensedIDL,ENVI,orENVI EXwhenthemachinecrashes,thelicensethatwasin
usemightnotbereturnedtotheserver.Inthiscase,thelicenseisnotavailabletootherusers.The
lmremoveprogramallowsthesystemadministratortoremoveasingleuser’slicenseforaspecified
featureandallowsthelicensetoreturntothepoolofavailablelicenses.
DonotuselmremovetoreturnalicensethatisbeingusedbyanactiveIDL,ENVI,orENVI EX
session.Usethecommandonlytoreclaimlicensesfromsessionsthatarenolongeractive.
Tofreealicense,firstgatherinformationusingthestatuscommand,lmstat.Torunlmstat,change
toyourITT_DIR/idlxx/bindirectoryandtype:
lmstat -A | more
ThisshowsthestatusofLicenseManagersaswellaschecked-outlicenses.Forexample,thefollowing
lineshowsuser“robin”hasalicenseforIDLcheckedoutfromtheserver“hal7,”whichisbeing
displayedonthehost“josh”:
robin hal7 josh/:0 (vx.x) (hal7/1700/395), start Mon 10/12 4:34, # licenses
Theformatofthislineis:
user host display (version) (host/port/license_handle), start_date, #_of_
available_licenses
Tofreethelicenseheldbyuser“robin,”notetheuser,host,anddisplayvalues.Thenremovethelicense
withthefollowinglmremovesyntax:.
lmremove idl robin hal7 josh/:0
whereidl(orenviorenviex)isthefeature,robinistheuser,hal7isthehost,andjosh/:0
isthedisplay.YoucanchecktomakesurethelicensewasfreedbytypingthefollowingattheUNIX
commandprompt:
lmstat -A | more
Thelicenseyoujustremovedshouldnolongerappearinthelistoflicensescheckedout.
Todeterminethepossiblevaluesofthefeatureparameter,inspectthelicense.datfile.
FindingtheHostID(UNIXandMacintosh)
YouneedtoknowthehostIDwhencombininglicensefilesfromdifferentvendors.(See"Combining
LicenseFiles"onpage52.)
ThelmhostidprogramobtainsauniqueFLEXnethostIDfromyourmachine.Torunlmhostid,
changetothedirectory,ITT_DIR/idlxx/bin,andtypelmhostidattheUNIXprompt.The
outputoflmhostidlookslikethis:
51
InstallationandLicensingGuide
Pdf to tiff c# - control software platform:C# PDF Convert to Tiff SDK: Convert PDF to tiff images in C#.net, ASP.NET MVC, Ajax, WinForms, WPF
Online C# Tutorial for How to Convert PDF File to Tiff Image File
www.rasteredge.com
Pdf to tiff c# - control software platform:VB.NET PDF Convert to Tiff SDK: Convert PDF to tiff images in vb.net, ASP.NET MVC, Ajax, WinForms, WPF
Free VB.NET Guide to Render and Convert PDF Document to TIFF
www.rasteredge.com
UsingtheLicenseWizard
Chapter5:LicensingSoftware
lmhostid - Copyright (C) 1989-2007 Acresso
The FLEXnet host ID of this machine is "8002add0"
ThesystemhostidcommandmightnotreturnthesamerequiredFLEXnetvaluethatthelmhostid
commandreturns.
RunningOldandNewVersionsofSoftwareConcurrently
Inmanycases,youcanrunolderversionsofIDL,ENVI,orENVI EXconcurrentlywiththemost
recentversion.IfaFEATURElinehastheversionnumber7.100,forexample,itwillallowIDL7.1and
allearlierversionsofIDLtorun.Insomecases,newLicenseManagercapabilitiessuchasthe
INCREMENTlinemightpreventolderversionsofIDL,ENVI,orENVI EXfromworkingwiththe
latestversionoftheLicenseManager.
YoushouldstarttheLicenseManagerfromthelatestIDL,ENVI,orENVI EXdistributionandusethe
newlicensefilewiththeoldersoftwaredistribution.Theoldsoftwarelicenseinformationshouldnotbe
combinedwiththenewlicenseinformation.TheLicenseManagershouldonlybestartedoncefromthe
newdistribution.Itshouldnotbestartedfromanoldsoftwaredistribution.
UsingtheSameLicenseManagerforDifferentApplications
Acresso'sFLEXnetPublisher(formerlytheFLEXnetLicenseManager)isusedasthenetworklicense
managementfacilityforIDL,ENVI,andENVI EX.SincethisLicenseManagerisnotuniquetoITT
VisualInformationSolutionssoftware,youmayneedtorunsoftwarefromtwoormoresoftwarevendors
thatalluseFLEXnet.Inthiscase,youmayfindLicenseManagerconflicts.
YouhavethefollowingoptionsifmultipleproductsusingFLEXnethavelicensesservedfromthesame
licenseserver:
l
"CombiningLicenseFiles"onpage52intoasinglelicensefile
l
"CreatingUniqueFLEXnetPublisherServicesforEachProduct"onpage54
CombiningLicenseFiles
IfIDL,ENVI,orENVI EXandothervendorproductsalsousingFLEXnetwillbeusingthesame
licenseservertoadministerlicenses,andifallofthevendorlicensefilesarecompatible,youcan
combinethelicensefilesinasinglelicensefile.
DifferentFLEXnetvendorlicensesarecompatibleforcombinationiftheLMHostidvalueonthe
SERVERlineforeachfileisexactlythesame.Forexample,iftheSERVERlineintwodifferent
vendorlicensefilesisthefollowing:
SERVER server1.acme.com 12345678 1700
and
SERVER server1 12345678 1800
YoucancombinethelicensesintoasinglelicensefileusingeitheroftheSERVERlinesabove,because
thethirditemisthesameinboth(12345678).
InstallationandLicensingGuide
52
control software platform:C# Create PDF from Tiff Library to convert tif images to PDF in C#
C#.NET PDF - .NET PDF Library for Creating PDF from Tiff in C#. Best and free C# tiff to adobe PDF converter SDK for Visual Studio .NET.
www.rasteredge.com
control software platform:C# WPF Viewer: Load, View, Convert, Annotate and Edit Tiff
PDF from Excel; C#: Create PDF from PowerPoint; C#: Create PDF from Tiff; C#: Convert PDF to Word; C#: Convert PDF to Tiff; C#: Convert
www.rasteredge.com
Chapter5:LicensingSoftware
UsingtheLicenseWizard
Warning: ManuallycombiningtheinformationfrommultipleseparatedITTVisualInformation
Solutionslicense.datfilesthatcontainaSERVERlinewillinvalidatethelicenseandpreventthe
LicenseManagerfromrunning.ThenewestversionofITT'sproductlicensefilewillnormallywork
withpreviousversionsofthesupportedproducts.
Aftershuttingdownthelicenseservers,useatexteditortocreateasinglelicensefile.Inthissingle
licensefile,combinealllicensefilesbytakingtheSERVERlinesfromanyonelicensefileandadding
alltheDAEMON,FEATURE,FEATURESET,andINCREMENTlinesfromallofthelicensefiles.
Placecopiesofthiscombinedlicensefileinthelocationsrequiredbythevarioussoftwarevendors.
Alternatively,asinglecopyofthelicensefilecanbelocatedinanyconvenientlocation,inwhichcase
eachclientmachinemustsettheLM_LICENSE_FILEenvironmentvariabletopointtoit.Formore
information,see"ConfiguringClientAccesstotheLicenseManager"onpage44.
Windows
Whenyouhaveeditedthelicensefileandsaveditintheappropriatelocations,restarttheLicense
ManagerwiththemostrecentversionoftheLicenseManagerdaemon(lmgrd)thatyouhaveinstalled.
TodeterminetheversionoftheLicenseManagerdaemonprogram(lmgrd.exe):
1. LaunchaMS-DOScommandprompt.
2. Changedirectory(usethecdcommand)toITT_DIR\idlxx\bin.<platform>,where
ITT_DIRisthemaininstallationdirectory.
3. Enterthefollowingcommandattheprompt:
lmgrd -version
Theoutputshouldlooksomethinglikethefollowingexample:
lmgrd v11.4.100.0 build 50818 i86_n3 ...
Ifanolderversionoflmgrdisused,theLicenseManagerfromtheproductwithamorerecentlmgrd
maynotoperatecorrectly.
ChangestoanalteredlicensefilewillnottakeeffectuntiltheLicenseManagerisrestartedusingthat
licensefile.
UNIXandMacintosh
IDL,ENVI,orENVI EXmightusealicensesourcedifferentfromLM_LICENSE_FILEifIDL_
LMGRD_LICENSE_FILEisdefinedina.flexlmrcfileorasanenvironmentvariable.Formore
information,see"LicenseSources"onpage61.
Ifyouareonaclientmachine,youcanalsosetyourenvironmentstopointtotheport@hostsettingof
thelicenseserver.
Aftersavingthelicensefilesintheappropriatelocations,restarttheLicenseManagerwiththemost
recentversionoftheLicenseManagerdaemon(lmgrd)thatyouhaveinstalled.Ifanolderversionof
lmgrdisused,theLicenseManagerfromtheproductwithamorerecentlmgrdwillnotoperate
correctly.Todeterminetheversionoflmgrd,runthelmgrdprogramwiththe-versionswitch.For
example:
/usr/local/itt/idlxx/bin/lmgrd -version
53
InstallationandLicensingGuide
control software platform:C# WinForms Viewer: Load, View, Convert, Annotate and Edit Tiff
PDF from Excel; C#: Create PDF from PowerPoint; C#: Create PDF from Tiff; C#: Convert PDF to Word; C#: Convert PDF to Tiff; C#: Convert
www.rasteredge.com
control software platform:C# HTML5 Viewer: Load, View, Convert, Annotate and Edit Tiff
three plug-ins, RasterEdge XDoc. HTML5 Viewer for C# .NET can help to convert Tiff to PDF document online directly. Tiff Annotation.
www.rasteredge.com
UsingtheLicenseWizard
Chapter5:LicensingSoftware
Theoutputshouldlooksomethinglikethefollowing:
lmgrd v11.4.100.0 build 50818 i86_n3 ...
Ifyoudonotcombinelicensefilesorifthevendorlicensefilesarenotcompatible,youhavetheoption
ofstartingaseparateLicenseManagerforeachvendor’slicensefileonthesamesinglelicenseserver.
CreatingUniqueFLEXnetPublisherServicesforEachProduct
Asanalternativetocombiningthelicenseinformationfrommultiplevendors’licensesandrunninga
singleinstanceoftheFLEXnetPublisherservice,youcaninstallandstartaseparateinstanceofthe
FLEXnetservice(withauniquename)foreachseparatevendor'slicensefile.
UsingseparateinstancesoftheFLEXnetservicewithseparatevendorlicensesrequiresadministering
multipleservicesandlicensefiles.However,multipleFLEXnetservicesandseparatevendorlicense
filesletthesystemadministratorstopandstartFLEXnetservicesfreelyforparticularvendorswithout
regardforothervendors’FLEXnetservicesrunningonthatsamesystem.
MakesurethatonlyoneinstanceoftheFLEXnetPublisherwillstartontheservermachinewithrespect
toanyIDL,ENVI,orENVI EXlicensefile.IfaninstanceoftheFLEXnetserviceisalreadyrunning
forthesesoftwareproductsonthissamelicenseserver,theninstallingasecondinstanceoftheFLEXnet
servicefortheproductsunderadifferentnamecancauseaconflictwhenWindowsisloaded.(To
resolvesuchaconflict,stopallbutoneoftheconflictingFLEXnetservicesimmediatelyafterloggingon
tothatlicenseserver.)
Iftheproductsusedifferentserversessions,alocalorsharednetworkcopyofeachvendorlicensefile
isrequiredoneachclientmachine,oraport@hostreferencemightbenecessary.Thecopyofthe
licensefileorport@hostreferencedirectstherequestforalicensetotheproperserver.Youwillalso
needtosettheexistingLM_LICENSE_FILEvariabletoincludethenewproduct’slicensefilepathor
aport@hostreference.
Windows
AfterverifyingthatthereisnotalreadyanID-L,ENVI-,orENVI EX-configuredFLEXnetservice
runningonyourservermachine,youcanconfigureauniquelynamedinstanceoftheFLEXnetservice
fortheseproductstoavoidconflictwithothervendors’FLEXnetservices.
Note:OnlyoneinstanceofanITT(orRSI)productFLEXnetPublisherservicecanberunningona
machineatanyonetime.RunningmultipleinstancesoftheITTFLEXnetserviceatthesametimewill
preventtheLicenseManagerservicefromoperatingcorrectly.
ToinstallauniqueinstanceoftheFLEXnetPublisherforanIDL,ENVI,orENVIEXproductlicense
file:
1. Confirmthatyourupdatedlicenseisalreadyproperlyinstalledonthelicenseserver.
2. SelectoneofthefollowingtostartLMTools:                 
l
Start>Programs>IDLx.x>LMTools
l
Start>Programs>ENVIx.x>LMTools
l
Start>Programs>ENVI EX>LMTools
TheLMToolsdialogappears.
InstallationandLicensingGuide
54
control software platform:C# TIFF: TIFF Editor SDK to Read & Manipulate TIFF File Using C#.
Easy to generate image thumbnail or preview for Tiff document at ease. Convert Tiff file to bmp, gif, png, jpeg, and scanned PDF with high fidelity in C#.
www.rasteredge.com
control software platform:C# WPF PDF Viewer SDK to view, annotate, convert and print PDF in
Word, C# extract text from PDF, C# convert PDF to Jpeg, C# compress PDF, C# print PDF, C# merge PDF files, C# view PDF online, C# convert PDF to tiff, C# read
www.rasteredge.com
Chapter5:LicensingSoftware
UsingtheLicenseWizard
3. ClickontheConfigServicestab.
4. SelectanexistingservicenameifyouhavepreviouslyconfiguredanITT(orRSI)FLEXnet
(formerlyFLEXlm)Publisherservice,youcanselectthisitemfromtheServiceNamepulldown
listtomodify.(Aservicenamecannotbechanged.Ifyouwanttouseadifferentservicename,
usetheinstructionsinthefollowingstep.)
Or,
5. IfyouareinstallingaFLEXnetPublisherserviceforthefirsttime,dothefollowing:                 
l
DeletethecurrentlyshowntextintheServiceNamepull-downlist.Notethatthisdoesnot
deleteanexistingserviceprofile;itissimplyamethodtoaddanewprofile.
l
IntheblankServiceNamefield,enterthenameofthenewFLEXnetservicetoadd.The
defaultservicenameforITTproductsis“ITTFLEXlmLicenseManager.“
l
PresstheTabkeytoleavetheServicenamefield.Noticethatanypreviouslyshownpath
settingswilldisappear.ThisdoesnotaffecttheexistingFLEXnetserviceprofiles.
6. ConfigureorreconfigurethepathsettingsfortheFLEXnetserviceprofilebybrowsing(withthe
Browsebuttons)orenteringfilepathsintotheappropriatefields:                 
l
Pathtothelmgrd.exefile—ThedefaultpathfortheLicenseManagerdaemoninIDL7.1
is:
C:\Program Files\ITT\IDL71\bin\bin.x86\lmgrd.exe
l
Pathtothelicensefile—ThedefaultpathforIDL7.1is:
C:\Program Files\ITT\license\license.dat
l
Pathtothedebuglogfile—Thedebuglogfiledirectorymustexist,butthedebugfile
itselfdoesnotneedtoalreadyexist.ThedefaultpathforIDL7.1is:
C:\Program Files\ITT\license\lmgrd_log.txt
7. IfyouwanttheLicenseManagertostartautomaticallyatboottimeasaservice(recommended),
checktheUserServicesandStartServeratPowerUpcheckboxes.
8. ClicktheSaveServicesbuttontosaveanyconfigurationchanges.Confirmsavingthechanges
whenprompted.
9. Finally,tostarttheLicenseManager,selecttheStart/Stop/RereadtabandclickontheStart
Serverbutton.ExitLMTools.(RebootingthesystemwillalsostarttheLicenseManager
service.)
UNIXandMacintosh
IDLmightusealicensesourcedifferentfromLM_LICENSE_FILEifIDL_LMGRD_LICENSE_FILE
isdefinedina.flexlmrcfileorasanenvironmentvariable.Formoreinformation,see"License
Sources"onpage61.
Forexample,ifyouhaveanexistingproductnamedotherappresidinginthehomedirectory,theLM_
LICENSE_FILEenvironmentvariablewouldbedefinedasfollows:
ForCshell:
setenv LM_LICENSE_FILE /home/otherapp/license.dat
55
InstallationandLicensingGuide
control software platform:C# PDF Image Extract Library: Select, copy, paste PDF images in C#
Scan image to PDF, tiff and various image formats. Extract image from PDF free in .NET framework application trial SDK components and online C# class source
www.rasteredge.com
control software platform:C# HTML5 PDF Viewer SDK to view PDF document online in C#.NET
Word, C# extract text from PDF, C# convert PDF to Jpeg, C# compress PDF, C# print PDF, C# merge PDF files, C# view PDF online, C# convert PDF to tiff, C# read
www.rasteredge.com
UsingtheLicenseWizard
Chapter5:LicensingSoftware
ForKornorBashshell:
export LM_LICENSE_FILE=/home/otherapp/license.dat
AddanIDL,ENVI,orENVI EXlicensefiletotheexistingLM_LICENSE_FILEvariableby
separatingthenewapplication’slicensepathfromtheexistingonewithacolonasfollows:
ForCshell(enterthefollowingcommandasoneline):
setenv LM_LICENSE_FILE=
/home/otherapp/license.dat:ITT_DIR/license/license.dat
ForKornorBashshell(enterthefollowingcommandasoneline):
export LM_LICENSE_FILE=
/home/otherapp/license.dat:ITT_DIR/license/license.dat
WhereITT_DIRistheinstallationdirectory.
Ifalocalornetworkcopyofthelicensefileisnotavailable,youcanuseaport@hostreferenceinthe
LM_LICENSE_FILEdefinition.Forexample:
ForCshell:
setenv LM_LICENSE_FILE /home/otherapp/license.dat:1700@server1
ForKornorBashshell:
export LM_LICENSE_FILE=/home/otherapp/license.dat:1700@server1
RestarttheLicenseManagerwiththemostrecentversionoflmgrdthatyouhaveinstalled.The
versionnumberoflmgrdisdisplayedwhenitisstarted.Youcanalsodeterminetheversionbyrunning
thelmgrd -versioncommand.Ifanolderversionoflmgrdisused,theLicenseManagerdaemon
thatusestheproductwithamorerecentversionofFLEXnetwillnotoperatecorrectly.
ForstartingandstoppingtheLicenseManagerinanenvironmentthathasmultiplelicenseservers
running,itisrecommendedthatyouusethe-cswitchforlmgrdtospecifywhichlicenseserveryou
wanttoreference.Forexample,tostarttheLicenseManagerwithrespecttoanITTVisualInformation
Solutionslicensefileinthedefaultlocation,issuethefollowingcommand(asoneline):
/usr/local/itt/idlxx/bin/lmgrd -c /usr/local/itt/license/license.dat
SavingtheLicenseFileinanAlternativeLocation
Itisstronglyrecommendedthatyousaveyourlicensefilewiththedefaultpathandfilenameinthe
followinglocation:
Windows:
ITT_DIR\License\license.dat
UNIXandMacintosh:
ITT_DIR/license/license.dat
WhereITT_DIRistherootinstallationdirectory.
Ifyouputyourlicensefileinthisdirectory,youdonothavetoredefineanyenvironmentvariables.
InstallationandLicensingGuide
56
Chapter5:LicensingSoftware
UsingtheLicenseWizard
Ifyouchoosealocationotherthantheseforthelicensefile,itmustbeaccessibletotheIDL,ENVI,or
ENVI EXsoftwarethatyouinstalledonyourmachine.Therefore,youmustdefinetheenvironment
variableLM_LICENSE_FILEtopointtotheactualpathofthelicensefilepriortousingIDL,ENVI,or
ENVI EX.Forexample,ifyousaveyourlicensefileas:
C:\flexnet.files\ittlicense.dat
IDL,ENVI,andENVI EXwillnotrunproperlyuntilyoudefinetheLM_LICENSE_FILEvariable.
See"ConfiguringClientAccesstotheLicenseManager"onpage44formoreinformationonLM_
LICENSE_FILE.
Windows
Usethefollowingstepstosavethelicensefiletoanalternativelocation:
1. OpentheSystemcontrolpanel.
2. ClicktheAdvancedtab,andclicktheEnvironmentVariablesbutton.ClicktheNewbutton
belowtheSystemVariablesboxandenterthefollowinginformation:
1. Type,inuppercaseletters,LM_LICENSE_FILEintheVariableNamefield.
2. TypethepathtothelicensefileintheVariableValuefield:inthisexample,
C:\flexnet.files\ittlicense.dat.Replacethisvaluewiththeactualpathto
yourlicensefile.
3. Savethesettings.
UNIXandMacintosh
Usethefollowingstepstosavethelicensefiletoanalternativelocation:
1. Modifyyour.cshrc,.profile,or.bashrcfileusinganytexteditor.Youmustdefinethe
UNIXenvironmentvariableforLM_LICENSE_FILEtopointtotheserverandportofthe
machinerunningtheLicenseManager.Thesyntaxforthedefiningtheenvironmentvariableis:
port@host
Forexample,ifyouarerunningtheLicenseManageronamachinenamed“hal”withaportof
1700,thenenterthefollowing:
ForCshell:setenv LM_LICENSE_FILE 1700@hal
ForKornorBashshell:export LM_LICENSE_FILE=1700@hal
IfLM_LICENSE_FILEhasalreadybeendefinedforanothersoftwareproduct,thedefinitionof
thislicensefilecanbeappendedusingacolon(:)asthedelimiter.Forexample:
/usr/local/myapplication/license.dat:1700@hal
Or,
$LM_LICENSE_FILE:1700@hal
2. Logoutandlogbackintoexecutethe.cshrc,.profile,or.bashrcfile,orexecutethe
filefromthehomedirectoryusingoneofthefollowingcommands.
ForCshell:source .cshrc
57
InstallationandLicensingGuide
UsingtheLicenseWizard
Chapter5:LicensingSoftware
ForKornshell:. .profile
ForBashshell:. .bashrc
UpgradingaNetworkLicenseManager
Instructionsvarybyplatform.
Windows
WhentheLicenseWizardinstallstheLicenseManager,italsoautomaticallyconfiguresaservice
named“ITTFLEXlmLicenseManager”usingdefaultfilesettings.
IfapreviouslyconfiguredLicenseManagerwithadifferentnameisrunningonthesameserver
administeringyourIDL,ENVI,orENVI EXlicensefile,itisrecommendedthatyoustop,thendisable
orremove,thepreviouslyconfiguredservicetoavoidapotentialsystemconflictcausedby
simultaneouslyrunningtwoLicenseManagersononemachine.
TomanuallystopandremovetheoldLicenseManagerservice:
1. Selectoneofthefollowing:
l
Start>Programs>IDLx.x>LMTools
l
Start>Programs>ENVIx.x>LMTools
l
Start>Programs>ENVI EX>LMTools
TheLMToolsdialogappears.
1. SelecttheConfigServicestab.
2. FromtheServiceNamedrop-downlist,selecttheolderLicenseManagernamethatyouwould
liketoremove.
YoucanidentifytheoperationalstatusofconfiguredservicesintheServicescontrolpanelutility.Ifthe
Statusfieldis“Started,”theserviceiscurrentlyrunning.
IfthemachineisservinglicensesforotherproductsthatusetheFLEXnetPublisherservice,andyouare
unsurewhichistheunnecessaryITTLicenseManagerservice,contactyoursystemornetwork
administratorforassistance.
1. SelecttheStop/Start/Rereadtab.TheselectedLicenseManagerserviceishighlighted.
2. ClickStopServertostoptheservice.Iftheselectedserviceisnotcurrentlyrunning,then
clickingStopServerdisplaysaStatusfieldmessagethatverifiesthatLMToolsisunabletostop
theselectedservice(e.g.,“UnabletoStopServer”).
3. Afterstoppingtheservice,returntotheConfigServicestabandclickRemoveServiceto
completetheremovaloftheoldLicenseManager.
UNIX
IfyouareupgradingtoanewerversionofIDL,ENVI,orENVI EX,youshouldusetheversionofthe
LicenseManager thatshippedwiththelatestversionoftheseprograms.NewerversionsofFLEXnet
supportapplicationsthatwerebuilttoworkwitholderversionsofFLEXnet.Usinganewerversionof
IDL,ENVI,orENVI EXwithanolderversionoftheLicenseManager(lmgrd)mightnotallowthese
productstooperatecorrectly.
InstallationandLicensingGuide
58
Chapter5:LicensingSoftware
UsingtheLicenseWizard
TodeterminetheversionofyourLicenseManager,runthelmgrdprogramwiththe
-versionswitch.Forexample:
/usr/local/itt/idlxx/bin/lmgrd -version
ToupgradetheLicenseManagertorunatboottime,issuethefollowingcommandsatthecommandline:
cd ITT_DIR/idlxx/bin
lmgrd_install
Macintosh
Toavoidproblems,usetheLicenseWizardorlmgrd_installtoupgradeyourLicenseManager.
Rootprivilegesarerequiredtosuccessfullyusethiscommand.Ifyoursystemwasmanuallyconfigured
tolaunchapreviousversionoftheLicenseManageratboottime,youmightneedtouninstallordisable
theolder,manuallycreated,/Library/StartupItems.Simultaneouslyrunningmorethanone
LicenseManageronthesamemachinecanresultinaLicenseManagerconflict.
TheLicenseManagerinstallationscriptcreatesaLibrary/StartupItemsitemcalledIDL_
LMGRD.Ifyouhaveanotheriteminthisfolderwithadifferentname(e.g.,ITT_LICENSE)that
launchestheLicenseManager,removetheolder,conflictingitem.
59
InstallationandLicensingGuide
UsingLicenseFiles
Chapter5:LicensingSoftware
UsingLicenseFiles
Thelicensefilecontrols:
l
Whichproductscanrun
l
Whichmachinestheycanrunon
l
Howmanycopiescanrunconcurrently
ThefollowingisanexampleofanIDLlicensefile.Thisexampleisbuiltforthelicenseserver“hal,”
whichhastheLMHostid“0000c09a23f0”andthedesignatedportnumber“1700.”Thislicensehasfive
floatinglicenses.ThelastlineinthelicensefileistheFEATURESETline,whichtiesallthe
FEATUREandINCREMENTlinestogether:
SERVER hal 0000c09a23f0 1700
USE_SERVER
DAEMON idl_lmgrd
INCREMENT idl idl_lmgrd x.x00 1-jan-0000 30 5BC6A081FA3009FA5673 \
VENDOR_STRING="1234-1Acme Datawack Corp" ck=16
FEATURESET idl_lmgrd 96C31B1FB71BCAE9
TheFEATUREorINCREMENTlinesofthelicensefiledeterminewhichproductsareavailable.The
x.xreferstotheIDLversion.TheSERVERlinesdefinewhichmachinestheproductsrunon.The
numberofcopiesoftheproductthatcanrunconcurrentlyiscontrolledbythenumberoflicenseunits
available,asspecifiedbyeithertheFEATUREorINCREMENTlines.
TheFEATUREorINCREMENTlineforthefloatinglicenseshows30licenseunits.Thisisnotan
error.Eachidloridl_rtcountedlicenserequires6licenseunits(10forSolarisSparc)onthe
FEATUREorINCREMENTline.Thenumberoflicenseunitsisaplatform-dependentscalefactor
timesthenumberoflicensesyouown.Forexample,ifyouhave3Windowsfloatinglicenses,thisfield
issetto18.
ViewingLicenseFiles
ToaccessthetextofyourlicensefilethroughtheLicenseWizard,opentheLicenseWizard.See
"UsingtheLicenseWizard"onpage44fordetails.Youmustbeloggedinasrootorhavewrite
permissionsonthelicensingdirectorytomodifythelicensefile.
ModifyingLicenseFiles
Youcanmodifyonlythefollowingfourdataitemsinthelicensefile:
l
Hostnames(butnothostIDs)onSERVERlines
l
PortnumbersonSERVERlines
l
OptionsfilepathnamesonDAEMONlines(notethatitisnotnecessarytospecifyoptionfile
pathnameswithFLEXnetv6orlater).
l
PathnamesonDAEMONlines
OnWindows,younormallyshouldnotincludeapathontheDAEMONlineofyourserver-basedlicense
file.However,ifyourLicenseManagerdaemon(lmgrd.exe)fileandyourvendordaemonfile(
InstallationandLicensingGuide
60
Documents you may be interested
Documents you may be interested