7.5 Starting with a Custom Configuration Directory
Prev | 7. Starting and Stopping Virgo Server for Apache Tomcat | Next

## 7.5 Starting with a Custom Configuration Directory

Use the `-configDir` option to specify an alternate `configuration` directory, different from the default `SERVER_HOME/configuration` directory. This option allows you to use the same Virgo Server for Apache Tomcat installation to run multiple instances of VTS. Simply create a configuration directory for each instance, specify unique port numbers, logging and tracing directories, and so on, and then specify that directory when starting VTS.

If you specify a relative path for the `-configDir` parameter, the startup script interprets the path as relative to the root of the Virgo Server for Apache Tomcat installation, and not relative to the directory from which you execute the `startup` script.

See Alternate `serviceability` and `work` Directories for a known issue related to specifying an alternate `configuration` directory.

### Linux

To start Virgo Server for Apache Tomcat using a configuration directory of `/configuration/node1`:

    prompt$ cd $SERVER_HOME
    prompt$ bin/startup.sh -configDir /configuration/node1

### Windows

To start Virgo Server for Apache Tomcat using a configuration directory of `c:\configuration\node1`:

    prompt> cd %SERVER_HOME%
    prompt> bin\startup.bat -configDir c:\configuration\node1

Prev | Up | Next
7.4 Starting with JMX Access Modifications | Home | 7.6 Stopping Virgo Server for Apache Tomcat