See also:
This system will manage simulations dispatching on a distributed system, in a fault tolerance manner.
It will also provide a WEB interface in which users will be able to input the simulations to be analysed and also monitor its progress as the state of the workers.
The simulation application must deal with Optical Network Simulator input and output directives (see more: http://comnet.unb.br/br/grupos/get/ons) to work. It will treat the simulator as a black box.
Pre-requisites:
- Install Docker and Docker Compose.
Download the installation script and run it with bash.
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/comnetunb/dispatcher-master/master/install.sh > /tmp/install-dispatcher.sh
bash /tmp/install-dispatcher.sh
- MongoDB v3.0.15 or better Up and running!
- NodeJS v10 LTS or better
After downloading and extracting the source to a directory, on a terminal, run the following command:
$ git clone https://github.com/comnetunb/dispatcher-master
$ cd dispatcher-master
$ ./exec.sh npm i
$ ./build.sh
$ node dist/app.js