Changes between Version 5 and Version 6 of GENIExperimenter/Tutorials/GENIDesktop/GEC23/GENI_Desktop_runcmd


Ignore:
Timestamp:
06/12/15 12:35:06 (9 years ago)
Author:
griff@netlab.uky.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/GENIDesktop/GEC23/GENI_Desktop_runcmd

    v5 v6  
    1717== Loading Files onto Nodes ==
    1818
    19  The '''File Upload''' module will allow you to upload a file or a groups of files (we call fileset) to a user-selected destination directory on one or multiple  nodes in your slice. In order to do this the user first uploads the files to the GENIDesktop Cloud. When satisfied with the set of files, user can then select the node/nodes you want these files distributed to. In the screenshot below , we will use the [http://groups.geni.net/geni/raw-attachment/wiki/GEC23Agenda/GEC23Agenda--02June2015.png GEC23 Agenda file] that i have stored my machine, You can save it to your PC from [http://groups.geni.net/geni/raw-attachment/wiki/GEC23Agenda/GEC23Agenda--02June2015.png here].
     19 The '''File Upload''' module will allow you to upload a file or a groups of files (which we call a "fileset") to a user-selected destination directory on one or multiple  nodes in your slice.
     20Uploading files is a two step process.  Files are first uploaded from the user's local machine to our GENIDesktop Cloud Server.  From there, the files can be distributed to any of the nodes in your slice.  The two step process allows users to
     21easily redistribute "filesets" from the Cloud server to nodes in any slice.  For example, if a user creates multiple slices to experiment with multiple topologies, they can easily distribute the same fileset files to each of the slices without needing
     22to re-upload them each time from their local machine.
     23
     24[[BR]]
     25
     26To use the file upload service, the user first uploads the files to the GENIDesktop Cloud Server. When satisfied with the set of files, user can then select the node/nodes you want these files distributed to. In the screenshot below , we will upload the [http://groups.geni.net/geni/raw-attachment/wiki/GEC23Agenda/GEC23Agenda--02June2015.png GEC23 Agenda file] that we previously saved onto our local machine. You can save it to your PC from [http://groups.geni.net/geni/raw-attachment/wiki/GEC23Agenda/GEC23Agenda--02June2015.png here].
    2027
    2128[[Image(GEMINI/Tutorial/Images:fileupload1.png,50%)]]
    2229
    2330 1. Click on the '''File upload'''  button from the list of buttons in the top left of the page.
    24  2. In the small window that shows ups, Click on the folder Directory listing and select the folder you want the files (or the [http://groups.geni.net/geni/raw-attachment/wiki/GEC23Agenda/GEC23Agenda--02June2015.png GEC23 Agenda file] mentioned above) uploaded to. This is a temporary location at the GENIDesktop where we store the uploaded files. (You can create directories and store uploaded files in different directories for later distribution)
    25  3. Once you have selected a temporary folder location, Click on the '''Browse''' button in the right column and select the files you want to upload.
    26  4. Once your files have been selected, Click on the '''Upload Files to GENI Cloud''' button. These files should then show up in the left column under the folder you uploaded to.
    27  5. Select the node/nodes on which you want to upload your files to from the logical view . Then click on the '''Set Selected Node''' button. Make sure you see your selected nodes listed below that button. In the '''To''' text box, type in the destination location you want to upload these files to. This location should be a directory that exists on all the nodes in your slice.
    28  6. Click on the '''Distribute''' button. You should see a progress bar for the upload progress.
     31 2. In the small window that shows ups, click on the GENIDesktop Cloud Server file listing in the panel on the left to select the Cloud Server folder that you want to store the files in.
     32 3. Once you have selected a Cloud Server folder location, click on the '''Browse''' button in the right column and select the files you want to upload from your local machine to the GENIDesktop Cloud Server.
     33 4. Once your files have been selected, Click on the '''Upload Files to GENI Cloud''' button. These files should then show up in the left column under the folder you specified earlier.
     34 5. Now select the node(s) (in the topology view) to which you want to upload your files . Then click on the '''Set Selected Nodes''' button in the bottom right panel. Make sure you see your selected nodes listed below that button.  In the '''To''' text box, type in the directory you want to upload the Cloud Server files to on the selected node(s). This location should be a directory that exists on all the nodes in your slice.
     35 6. Click on the '''Distribute''' button. You should see a progress bar indicating that the files are being copied from the Cloud Server to the specified node(s).
    2936
    3037
     
    3340
    3441 
    35 Select the node/nodes on which you want run your command. Then click on the '''Command''' button. In the small window that shows up as shown in the figure below, click on the '''Set Selection''' button. Make sure you see your selected nodes listed below that button. Then type in the command you would like to run. You can join multiple commands separated by a ''';'''. (Commands are executed in a bash shell)
     42In the topology view, select the node(s) on which you want to run a command. Then click on the '''Command''' button in the blue menu in upper left hand corner of the GENIDesktop. In the small window that shows up (see the figure below), click on the '''Set Selection''' button. Make sure you see your selected nodes listed below that button. Then type in the command you would like to run. You can issue multiple commands separated by a ''';'''. (Commands are executed in a bash shell on the specified nodes)
    3643
    3744[[Image(GEMINI/Tutorial/Images:run1.png,25%)]]
    3845
    3946
    40 Once the commands are run, you will see the results of the commands  pop up in a new browser tab/window. (See figure below)
     47Once the commands are run, you will see the results of the commands pop up in a new browser tab/window. (See the figure below)
    4148
    4249