One can run the following command on the master node
One will get the message as follows:
The server is ready to dispatch item (from 0 to 99) to the connected slave node.
Now one can run the following command on each slave node
one will see the slave node will repleatly get the item from the server, and exceute the command echo [i], note that [i] will replaced by the actual index (form 0 to 99).
Note that to prevent the command to run multiple times on the same [i], one can generate a [i].log from the command, e.g.,
sc will skip the item [i] when there is a file named [i].log.