<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="About the Environment Variables|For the License Manager" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-US" xml:lang="en-US" MadCap:PathToHelpSystem="../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Specific Environment Variables</title>
        <link href="SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="Resources/Stylesheets/SFNT_Flare.css" rel="stylesheet" />
        <script src="SkinSupport/MadCapAll.js">
        </script>
    </head>
    <body>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkTop" style="display: none;"><a href="../Default_CSH.htm#License_Manager_Specific_Variables.htm" style="font-weight: bold;">Open the Table of Contents</a>
        </p>
        <div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="About the Environment Variables.htm">About the Environment Variables</a><span class="MCBreadcrumbsDivider"> &gt; </span><a class="MCBreadcrumbsLink" href="License Manager Environment Variables.htm">For the License Manager</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Specific Environment Variables</span>
        </div>
        <h1><a name="kanchor38"></a>License Manager - Specific Environment Variables</h1>
        <p>As an alternative way, the following environment variables can  be used for configuring the License Manager:</p>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_0" onclick="FMCDropDown( this ); return false;" name="LSDEFAULTDIR"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSDEFAULTDIR - Sets the Default Location of 
 the License Manager Files</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_0" style="display: none;">
                <p>The LSDEFAULTDIR environment variable can be used to set the default 
 location of the License Manager files. </p>
                <p>By default, the default directory is set to the directory the License 
Manager executable is located in. It’s recommended that the License Manager 
 default directory not be changed. </p>
                <p>For example, to tell the License Manager running on a Windows computer 
 that the default directory for License Manager files is a directory named, 
 C:\LS_FILES, 
 use the following command: </p>
                <p class="code">SET LSDEFAULTDIR=C:\LS_FILES</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_1" onclick="FMCDropDown( this ); return false;" name="LSERVRC"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSERVRC - Set the License Code File Name and Location</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_1" style="display: none;">
                <p>The LSERVRC environment variable can be used to set the name and location 
 of the license code file. </p>
                <p>By default, this file will be called lservc and reside in the License 
