Skip to content
Snippets Groups Projects
Commit 1b8dbce2 authored by Armin Costa's avatar Armin Costa
Browse files

Update Configuration.md

parent 5f5e38c2
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ In the DES processor operation declarations the authentication entry can be refe ...@@ -115,7 +115,7 @@ In the DES processor operation declarations the authentication entry can be refe
## Start of a DES instance ## ## Start a DES instance ##
1. Edit the ./config/DistributionServer.ini to fit your environment 1. Edit the ./config/DistributionServer.ini to fit your environment
...@@ -129,7 +129,7 @@ java -jar DES.jar –h ...@@ -129,7 +129,7 @@ java -jar DES.jar –h
## Operation modes ## ### Operation modes ###
1) Start a DES instance with default configuration defined in DES.ini and run all Processors (*.processor_config.xml files) located in CONFIG_PATH 1) Start a DES instance with default configuration defined in DES.ini and run all Processors (*.processor_config.xml files) located in CONFIG_PATH
...@@ -158,8 +158,25 @@ java -jar DES.jar -c ./config/DES_test.ini ...@@ -158,8 +158,25 @@ java -jar DES.jar -c ./config/DES_test.ini
``` ```
java -jar DES.jar -c ./config/DES_test.ini -p yourtest.processor_config.xml java -jar DES.jar -c ./config/DES_test.ini -p yourtest.processor_config.xml
``` ```
### Passing command line startup variables to be referenced in DES Processor ###
Custom arguments can be passed to the startup command line
```
java -jar DES.jar -v HOSTNAME=des.yourdomain -v IP=192.168.2.2
```
The defined variables can than be referenced in a given Processor definition with the '@' reference (eg. @HOSTNAME)
```xml
<Task name="testCmd" type="cmd" active="no" priority="NORM">
<EMail>support.rs@eurac.edu</EMail>
<NotifyEmail>false</NotifyEmail>
<Command>ping</Command>
<Parameter>@HOSTNAME</Parameter>
</Task>
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment