On Windows
Command | Description |
---|---|
-install | Install (register) license service into the service manager. |
-start | Start (a registered) license service. |
-stop | Stop a running license service. |
-remove | Remove (deregister) license service from the service manager. |
-noservice | Start license server as a foreground application. |
-domain <domain> -user <user> -password <passwd> | The license service runs in the context of the given domain / user. |
-s[lave] | Start as a slave server (default = master server). |
-p[ort] <portNumber> | Listen on port <portNumber> (default = 6005). |
-up[ort] <udpPort> | Listen on UDP port <udpPort> for broadcast message (default = 6005). |
-?, -u[sage] or -h[elp | Display Help/usage information |
-svrArgs | Display additional server arguments that can be issued during license service startup. |
Command | Description |
---|---|
-l(og) <file> | Switch on and send logging to <file>. Use "\\" for path separation, for example: c:\\temp\\logfile. |
-a(ppend) | Append logging to existing log file. |
-maxconn <num> | Set maximum number of connections that the server can handle to <num>. |
-set <var>=<val> | Set environment variable <var> to <val>. You can use this to set SLMHOME. |
-?, -u[sage] or -h[elp] | Display help/usage information. |
By default, you can install and start a license service that:
- Runs as a master server.
- Listens on port 6005 for license-request messages.
- Listens on UDP port 6005 for broadcast messages.
You can use the -slave, -port and -uport parameters to deviate from the defaults.
An SLM server listens on an UDP port for broadcast messages. The SlmConfig utility and the Installation Wizard send a broadcast message to that port to get a list of all running SLM servers.
The SLM server listens on UDP port 6005. To set a different port, use the -uport parameter. Set a different UDP port if an SLM server is already running on that same system. In that case, the default UDP port is in use.
The command to install the default server:
SlmServer -install
In the Windows Service Manager, this default server has the service name BCLMD_M and the display name 'Solution License Server'.
To remove the default server:
SlmServer -remove
The start argument can be directly combined with the install argument to install and start the license service at one time. For example, to install and start a slave server that listens on port 6010 use this command:
SlmServer -s -p 6010 -install -start
This command creates a service that has the service name BCLMD_S_06010 and the display name "Solution License Server". To remove this service use the same slave and port parameters again:
SlmServer -s -p 6010 -stop -remove
Note that to register (install) the server, SlmServer -install, you must have administrator's rights.