| 1 | = How to Configure Demo Visualization = |
| 2 | |
| 3 | 1. Run `nmetrics-oml2` by installing |
| 4 | {{{ |
| 5 | apt-get install oml2 oml2-apps |
| 6 | }}} |
| 7 | (I believe these are available for yum as well, but not sure.) |
| 8 | 2. Then they need to run: |
| 9 | {{{ |
| 10 | nmetrics-oml2 -s 10 -m -i eth1 -c --oml-collect tcp:155.99.144.115:3003 --oml-id $SENDER --oml-domain gec22 |
| 11 | }}} |
| 12 | Where the flags mean: |
| 13 | {{{ |
| 14 | -c = CPU measurements, -i <interface> = network measurements, -s N = run every N seconds, -m = memory measurements |
| 15 | }}} |
| 16 | And where `$SENDER` is a unique name (unique over all experiments and within this experiment). I suggest something like `slice-name_node_name` but anything will do. |
| 17 | 3. Check if it's working. The correct output looks like this: |
| 18 | {{{ |
| 19 | nmetrics-oml2 -s 10 -m -i eth1 -c --oml-collect tcp:155.99.144.115:3003 --oml-id msb-node0 --oml-domain gec22 |
| 20 | Mar 06 14:04:58 INFO nmetrics-oml2 2.11.0 |
| 21 | INFO OML Client 2.12.0pre.89-238e [OMSPv5] Copyright 2007-2014, NICTA |
| 22 | INFO Monitoring interface eth1 |
| 23 | INFO tcp:155.99.144.115:3003: Connected |
| 24 | }}} |