From 5330bd9abbef397d72910d326df77fd45e34750f Mon Sep 17 00:00:00 2001 From: Ciro Scognamiglio Date: Thu, 14 Aug 2014 18:19:41 +0200 Subject: [PATCH] PLE and NITOS how to access a slice --- portal/static/css/onelab.css | 7 +++ portal/templates/slice-tab-experiment.html | 73 +++++++++++++++++++++- 2 files changed, 78 insertions(+), 2 deletions(-) diff --git a/portal/static/css/onelab.css b/portal/static/css/onelab.css index 83f1d10e..aceb6f44 100644 --- a/portal/static/css/onelab.css +++ b/portal/static/css/onelab.css @@ -23,6 +23,13 @@ a.current { text-decoration:underline; color:#333333; } +p.command { + padding:15px; + margin:15px 0; + color:#890000; + background-color:#E0E0E0; + font-family:Courier, monospace; +} h1 { border-bottom:1px solid #DDDDDD; padding:0 0 0 0; diff --git a/portal/templates/slice-tab-experiment.html b/portal/templates/slice-tab-experiment.html index db9b2823..55b27531 100644 --- a/portal/templates/slice-tab-experiment.html +++ b/portal/templates/slice-tab-experiment.html @@ -1,8 +1,77 @@
-

Secure Shell (SSH)

-

+

How to access your slice

+

PlanetLab Europe

+ +

+ 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: +

+

+ $ ssh your_slice_name@planetlab-resource.hostname.com +

+

+ 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

+ +

NITOS

+ +

+ NITOS resources are not directly accessible. You will need to log in on a gateway server and from there access the node. + The NITO server address is nitlab.inf.uth.gr, so to connect to the NITOS server: +

+

+ $ ssh your_slice_name@nitlab.inf.uth.gr +

+ +

+ +

+ +

+ You will then need to prepare the resource by loading an OMF image on it: +

+ +

+ $ omf load -i baseline_grid.ndz -t omf.nitos.node016 +

+ +

+ Turn on the node: +

+ +

+ $ omf tell -a on -t omf.nitos.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 + restart the OMF Resource Controller and finally execute the experiment: +

+

+ $ omf exec --slice slice_name your_exp.rb +

+

+ The complete tutorial is available at the following address: + NITOS basic tutorial +

+ +
+ +

Available Tools

+

SSH

Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote command-line login, remote command execution, and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively). The protocol specification distinguishes between two major versions that are referred to as SSH-1 and SSH-2.

-- 2.43.0