Changes between Version 2 and Version 3 of GEC21Agenda/ChoiceNet/terminalsetup


Ignore:
Timestamp:
10/19/14 00:43:16 (10 years ago)
Author:
griff@netlab.uky.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC21Agenda/ChoiceNet/terminalsetup

    v2 v3  
    55In the next two sections you will be running !ChoiceNet applications in your slice.  In order to do that, you will need to be logged into the two end systems (i.e., non-router) nodes in your topology, namely '''H1''' and '''H2'''.  Please follow the instructions below to open up two terminal windows, one to H1 and one to H2.
    66
     7==== Finding the name of the H1 and H2 machines ====
     8In the terminal window on your global node, use the command
     9{{{
     10#!sh
     11getool -list | grep H1
     12}}}
     13
    714==== Opening a Terminal to H1 ====
    8 We have pre-created a set of slices to be used for this tutorial.  Each of them has been created with the
    9 [http://groups.geni.net/geni/wiki/GEC21Agenda/ChoiceNet/topology GEC21 ChoiceNet RSPEC]. 
    10 You have been assigned one of these pre-created slices.   You will be given information about your slice at the beginning
    11 of the tutorial.
    12 
    13 ==== Do I need ssh keys to login? ====
    14 Yes, you will need a copy of your private ssh key on your laptop.  If you participated in a GENI tutorial yesterday or today, you most likely
    15 already installed your private key on your laptop.  In that case, you can skip the instructions to get a copy of your private ssh key.
    16 
    17 ==== How do I get a copy of my private ssh key? ====
    18    1. Visit [https://portal.geni.net Login to the portal]
    19    2. Go the to ''Profile'' tab
    20    3. Under the ''SSH Keys'' section you will find a button to download your Private key. When you click it the downloaded file will probably be named :id_geni_ssh_rsa.  You will need to save it in the appropriate place for ssh (~/.ssh/id_geni_ssh_rsa), or, for !BitVise, FireSSH, Git !Bash/Putty (look at [wiki:/HowTo/LoginToNodes#Loggingin this page]). ('''Note''' that you may need to ''chmod 600 id_geni_ssh_rsa'' to remove execute permissions on the file).
    21 
    22 ==== How do I login to my global node? ====
    23 
    24 After your private ssh keys have been installed on your laptop, ssh into your global node (GN0) the using your preferred ssh client (e.g., ssh, !BitVise, FireSSH, Git !Bash/Putty).
     15Open a terminal to H1 just like you opened a terminal to the global node.  The only difference will be the name of the destination.  In particular, you will use the name you found for H1 above.  As you did before:After your private ssh keys have been installed on your laptop, ssh into your global node (GN0) the using your preferred ssh client (e.g., ssh, !BitVise, FireSSH, Git !Bash/Putty).
    2516
    2617 - Make sure you use your GENI username when logging in to the GN0 Node.
    27  - You can find the DNS name of your global node on the piece of paper handed to you at the beginning of the tutorial.
    28  - For ssh users the command will be something like ''ssh -i ~/.ssh/id_geni_ssh_rsa pcvm4-1.instageni.clemson.edu'' ('''this is only an example, your GNO name will be different''')
     18 - Use the H1 name you found above.
     19 - For ssh users the command will be something like ''ssh -i ~/.ssh/id_geni_ssh_rsa pcvm4-1.instageni.clemson.edu'' ('''this is only an example, your H1 node name will be different''')
    2920 - For !BitVise, FireSSH, Git !Bash/Putty, see [wiki:/HowTo/LoginToNodes#Loggingin this page] for instructions.
    3021
    31 = Where do I get a copy of the GENI Experimenter Tool (getool)? =
    32 
    33 Using the wget command below, you can download a script that, when run on your global node GN0, will download the GENI Experimenter Tool (getool) software.  The script will
    34 also setup ssh keys on the GN0 that will allow the getool to ssh into the other nodes in your slice.  To get a copy of the script and run it, type the following commands
    35 on your global node (GN0):
    36 
    37 
    38 {{{
    39 #!sh
    40 wget http://choicenet.netlab.uky.edu/choicenet_prework.tgz
    41 tar xzf choicenet_prework.tgz
    42 ./choicenet_prework.sh
    43 }}}
    44 
    45 
    46 '''NOTE: If you plan to use ChoiceNET at a later date from a linux workstation, using the GN0 node is not a requirement. The same can be done from your linux workstation. All you would need is the manifest rspec for your slice, and your GENI ssh private key as a param to the getool.'''
     22==== Opening a Terminal to H2 ====
     23Open a terminal to H2 just like you opened a terminal to H1 except use the name you found for H2.