2.5 Start with custom configuration directory

The -configDir option can be used to specify a config directory rather than using the default SERVER_HOME/config directory. This option allows the same SpringSource dm Server installation to be used to run multiple instances. Simply create a config directory for each instance, specifying unique port numbers, logging and tracing directories, etc. and specify that directory when starting SpringSource dm Server.

Note that if the path specified with -configDir is relative it will be interpreted as being relative to the root of the SpringSource dm Server installation.

2.5.1 Linux

To start SpringSource dm Server using a config directory of /config/node1:
cd $SERVER_HOME
bin/startup.sh -configDir /config/node1
			

2.5.2 Windows

To start SpringSource dm Server using a config directory of c:\config\node1:
cd $SERVER_HOME
bin/startup.sh -configDir c:\config\node1