Changes between Version 5 and Version 6 of GEC17Agenda/GettingStartedWithGENI_I/Procedure/DesignSetup


Ignore:
Timestamp:
06/27/13 10:44:43 (11 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC17Agenda/GettingStartedWithGENI_I/Procedure/DesignSetup

    v5 v6  
    1616}}}
    1717
     18
     19
    1820== 1.  Design the Experiment ==
    1921 
     
    2224== 2.  Establish the Environment ==
    2325
    24    1.  Execute these commands:
    25 {{{
    26     $ cd mydir
    27     $ ssh my.host.com
    28 }}}
    2926
    30        Expected Output
    31        {{{
    32    This is the output that I should see
    33        }}}
    3427
    35 == 3.  Obtain Resources ==
    36 
    37    1. Use diagrams and screenshots to show topologies and user interfaces.  Label your figures for easy reference.
    38 {{{
    39 #!html
    40 <table border="0">
    41       <tr>
    42         <td>
    43         <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/manifest_utah_1.png?format=raw" alt="Login information for a VM"  height="200" title="Login information for a VM" /> </a><br />
    44          Figure (1)
    45        </td>
    46     </tr>
    47  </table>
    48 }}}
    49 
    50   2.  Videos are a great tool to illustrate multi-step visual processes.  Make sure to also include the textual steps, however, in case they are not able to play the video.
    51 
     28=== 1.  Pre-work: Create a GENI account ===
    5229{{{
    5330#!html
     
    5532   
    5633      <tr>
    57        <td>
    5834
    59         <a href="http://www.youtube.com/watch?v=-XF6wyNu1BE" target="GENIVideo">
    60 <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Graphics/video-flack.png?format=raw" alt="Login to Flack Video"  height="120" title="How to login video" />  </a>
    61        </td>
    6235       <td >
    6336         <ol>
    64             <li> Go to <a href="http://www.protogeni.net/flack" target="_blank"> http://www.protogeni.net/flack </a> and press the <b> Log in </b> button</li>
    65             <li> From the <b> select authority</b> drop down menu, select the site authority for your GENI account, most probably pgeni.gpolab.bbn.com  and press the <b> Download </b> button</li>
    66             <li> Answer <b>yes</b> in the pop-up window </li>
    67             <li> Login to the new window using your GENI account </li>
    68             <li> Reload the Flack tab and repeat steps <b> 1 and 2 </b> </li>
    69             <li> After your private key and certificate are loaded, type your GENI passphrase in the box</li>
    70             <li> Select the sites you want. For this tutorial we only need the utahemulab.cm site.</li>
    71           </ol>
    72        </td>
    73     </tr>
    74  </table>
    75 }}}
    76 
    77 === Warnings ===
    78 {{{
    79 #!html
    80 
    81 <table id="Table_01" border="0" cellpadding="5" cellspacing="0">
    82         <tr>
    83                 <td>
    84                         <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/warning-icon-hi.png?format=raw" width="50" height="50" alt="Warning">
    85                </td>
    86                <td>
    87                     Your sliver will expire in 2 days!
    88                </td>
    89         </tr>
    90 </table>
    91 }}}
    92 === Notes ===
    93 {{{
    94 #!html
    95 
    96 <table id="Table_02" border="0" cellpadding="5" cellspacing="0">
    97         <tr>
    98                 <td>
    99                         <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/4NotesIcon_512x512.jpeg?format=raw" width="50" height="50" alt="Note">
    100                </td>
    101                <td>
    102                     Write down your slice name on your worksheet.
    103                </td>
    104         </tr>
    105 </table>
    106 }}}
    107 === Tips ===
    108 {{{
    109 #!html
     37            <li> Go to <a href="https://portal.geni.net"> https://portal.geni.net </a> and press the <b> Use GENI </b> button</li>
     38            <li> From the Drop Down menu select your institution. If you got an account through the GENI Identity Provider, please select <b>GENI Project Office</b>.
     39                  <br/>
    11040
    11141<table id="Table_03" border="0" cellpadding="5" cellspacing="0">
     
    11545               </td>
    11646               <td>
    117                     You can download your certificate from your slice authority.
     47                    Start typing the name of your institution and see the list become smaller.
     48        </tr>
     49</table>
     50            </li>
     51            <li> You will be transferred to the Login Page of your institution. Fill in your username and password. </li>
     52            <li> <FONT COLOR="black">Complete the form that appears after you have successfully logged in and press <b>Continue</b>.</font></li>
     53            <li> <FONT COLOR="black">You will be transferred to an <b>Activation Page</b>. Make sure both checkboxes are checked and then press <b>Activate</b></font>. </li>
     54          </ol>
     55       </td>
     56         <td>
     57
     58        <a href="https://portal.geni.net">
     59        <!--img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/login.png?format=raw" alt="Login to GENI"  height="120" title="Use GENI" />  </a>
     60
     61        <br/--><img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/portal_login.png?format=raw" alt="Use GENI"  height="200" title="Login to GENI" /> </a>
     62<br />
     63         <b>Figure 1-1</b> <i>Logging into the GENI Experimenter Portal.</i>
     64       </td>
     65    </tr>
     66 </table>
     67}}}
     68
     69Congratulations, you have successfully created a GENI account.
     70
     71
     72=== 2. Pre-work: Project lead adds you to a project ===
     73In order to use the portal to reserve resources, you must join a project.  We have created a project for this tutorial. 
     74
     75{{{
     76#!html
     77<table border="0">
     78   
     79      <tr>
     80       <td >
     81         <ol>
     82            <li> The tutorial organizers should have added you to the project for this tutorial.  On the home page, you should see that you are a member of at least one project. 
     83<table id="Table_03" border="0" cellpadding="5" cellspacing="0">
     84        <tr>
     85                <td>
     86                        <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/Graphics/Symbols-Tips-icon.png?format=raw" width="50" height="50" alt="Tip">
     87               </td>
     88               <td>
     89                    If you are not doing this exercise as part of an in-person tutorial please sign up for a <a target="_blank" href="http://groups.geni.net/geni/wiki/SignMeUpPortal">GENI account</a> and join a project.
    11890               </td>
    11991        </tr>
    12092</table>
     93
     94
     95</li>
     96          </ol>
     97       </td>
     98       
     99    </tr>
     100 </table>
    121101}}}
     102
     103
     104
     105=== 3. Generate and Download SSH Keypair ===
     106
     107Access to compute resources in GENI is provided through ssh key pairs and thus the portal needs a public key to upload to compute resources. For the purposes of the tutorial we will have the portal create an SSH key pair for you. (However, if you prefer to use your personal public key you can choose to upload it.)
     108
     109{{{
     110#!html
     111<table border="0">
     112      <tr>
     113       <td >
     114         <ol>
     115            <li>Once you are logged in, click on the <i>Profile</i> page.</li>
     116            <li>On the <i>Profile</i> page in the <i>SSH Keys</i> section, select <b>generate and download an SSH keypair</b> button.</li>
     117
     118          </ol>
     119       </td>
     120        <td>
     121        <img src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/profile_sshkeys_3.png?format=raw" alt="Generate an SSH Key Pair"  height="180" title="Generate an SSH Key Pair" /> </a>
     122         <br/>
     123         <b>Figure 3-1</b> <i>On the </i>Profile<i> page, select the "generate and download an SSH keypair" button.</i>
     124       </td>
     125      </tr>
     126      <tr>
     127       <td >
     128         <ol start='3'>
     129            <li>Enter the same passphrase twice, then press <b>Generate SSH private key</b>.</li>
     130          </ol>
     131       </td>
     132        <td>
     133        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/generate_sshkeys_1.png?format=raw" alt="Generate an SSH Key Pair"  height="230" title="Generate an SSH Key Pair" /> </a>
     134         <br/>
     135         <b>Figure 3-2</b> <i>Enter passphrase twice, then generate SSH private key.</i>
     136       </td>
     137      </tr>
     138      <tr>
     139       <td >
     140         <ol start='4'>
     141            <li>Now, press the <b>Download Private Key</b> button</li>
     142            <li>Open a terminal and execute:
     143<pre>
     144$ mv ~/Downloads/id_geni_ssh_rsa ~/.ssh/.
     145$ chmod 600 ~/.ssh/id_geni_ssh_rsa
     146$ ssh-add ~/.ssh/id_geni_ssh_rsa
     147</pre>
     148Later in the tutorial, this will allow you to log into your nodes securely without a password. </li>
     149
     150          </ol>
     151       </td>
     152        <td>
     153        <img border="0" src="http://groups.geni.net/geni/attachment/wiki/GENIExperimenter/Tutorials/PortalSimpleLayer2Example/Graphics/download_sshkeys_1.png?format=raw" alt="Download an SSH Key Pair"  height="280" title="Download an SSH Key Pair" /> </a>
     154         <br/>
     155         <b>Figure 3-3</b> <i>Download an SSH Key Pair.</i>
     156       </td>
     157       
     158    </tr>
     159 </table>
     160}}}
     161
     162
     163
     164== 3.  Obtain Resources ==
     165
     166
     167
    122168
    123169----