|
| 1 | +/--------------------------------------------------------------------------------/ |
| 2 | +/--------------------------Instructions IC cluster (mininet)---------------------/ |
| 3 | +/--------------------------------------------------------------------------------/ |
| 4 | + |
| 5 | +- Access iccluster website: |
| 6 | + http://install.iccluster.epfl.ch/Portal/ |
| 7 | + |
| 8 | +- Request servers: |
| 9 | + 1. Reservations/Spot Reservations -> Make a reservation |
| 10 | + a. select date |
| 11 | + b. select number of machines |
| 12 | + c. reserve |
| 13 | + |
| 14 | +- Setup servers: |
| 15 | + 1. MyServers/Setup tab |
| 16 | + a. add servers to setup list |
| 17 | + b. choose boot option: Ubuntu xenial amd64 installation via network |
| 18 | + c. select password (Customization): you can choose |
| 19 | + d. run setup |
| 20 | + |
| 21 | + 2. MyServers/List |
| 22 | + a. Actions -> Power -> Power Cycle (for each server) |
| 23 | + |
| 24 | +- Run servers: |
| 25 | + Important! |
| 26 | + If you are using bn256 curve please add TAGS = “vartime” in your .toml file |
| 27 | + |
| 28 | + 0. Remove corresponding ssh keys from .ssh/know_hosts) |
| 29 | + |
| 30 | + 1. Build simul executable: |
| 31 | + - Execute inside simul/: |
| 32 | + go build (if using ed25519) |
| 33 | + go build -tags vartime (if using bn256) |
| 34 | + |
| 35 | + 2. Run simulation: |
| 36 | + ./simul -platform mininet [-debug 1] runfiles/xxxxx.toml |
| 37 | + |
| 38 | + 3. In your first run you will prompted with a series of configuration questions: |
| 39 | + a. "Do you want to run mininet on ICCluster? [Yn]:" Y |
| 40 | + b. "Please enter the space separated numbers of the servers [server1 server2 server3]:" 31 32 33 |
| 41 | + - each number represents the id of each iccluster server: e.g. iccluster031.iccluster.epfl.ch -> 31 |
| 42 | + c. You will be asked the password for each server |
| 43 | + d. Just wait.... |
| 44 | + |
| 45 | + 4. If you are monitoring time (libunlynx.TIME = true) a new .csv file will be generated/updated under /simul/test_data/ |
| 46 | + |
| 47 | +- Notes: |
| 48 | + * To access each server: |
| 49 | + - remove iccluster servers' keys from .ssh/know_hosts |
| 50 | + ssh root@iccluster026.iccluster.epfl.ch |
| 51 | + |
| 52 | + * To reset/retry mininet instalation: |
| 53 | + - remove iccluster servers' ssh keys from .ssh/know_hosts |
| 54 | + - execute inside simul/: |
| 55 | + rm server_list |
| 56 | + |
| 57 | + * To clean mininet: |
| 58 | + for a in 31 32 33; do ssh root@iccluster0$a.iccluster.epfl.ch mn -c; done |
| 59 | + |
| 60 | + * If you get a port forwarding problem just reboot the servers |
| 61 | + |
| 62 | + * To see cores execution (inside each server): htop |
| 63 | + |
| 64 | + * To see network bandwidth (inside each server): nload |
| 65 | + |
| 66 | + * You can check the log by accessing cat tmp/mininet.log |
0 commit comments