This section lists and describes the lanman.ini file parameters that you can modify to change SunLink Server system configuration and performance. (Other configuration values are stored in the SunLink Server Registry, as well; see Appendix A, SunLink Server Registry.) The configuration values within the lanman.ini file are vital to the proper operation of the SunLink Server program, and editing this file is a task that should be performed only by experienced administrators.
When SunLink Server software is first installed, the lanman.ini file (/etc/opt/lanman/lanman.ini) contains some default parameter values. Other parameters and the titles of the sections in which they reside are added whenever you change the SunLink Server configuration. Only parameters that have been changed to values other than their default values are added to the lanman.ini file. If a parameter does not appear in the file (or is commented out with a semicolon), it is set to its default value.
Before attempting to change any of the parameters available in the lanman.ini file, it is useful to understand the relationship between the lanman.ini file entries and server defaults.
Every server parameter has a default setting. To display and edit default settings, a utility program called srvconfig is provided in the /opt/lanman/sbin directory.
You can edit the lanman.ini file to set parameters to values other than the defaults. The value assigned to any parameter in the lanman.ini file always supersedes the default value for that parameter. Note that no changes will actually take effect until you have stopped and then restarted the server.
When you want to set the value of a parameter to something other than the default by directly editing the lanman.ini file, locate (or add) the appropriate section title in the file, and then add the desired parameter=value entry.
Within each section of the lanman.ini file, parameters are listed as follows:
The name of each parameter is at the beginning of a line, followed by an equal sign and the value assigned to it: parameter=value.
Comments start with a semicolon (;). If a semicolon precedes a parameter on the line, that parameter is ignored.
When a list of values is assigned to a parameter, the values are separated by commas: parameter=value,value,value, ... (There are some exceptions to this rule, which are noted in the description of the appropriate parameters.)
When a value consists of a path, the path may be absolute, starting with a forward slash (/). If a path does not start with /, it is assumed to be relative to the lanman directory.
If a numeric value begins with 0 (the numeral), it is octal; if it begins with an "X," it is hexadecimal; if it begins with a numeral from 1 to 9, it is decimal.
When a parameter has no assigned value (nothing to the right of the equal sign), the value is 0 for a parameter that requires a number and null for a parameter that requires a character string.
A null value is not valid for all parameters.
/opt/lanman/sbin/srvconfig -p | more
Edit the lanman.ini file using vi or a similar text editor.
The file is in the /etc/opt/lanman directory. You may have to add a section heading to the file; for example [ lmxserver ]. You then need to add a parameter=value pair to the appropriate section of the lanman.ini file. (See the section, "About lanman.ini File Entries".)
Stop and restart the server for the new values to take effect.
For more information about the srvconfig command, type man srvconfig at the SunLink Server command prompt.
The following tables describe the configurable parameters in the lanman.ini file. The parameters are grouped according to the section of the lanman.ini file in which they reside.
The lanman.ini file contains additional parameters that are not included in the following tables. These parameters are for debugging purposes and you should not modify them.
Table 2-4 [Lmxserver] Section ParametersTable 2-5 [Fsi] Section Parameters
Parameter |
Description, Values, and Default Setting |
---|---|
fsaddonpath |
The location of dynamic link libraries (DLL) that support file systems on the server. Values: A path up to a maximum of 256 characters. Default: /opt/lanman/lib/addon/fsaddon |
fslibname |
The subdirectory of the directory identified by fslibpath where new file systems are located. Values: A path up to a maximum of 256 characters. Default: lmfsiops.so |
fslibpath |
The location of new file systems on the server. Values: A path up to a maximum of 256 characters. Default: /usr/lib/fs |
fsmap |
File system type identifiers that map unknown file systems to known file system types. Values: a comma-separated list of mappings. Default: unknown:s5,nfs:nfs,sfs:vxfs,cdfs:vxfs |
fsnosupport |
Maps unknown file system to specified file system. Default: s5 |
remotemounts |
The names of file system types that indicate remotely mounted file systems. Default: nfs |
Table 2-6 [Workstation] Section Parameters
Parameter |
Description, Values, and Default Setting |
---|---|
domain |
The name of the domain that includes the server. Values: any name of up to 15 characters, including letters, numbers, and the following characters: ! # $ % & ( ) - . ^ _ { } ~ ; Default: <servername>_dom |
Table 2-7 [Server] Section Parameters
Parameter |
Description, Values, and Default Setting |
---|---|
listenname |
If set, this is the server's name on the network. If not set, the SunLink Server system may receive client connections from the Solaris Listener on the Solaris machine name with a .serve extension (such as liberty.serve). This is implementation dependent. The Solaris system machine name can be determined by using the uname -n command. To change the value of the listenname parameter, use the setservername command. For more information about this command, type man setservername at the SunLink Server command prompt. Values: any name of 1-15 characters. Default: null |
maxclients |
Identifies the maximum number of simultaneous client sessions that the server must support. Default: 1000. |
srvservices |
The list of keywords for the services that start automatically when the server is started. Because services are started in the order they appear in the srvservices entry, you must ensure that netlogon appears before any services that require it. Default: alerter, netlogon, browser |
Table 2-8 [Psi] Section Parameters
Parameter |
Description, Values, and Default Setting |
---|---|
psaddonpath |
The location of dynamically linked libraries (DLLs) that support printer subsystems on the server. Values: A path up to a maximum of 256 characters. Default: /opt/lanman/lib/addon/psaddon |