| 1 | === Appendix 1: Running a Private OML Server === |
| 2 | |
| 3 | === 1.1 OML === |
| 4 | More detailed information on OML and the its installation can be found [http://mytestbed.net/projects/oml/ here]. |
| 5 | |
| 6 | ---- |
| 7 | |
| 8 | === 1.2 Experiment controller === |
| 9 | |
| 10 | The experiment controller configuration file, located at /etc/omf-expctl-5.4/omf-expctl.yaml, specifies which |
| 11 | oml server the nodes should communicate with. |
| 12 | The snippet below show the current configuration that's in the file on the tutorial user workspace VM. |
| 13 | |
| 14 | {{{ |
| 15 | # URI to the OML server to use for this EC |
| 16 | # (can be overwritten on the EC command line) |
| 17 | #:omluri: 'tcp:10.103.0.3:3003' |
| 18 | :omluri: 'tcp:emmy9.casa.umass.edu:3003' |
| 19 | }}} |
| 20 | |
| 21 | In case you were planning an experiment where the OML server is located somewhere else you would have to modify this line accordingly. |
| 22 | You have to assure that the omluri is reachable from ALL nodes that participate in your experiment. This does not necessarily mean that the OML server has a public IP address. E.g., in the case of an experiment on an ExoGENI slice, the OML server can be located on one of the nodes of this slice. |
| 23 | |
| 24 | ---- |
| 25 | |
| 26 | === 1.3 OML server on ExoGENI node === |
| 27 | |
| 28 | The current [https://wiki.exogeni.net/doku.php?id=public:experimenters:images ExoGENI image] we currently use for the tutorial already comes with an OML server installed. This allows you to run an OML server of one of the nodes in your slice. |
| 29 | |
| 30 | * Run OML server on one of the nodes in your slice. |
| 31 | * If you'd like to automatically store measurement results in iRODS you have to copy the hook script to ''/usr/share/oml2-server/'' and start the OML server with the ''-H <path_to_hook_script>'' flag. |
| 32 | * Configure '':omluri:'' entry ''/etc/omf-expctl-5.4/omf-expctl.yaml'' on the node where you run the experiment controller. (Note: this can be on a machine that's outside your ExoGENI slice, as it is the case for this tutorial.) |
| 33 | * Run your experiment. |
| 34 | |
| 35 | {{{ |
| 36 | #!html |
| 37 | <span style="color:red">IMPORTANT NOTE!!! |
| 38 | Make sure that you safe your experiment in persistent storage (e.g., iRODS) before you take down your slice. If you only keep a version on our ExoGENI node it'll be lost after the slice is removed!! |
| 39 | </span> |
| 40 | }}} |
| 41 | ---- |
| 42 | |
| 43 | [[http://groups.geni.net/geni/wiki/GIMIv1.1Tutorial/Orchestrate Back to Tutorial Section C]] |