Brandon wrote:Valery,
I found my problem and I feel foolish for not realizing it at the time.
The lab box I've been testing on only had a single host license loaded on it, Doh!
With the config file set to listen on 0.0.0.0 and with a license file for two hosts I can in fact connect from two separate segments through two separate interfaces on the target.
You say I can run two instances of Starwind, each bound to a different interface? How would I go about installing the second StarWind service?
Brandon
Brandon,
It's always worth looking to the service's logs if you have any problems with it. :)
There are 2 ways to start an additional instance of the server:
- As a Windows service (use --name parameter to change the service name)
- As a console application (use --console parameter)
In any case you can set a separate config file for an instance with -c<config> parameter.
Code: Select all
>StarWindService.exe --help
Usage: StarWindService.exe [service options] [port]
-?, -h, --help - display this message.
Service options:
--console - run as usual concole application.
--install - installs the service as service "name".
--login <name> - the service account name.
--password <password> - the service account password.
--uninstall - uninstalls the service "name".
--start - starts the service "name".
--stop - stops the service "name".
--name <name> - changes service name to "name".
--display <display name> - changes service display name to "display name".
-d - detach console (only if --console also used).
-c<config> - select configuration file. Default is 'StarWind.conf'.
-l<0-3> - set level of log messages.
-lm<mask> - set mask of log messages.
-lp<prefix> - set prefix for log files.
-ld<log dir name> - set directory for log files.
-o - redirect log messages to a file.
Example:
StarWindService.exe --console -cStarWind.conf 9260