Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 5.42 KB

Running_Doradus_Stand-Alone.wiki

File metadata and controls

16 lines (16 loc) · 5.42 KB

Installing and Running Doradus : Running Doradus Stand-Alone

Running Doradus Stand-Alone
Doradus can be run as a console application with a script in the {doradus_home}/bin directory such as this:
java -cp "../lib/*:../config/*" com.dell.doradus.core.DoradusServer
This is assumes Java 1.7 is visible in the script’s path. The files doradus.yaml and log4j.properties must be visible in the JVM’s resource path, although their 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 -cp "../lib/*:../config/*" com.dell.doradus.core.DoradusServer -restport 5711
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.
Doradus assumes that Cassandra is started independently. Doradus connects to Cassandra at the dbhost address(es) and dbport number defined in doradus.yaml. If no configured Cassandra nodes are available when Doradus starts, it will reattempt to connect every 30 seconds. Until a connection is successful, most REST API calls will return a 503 Service Unavailable response.
Doradus connects to Cassandra using the Thrift API, which has been tested with 1.2 versions. (Newer Cassandra versions and a switch to the CQL API are on the TODO list.)