Changes between Version 37 and Version 38 of GIMIv1.1Tutorial/Slice


Ignore:
Timestamp:
10/17/12 23:47:36 (7 years ago)
Author:
zink@cs.umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.1Tutorial/Slice

    v37 v38  
    100100  ''B.2.1.6'' GIMI specific post boot script. Each node uses the same image but runs a slightly different post boot script. The latter allows for individualized settings at each node. An example post boot script for NodeA is shown below:
    101101{{{
     102#!/bin/bash
     103
    102104# Experiment slice name used by OMF. Should be unique for each experiment
    103 sn=gimi31
     105sn=gimi30
    104106
    105107# For now ExoGENI does not assign the "Name" assigned in Flukes as hostname. This will not be needed in future versions.
    106108hostname nodeA
    107109
    108 #OMF related update of image.
    109 gem install oml4r
    110 
    111 # This line registers the node with the XMPP server (emmy9.casa.umass.edu in this case) to allow
    112 # the experiment controller to communicate with the node.
    113 omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice $sn nodeA
    114 
    115 # The following curl downloads are needed to update omf and oml and will most likely not be needed anymore
    116 # when we create a new GIMI ExoGENI kernel.
    117 curl https://pkg.mytestbed.net/ubuntu/precise/omf-resctl-5.4_5.4.2-ubuntu6_all.deb -o /root/omf-rc.deb
    118 dpkg -i /root/omf-rc.deb
    119 
    120 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-otg2_2.5.0-ubuntu2_amd64.deb -o /root/oml2-otg2.deb
    121 dpkg -i /root/oml2-otg2.deb
    122 
    123 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-trace_2.5.0-ubuntu2_amd64.deb -o /root/oml2-trace.deb
    124 dpkg -i /root/oml2-trace.deb
    125 
    126 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/oml2-iperf.deb
    127 dpkg -i /root/oml2-iperf.deb
    128 
    129 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-nmetrics_2.5.0-ubuntu2_amd64.deb -o /root/oml2-nmetrics.deb
    130 dpkg -i /root/oml2-nmetrics.deb
    131 
    132110curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb
    133111chmod +x /root/pingWrap.rb
    134112
    135 #curl http://emmy9.casa.umass.edu/enrolled.patch -o enrolled.patch
    136 #patch -p1 < /enrolled.patch
    137 
     113#Adds the slice name to the resource controller configuration file
    138114curl http://emmy9.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml
    139115perl -i.bak -pe "s/\:slice\:/\:slice\: $sn/g" /etc/omf-resctl-5.4/omf-resctl.yaml