david7
21st November 2006, 17:47
Hi all,

Where is the server port number saved ? In which table ?

Thanks,
David

NPRao
21st November 2006, 21:49
David,

Which particular Ports are you referring to? Blogin daemon, OW connectors, SLM or ASM?

None of that information is stored in a table, they are all configurable option by the particular executable.

david7
22nd November 2006, 08:48
I'm refering to the SLM port..

If it is not stored in a table then how does baan get it ? Is it stored in a file ?

p.cole
22nd November 2006, 20:44
I'm refering to the SLM port..

By default I believe it's 6005. But it can be configured on the server and the client (servers.xml)

NPRao
22nd November 2006, 22:12
Refer to the SLM installation manual and look up the various options to configure any custom port:
$BclmServer -U
Usage: BclmServer [options]
Valid Server Startup Parameters:

-p[ort] <num> : Port number the server must listen on (default: 6005).
-up[ort] <num> : UDP port number the server must listen on (default: 6005) for broadcasts.
-s[lave] : Run server in Slave-mode (default is Master-mode).
-f[ront] : Run server in foreground, not as a daemon process.
-k[ill] : Kill a running server.
-l[og] <file> : Log stdout/stderr output to <file>.
-a[ppend] : Append to logfile (only useful with -l[og] option).
-maxconn <num> : Set max. connections server can handle (default: 2048).
-set var=val : Set environment variable 'var' to 'val'.
-u[sage] : Display this usage/help information message.
-h[elp] : Display this usage/help information message.
-? : Display this usage/help information message.
-v[ersion] : Display version information.

david7
23rd November 2006, 10:55
But it can be configured on the server and the client (servers.xml)

p.cole, where can I find the file servers.xml that you mentioned ? I looked but didn't find it..

NPRao, do you mean that from within baan there's no way to get the port number ? Only through the SLM ?

Thank you all for your answers..

ranias
23rd November 2006, 13:59
Here's the command:

bclmconfig -l -f [output file]

Example:
bclmconfig -l -f c:\lic.txt


The lic.txt file contains one row:
ln6:6005:M

NPRao
23rd November 2006, 21:05
do you mean that from within baan there's no way to get the port number ? Only through the SLM ?
David,

It's quite not clear what are you trying to do? Please state your requirements/questions explicitly for others to help you out.

jclju1
24th November 2006, 10:41
where can I find the file servers.xml that you mentioned ?

Default locations are:

c:\Program Files\Baan\shared\etc on Windows or

/usr/baan/shared/etc on Unix.

Regards.

david7
24th November 2006, 11:01
I have just found the servers.xml. it is under etc under the license manager in $BSE..

Thanks a lot for all your help,
David