-
Open multiple ssh sessions to all nodes which are communicating together
ssh [email protected] ssh [email protected] ssh [email protected] ssh [email protected] ssh [email protected] -
cd into documents folder
cd ~/Documents -
Run
python3 cloud-ksvd/cloud_ksvd/node_runner.py. This will start an http server listening for incoming requests to perform consensus. -
Open another terminal which has access to at least one of the computers and open an interactive python3 terminal. We start consensus by using an http request to any one of the nodes which are running the consensus server.
$ python3 >>> import requests >>> requests.get('http://192.168.1.180:9090/start/consensus?tc=50')
Note the ?tc=50 parameter to denote the number of iterations to run.