38 | | This session describes the running and consequences of gimi_init |
| 38 | Open a terminal window and run: |
| 39 | {{{ |
| 40 | python gimi_init.py |
| 41 | }}} |
| 42 | The output should look like this: |
| 43 | {{{ |
| 44 | Welcome to the GIMI initialization script, please make sure to install omni and set up your credential before running this script |
| 45 | Are you creating a new experiment? |
| 46 | }}} |
| 47 | If you are creating a new experiment enter “yes”. |
| 48 | If you are updating an existing experiment enter “no” and continue to these instructions '''link'''. [[BR]] |
| 49 | If you entered “yes” your, output should be the following: |
| 50 | {{{ |
| 51 | Enter your preferred experiment path (please use absolute path, e.g., /home/geni/your/dir): |
| 52 | }}} |
| 53 | You will now need to input the path to the directory on your VM that you would like to store your experiment information in. [[BR]] |
| 54 | For example you might want to store it your experiment files here: |
| 55 | {{{ |
| 56 | /home/geni/GIMIexperiment |
| 57 | }}} |
| 58 | If the path doesn't already exist your output will look like this: |
| 59 | {{{ |
| 60 | Path doesn't exist, do you want me to create directory for you? (Yes or No) |
| 61 | }}} |
| 62 | Enter “yes” if you would like to create that directory. |
| 63 | The init script will now ask you a few question about yourself to be put in the descriptor files that will accompany your experiment files. |
| 64 | {{{ |
| 65 | Tell us about yourself: enter your name: |
| 66 | }}} |
| 67 | It will now ask for the organization you are a part of. This could be a company or university. |
| 68 | {{{ |
| 69 | Your organization: |
| 70 | }}} |
| 71 | Next iRODS will be initialized. You should already have created the file “~/.irods/.irodsEnv”. If you have not done this you will need to answer the iRODS questions with information from your iRODS account which you created in the GENI Portal. You can get additional information at [[http://groups.geni.net/geni/wiki/HowToUseiRODS HowToUseiRODS]]. |
| 72 | [[BR]][[BR]] |
| 73 | Your next output will list your slices and ask you to choose which slice you are using for this experiment. |
| 74 | {{{ |
| 75 | Your user name is ... |
| 76 | |
| 77 | Your active slice names: |
| 78 | ... |
| 79 | ... |
| 80 | |
| 81 | Please enter your preferred slice name for this experiment: |
| 82 | }}} |
| 83 | After you enter which slice you would like to use, the output will tell you which slice you chose and which project that slice is a member of. Then it will ask you to name your experiment. |
| 84 | {{{ |
| 85 | Your slice name is: ... |
| 86 | Your project ID is: |
| 87 | … |
| 88 | Enter your experiment name: |
| 89 | }}} |
| 90 | You will then be told the experiment ID. Then the output will look like this: |
| 91 | {{{ |
| 92 | Retrieving the manifest rspec... |
| 93 | Checking resources from aggregates... (this might take some time) |
| 94 | }}} |
| 95 | Depending on which aggregates your slice has resources, you should get additional output about where your resources were found. Here is an example: |
| 96 | {{{ |
| 97 | Found resource in aggregate: https://boss.instageni.gpolab.bbn.com:12369/protogeni/xmlrpc/am/2.0 |
| 98 | }}} |
| 99 | Next the OMF template scripts will be pushed to iRODS if they are not already there & iRODS will be set up for the experiment. You will also be given a ticket for the experiment directory that can be used to give other users access. |
| 100 | {{{ |
| 101 | iRODS initial collection setup was successful |
| 102 | |
| 103 | Ticket for new directory: ... |
| 104 | Ticket expiration date is set to: ... |
| 105 | Do you want to push manifest to iRODS? (Yes or No) |
| 106 | }}} |
| 107 | You should push manifest to iRODS if you have already reserved your resources so enter “yes”. |
| 108 | You should get the following output: |
| 109 | {{{ |
| 110 | Manifest has been pushed to iRODS |
| 111 | |
| 112 | Pushing experiment information to GIMI Experiment Registry... |
| 113 | Saving JSON to file: |
| 114 | … |
| 115 | }}} |
| 116 | This will be followed by the JSON files that are pushed to the registery. At the end of all this output you should see: |
| 117 | {{{ |
| 118 | Pushed data to registry successfully |
| 119 | }}} |
| 120 | You have successfully run the GIMI initialization script. |
| 121 | |
| 122 | |