Skip to content

Running Doradus Stand Alone

JoeWinter edited this page Mar 20, 2015 · 3 revisions

[Table of Contents](https://github.com/dell-oss/Doradus/wiki/Doradus Administration: Table-of-Contents) | [Previous](https://github.com/dell-oss/Doradus/wiki/Downloading Doradus) | [Next](https://github.com/dell-oss/Doradus/wiki/Running Doradus as a Windows Service)
Installing and Running Doradus: Running Doradus Stand Alone


Java 1.7 is required to run Doradus. It can be run as a stand-alone console application with a command executed in the {doradus_home} directory such as this::

java -cp ./config:target/classes:target/dependency/* com.dell.doradus.core.DoradusServer

The files doradus.yaml and log4j.properties normally reside in the folder ./config; another location can be set with the JVM defines -Ddoradus.config and -Dlog4j.configuration respectively. Example

java -Dlog4j.configuration=file:/Doradus/mylog4j.properties \
	-Ddoradus.config=file:/Doradus/mydoradus.yaml \
	...

Most doradus.yaml parameters can be overridden with command line arguments by prepending a "-" to the parameter name. For example, doradus.yaml defines restport: 1123, which sets the REST API listening port number. To override this to 5711, add the command line argument:

java ... -restport 5711

For list value parameters, separate the values with commas and no spaces immediately after the argument name. For example:

-tls_cipher_suites TLS_ECDH_RSA_WITH_AES_128_CBC_SHA,TLS_ECDH_RSA_WITH_AES_256_CBC_SHA

On Windows, Doradus can also be installed and managed as a service using the Apache Commons Daemon component. See http://commons.apache.org/proper/commons-daemon/procrun.html for more information.

Clone this wiki locally