See also:
Save application on a distributed system managed by Master). This is a lightweight service where its main purpose is to process tasks sent by master.
- NodeJS v8.10.0 LTS or better
- Protocol. Extract the protocol directory and put it on the same level as the slave directory
After downloading and extracting the source to a directory, on a terminal, run the following command:
npm install
And that's it!
After installing the slave, you can run it by executing the following command on terminal(pwd on root of the project):
node app.js
You can tweak the slave configuration on <path to source>/config/config.json
- alias: defines an alias for the slave machine
- dispatcherAddress: sets the IP of a reachable master. If this property is set, the application will try to connect to it directly. If this property is not set, the connection mechanism will be the automatic discovery, that only works on a master configured on a local network shared by the slave aplication.