X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fslice-tab-experiment.html;h=e10c88f9fff897ec4fa5858a52414d486f75a6e1;hb=a52e4ba486797f7569a9d9ac451089e698100fd5;hp=f50ee9f2498fd5ee09d9f86b416116ebf84dfda0;hpb=b7013080a3b71e42db750d5e406f3c2f1ef80b27;p=unfold.git diff --git a/portal/templates/slice-tab-experiment.html b/portal/templates/slice-tab-experiment.html index f50ee9f2..e10c88f9 100644 --- a/portal/templates/slice-tab-experiment.html +++ b/portal/templates/slice-tab-experiment.html @@ -1,107 +1,141 @@ -
PlanetLab Europe resources are accessible directly via SSH. Your SSH public key is deployed automatically on the reserved nodes. To access your slice on a resource just type the following command:
- {%if ple_resources%}
{%for resource in ple_resources %}
+ Resource
$ ssh {{ple_slicename}}@{{resource}}
{%endfor%}
Use SSH client.
- {%else%} -NOTE: You did not reserve any PLE resources yet. Once reserved, you will get the actual SSH command. A specimen command is given below:
-
- $ ssh {{ple_slicename}}@planetlab-resource.hostname.com
-
Use SSH client.
NOTE: Your original slicename {{slicename}} has been converted to PlanetLab specific format {{ple_slicename}} in order to do SSH.
-Please note that the first '.' is replaced by number 8 and the rest of the dot/s are replaced by underscore/s.
Be aware that after you reserve a PlanetLab Europe resource your slice will be deployed with a delay of about 15 minutes, after witch you will be able to access the resource.
- +FIT IoT-Lab resources are accessible directly via SSH and web GUI. To acess IoT-Lab resources using web GUI, use the same login and password of OneLab portal. To acess Iot-Lab resources using SSH type the following command:
- ssh {{username}}@fit3-dev.inrialpes.fr + ssh {{iot_login}}@grenoble.iot-lab.info
-Use SSH client.
- + {% endif %} + {% if nitos_resources or nitos_paris_resources %}NITOS resources are not directly accessible. You will need to log in on a gateway server and from there access the node. You will find the ssh commands to connect to NITOS nodes below:
+ + {% if nitos_resources %}
- $ ssh {{slicename}}@nitlab.inf.uth.gr
+ $ ssh {{slicename}}@nitlab.inf.uth.gr #nodes 001-040
+ $ ssh {{slicename}}@nitlab2.inf.uth.gr #nodes 041-049
+ $ ssh {{slicename}}@nitlab3.inf.uth.gr #nodes > 049
+
Loading an OMF-compatible image on your resource:
+
+ {%for resource in nitos_resources %}
+ Resource
+ $ omf6 stat -t {{resource}} #check the status of the node
+ $ omf6 tell -a on -t {{resource}} #turn on/off the node
+ $ omf6 load -i baseline.ndz -t {{resource}} #for orbit-like node (002-009) use "baseline_orbit.ndz"
+ $ ssh root@{{resource}} #ssh to the node
+ {%endfor%}
NOTE: Nodes 002-009 are orbit-like nodes. For these nodes use "baseline_orbit.ndz". All these images come with OMF5.4 resource controller. To do OMF6 experiments use "baseline_omf6_1_1.ndz" and "baseline_orbit_omf6_1_1.ndz" for grid nodes and orbit nodes respectively.
+ {% endif %} + + {% if nitos_paris_resources %}- $ ssh {{slicename}}@griffin.ipv6.lip6.fr + $ ssh {{slicename}}@griffin.ipv6.lip6.fr
- -Use SSH client.
- -- -
- -- You will then need to prepare the resource by loading an OMF image on it: -
- +For each of the reserved nodes, follo the steps given below:
- $ omf load -i baseline_grid.ndz -t node016
+ {%for resource in nitos_paris_resources %}
+ Resource
+ $ omf load -i baseline_grid.ndz -t {{resource}} #loading OMF image on the node
+ $ omf tell -a on -t {{resource}} #turn on the node
+ $ ssh root@{{resource}} #ssh to the node
+ {%endfor%}
- Turn on the node: -
- -- $ omf tell -a on -t node016 -
-- And finally ssh on the node: -
-- $ ssh root@node016 -
-- On the node itself you will have to modify the file /etc/omf-resctl-5.3/omf-resctl.yaml according to your slice settings and then + On the node itself you will have to modify the file /etc/omf-resctl-5.3/omf-resctl.yaml (OMF5.4 only) according to your slice settings and then restart the OMF Resource Controller and finally execute the experiment:
- $ omf exec --slice slice_name your_exp.rb + $ omf exec --slice {{slicename}} your_exp.rb
- The complete tutorial is available at the following address: + The complete tutorial on NITOS nodes: NITOS basic tutorial
-To learn more about OMF6, please click here.
- -OMF based experiments' tutorials are available here.
+To learn more about OMF, please click here.
+ + {% endif %}SSH
@@ -128,5 +162,3 @@In addition to the main OMF software, this site also hosts OMF sub-projects addressing various related aspects of a testbed's control, measurement, and management.
More Info: http://mytestbed.net/projects/omf