35 | | What is installed in a GIMI image? |
| 35 | '''InstaGENI Ubuntu 12.04 Image''' |
| 36 | |
| 37 | {{{ |
| 38 | |
| 39 | Image URN: urn:publicid:IDN+instageni.illinois.edu+image+ch-geni-net:gimidev2 |
| 40 | Image URL: https://www.instageni.illinois.edu/image_metadata.php?uuid=df9ce62b-ec1a-11e3-bc1a-000000000000 |
| 41 | |
| 42 | }}} |
| 43 | |
| 44 | |
| 45 | |
| 46 | === Installation Procedure for Ubuntu 12.04 === |
| 47 | |
| 48 | The detailed procedure for installing OMF6 RC maybe found [http://mytestbed.net/doc/omf/file.INSTALLATION.html#Ubuntu at this link] and for installing OML [http://mytestbed.net/projects/oml/wiki/Installation#Debian-FedoraCentOS at this link] |
| 49 | |
| 50 | In brief: |
| 51 | |
| 52 | 1. Boot IG VM with Default Ubuntu 12.04 image [[BR]] |
| 53 | 2. Login to VM and continue as root [[BR]] |
| 54 | 3. Install OMF RC [[BR]] |
| 55 | |
| 56 | {{{ |
| 57 | #apt-get install ruby1.9.1-dev ruby1.9.1 |
| 58 | #apt-get install ruby1.9.3 |
| 59 | #gem install omf_rc --pre |
| 60 | #gem install file-tail (Optional*) |
| 61 | #install_omf_rc -i -c |
| 62 | }}} |
| 63 | |
| 64 | 4. Test if OMF RC is installed |
| 65 | |
| 66 | {{{ |
| 67 | #install_omf_rc -i -c |
| 68 | #echo "--- |
| 69 | :uid: samplehostname2 |
| 70 | :uri: amqp://gimi3.casa.umass.edu |
| 71 | :environment: production |
| 72 | :debug: false" > /etc/omf_rc/config.yml |
| 73 | #start omf_rc |
| 74 | tail /var/log/omf_rc.log |
| 75 | }}} |
| 76 | |
| 77 | After running the above you should see |
| 78 | |
| 79 | {{{ |
| 80 | [2014-06-04 22:29:50 +0000] INFO OmfRc::Runner: Starting OMF Resource Controller version '6.1.1' |
| 81 | [2014-06-04 22:29:50 +0000] INFO OmfRc::Runner: Connected using {:proto=>:amqp, :user=>"guest", :domain=>"127.0.0.1"} |
| 82 | }}} |
| 83 | |
| 84 | 5. Install OML Client |
| 85 | |
| 86 | {{{ |
| 87 | $sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/cdwertmann:/oml/xUbuntu_12.04/ /' >> /etc/apt/sources.list.d/oml2.list" |
| 88 | $wget http://download.opensuse.org/repositories/home:cdwertmann:oml/xUbuntu_12.04/Release.key |
| 89 | $sudo apt-key add - < Release.key |
| 90 | $sudo apt-get update |
| 91 | $sudo apt-get install oml2 |
| 92 | $sudo apt-get install oml2-apps |
| 93 | }}} |
| 94 | |
| 95 | |
| 96 | *Only required if you want to parse data from a continuously growing file as shown [ here] |