Manager default directory. It’s recommended that the default name and location 
 are used for this file. </p>
                <p>For example, to tell the License Manager that license code file is in 
 the current directory but named, <span style="font-style: italic;">network.lic</span>, 
 set the variable as follows: </p>
                <p class="code">SET LSERVRC=NETWORK.LIC</p>
                <p>To tell the License Manager running that license code file name and path 
 is, <span style="font-style: italic;">C:\LS_FILES\NETWORK.LIC</span>, 
 set the variable as: </p>
                <p class="code">SET LSERVRC=C:\LS_FILES\NETWORK.LIC</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_2" onclick="FMCDropDown( this ); return false;" name="LSERVRCCNF"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSERVRCCNF - Sets the Configuration 
 File Name  for Generating Alerts</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_2" style="display: none;">
                <p>The LSERVRCCNF environment variable can be used to set the custom name and 
 location of the License Manager general-purpose configuration file, containing readable license remap 
 statements and <a href="Alert_Specifications.htm">alert action</a> statements. If LSERVRCCNF is not used to specify the configuration file, then the 
 name and location of this file will be based upon the name and location 
 of the license code file. Hence, the configuration file will be looked 
 in the same directory as the license code file and have the same base 
 name as the license code file but with the extension<span style="font-style: italic;"> 
 .cnf</span>. </p>
                <ul>
                    <li class="Bullets_1" value="1">Typically, the License Manager configuration file is 
 called <span style="font-style: italic;">lservrc.cnf</span> and resides 
 in the License Manager default directory. It’s recommended that the default 
 name and location are used for this file. </li>
                    <li class="Bullets_1" value="2">To tell the License Manager that configuration 
 file is in the C:\LS_FILES directory and named, <span style="font-style: italic;">network.cnf: </span></li>
                    <p style="font-style: normal;"><span style="font-style: italic;"><span class="Code" style="font-style: normal;">SET LSERVRCCNF=C:\LS_FILES\NETWORK.CNF</span></span>
                    </p>
                    <li class="Bullets_1" value="3">To tell the License Manager that configuration 
 file is in the default directory (which will be   the License 
Manager  directory) but named, <span style="font-style: italic;">network.cnf: </span></li>
                </ul>
                <ul>
                    <li value="1"><span class="Code">SET LSERVRCCNF=NETWORK.CNF</span>
                    </li>
                </ul>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_3" onclick="FMCDropDown( this ); return false;" name="LSRESERV"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSRESERV - Sets the License Manager Reservation 
 File</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_3" style="display: none;">
                <p>The LSRESERV environment variable can be used to set the name and location 
 of the License Manager reservation file. This file is used by a system 
 administrator to specify the computers and users are authorized to run 
 a licensed application. &#160;It’s 
 recommended that the default name and location be used for this file. 
 By default, this file will be called<span style="font-style: italic;"> 
 lsreserv</span> and reside in the License Manager default directory.</p>
                <p>For example, to tell the License Manager running on a Windows computer 
 that the license reservation file is in the current directory but named, reserve, 
 use the following command:</p>
                <p class="code">SET LSRESERV=RESERVE</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_4" onclick="FMCDropDown( this ); return false;" name="LSPORT"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSPORT - Sets the License Manager Port</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_4" style="display: none;">
                <p>The License Manager port number is used by the UDP protocol when transferring 
 data between the License Manager and the client. Do not change the port 
 number unless your vendor has instructed you to do so or conflicts are 
 occurring between the License Manager and another network application that 
 is using the License Manager’s port number. 
 (The License Manager default port number is 5093, and has been registered 
 to SafeNet, Inc.) 
 A symptom of such a conflict would be License Manager communication errors.</p>
                <p>For example, to tell the License Manager running on a Windows computer 
 to use the port number 5093, use the following command:</p>
                <p class="code">SET LSPORT=5093</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_5" onclick="FMCDropDown( this ); return false;" name="LSERVLOG"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSERVLOG - &#160; Obtains the Name of (Error) Log File</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_5" style="display: none;">
                <p>This environment variable can be used to get the name of the error log 
 file.</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_6" onclick="FMCDropDown( this ); return false;" name="LSERVSTA"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LSERVSTA - &#160;Sets 
 the Location of LSRVSTA File</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_6" style="display: none;">
                <p>This environment variable can be used to set the location of LSERVSTA 
 log file. If you want to store this file at some other location, set "LSERVSTA" 
 environment variable with a valid path.</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_7" onclick="FMCDropDown( this ); return false;" name="ULSERVRC"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />ULSERVRC - &#160;Sets 
 the Upgrade File</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_7" style="display: none;">
                <p>This environment variable can be used to set the name and location of 
 the upgrade file. This file contains the upgrade license string. By default, 
 RMS server searches for this file at the current server location.</p>
            </div>
        </div>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_4112467416_8" onclick="FMCDropDown( this ); return false;" name="LS_LOG_A"><img style="border: none;margin-right: 5px;" src="SkinSupport/DropDownClosed.gif" MadCap:altsrc="SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( 'SkinSupport/DropDownOpen.gif' ); }" class="MCDropDownIcon" />LS_LOG_ANONYMITY - Sets the Anonymous Usage Logging Preferences</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_4112467416_8" style="display: none;">
                <p>The LS_LOG_ANONYMITY environment variable can be used to enable or disable the anonymous usage logging in the License Manager usage log files. You can set its value as 1 or 0 to enable or disable the anonymous logging, respectively.</p>
                <p>By default, the License Manager uses real user name and host name in the usage log.</p>
                <p>For example, to enable anonymous usage logging, 
 use the following command: </p>
                <p class="code">SET LS_LOG_ANONYMITY=1</p>
                <p>See also, Details about the <a href="License_Manager_LSERVOPTS.htm#anonymous">Anonymous Usage Logging Option</a>.</p>
            </div>
        </div>
        <p>&#160;</p>
        <script type="text/javascript" src="SkinSupport/MadCapBodyEnd.js">
        </script>
    </body>
</html>