-
Notifications
You must be signed in to change notification settings - Fork 38
Deployment
Once the individual micro services have been configured (or left untouched for using defaults), you can start all components via:
bash start_cyclops.sh
Which will run all micro services in nohup background mode, allowing you to close the terminal.
To make sure everything is running correctly either consult nohup.out
console output, or if logging is enabled, check out /var/log/cyclops/
directory.
Now it is time to start the usage collection process, either by writing your own or by using one that has been already developed for you (see the sidebar).
In order to terminate micro services just run the following command:
bash stop_cyclops.sh
If you decide to run individual micro services separately, or you want to orchestrate them in a distributed manner, make sure all configuration files are up to date and point where you have InfluxDB and RabbitMQ servers.
All the micro services follow the same way of execution, where you can simply invoke the following command:
java -jar microservice.jar configuration.conf [port]
You will find each micro service precompiled as an embedded JAR file inside of bin
subdirectories.
If you've changed the source code, or you simply cannot use precompiled binary files (which were made available for Ubuntu/Debian) you can easily recompile everything. To do so, please navigate into respective subfolders and either use scripts/compile.sh
script or execute the following:
mvn dependency:tree
mvn package assembly:single