Changes between Version 30 and Version 31 of GIMIv1.1Tutorial/Slice


Ignore:
Timestamp:
10/14/12 21:22:38 (12 years ago)
Author:
zink@cs.umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.1Tutorial/Slice

    v30 v31  
    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 
     102sn=gimi31
     103
     104hostname nodeA
     105
     106echo 1 >  /proc/sys/net/ipv4/ip_forward
     107
     108gem install oml4r
     109
     110omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice $sn nodeA
     111
     112curl https://pkg.mytestbed.net/ubuntu/precise/omf-resctl-5.4_5.4.2-ubuntu6_all.deb -o /root/omf-rc.deb
     113dpkg -i /root/omf-rc.deb
     114
     115curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-otg2_2.5.0-ubuntu2_amd64.deb -o /root/oml2-otg2.deb
     116dpkg -i /root/oml2-otg2.deb
     117
     118curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-trace_2.5.0-ubuntu2_amd64.deb -o /root/oml2-trace.deb
     119dpkg -i /root/oml2-trace.deb
     120
     121curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/oml2-iperf.deb
     122dpkg -i /root/oml2-iperf.deb
     123
     124curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-nmetrics_2.5.0-ubuntu2_amd64.deb -o /root/oml2-nmetrics.deb
     125dpkg -i /root/oml2-nmetrics.deb
     126
     127curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb
     128chmod +x /root/pingWrap.rb
     129
     130#curl http://emmy9.casa.umass.edu/enrolled.patch -o enrolled.patch
     131#patch -p1 < /enrolled.patch
     132
     133curl http://emmy9.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml
     134perl -i.bak -pe "s/\:slice\:/\:slice\: $sn/g" /etc/omf-resctl-5.4/omf-resctl.yaml
     135
     136/etc/init.d/omf-resctl-5.4 restart
    103137}}}
    104138