Ashlesh Gawande | f5f304b | 2016-06-16 16:42:41 -0500 | [diff] [blame] | 1 | Mini-NDN cluster edition |
| 2 | ======================== |
| 3 | |
| 4 | Mini-NDN cluster edition uses the experimental Mininet cluster edition. |
| 5 | **Make sure that you can run the Mininet cluster edition by following |
| 6 | [these instructions](https://github.com/mininet/mininet/wiki/Cluster-Edition-Prototype)**. |
| 7 | Mini-NDN will use the "mininet" username created in Mininet cluster edition setup. |
| 8 | |
| 9 | ## Mini-NDN cluster options |
| 10 | |
| 11 | To run Mini-NDN cluster on `localhost` and another server `server1` with |
| 12 | the guided node placement strategy (default), the following command can be used: |
| 13 | |
| 14 | sudo minindn --cluster=localhost,server1 --place-list=1,3 |
| 15 | |
| 16 | Note that `place-list` specifies the number of nodes to be placed on the corresponding servers |
| 17 | of the cluster. |
| 18 | In the example, one node will be placed on `localhost` and three nodes on `server1`. |
| 19 | Unless specified, the default 4 node topology is used. |
| 20 | Another placement can be `roundRobin` placement algorithm from Mininet. |
| 21 | This does not require a place-list. |
| 22 | |
| 23 | sudo minindn --cluster=localhost,server1 --placement roundRobin |
| 24 | |
| 25 | By default the tunnel type used is SSH, but GRE tunnel can be specified by `--tunnel-type=gre` |