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


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.1Tutorial/Slice

    v31 v32  
    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# Experiment slice name used by OMF. Should be unique for each experiment
    102103sn=gimi31
    103104
     105# For now ExoGENI does not assign the "Name" assigned in Flukes as hostname. This will not be needed in future versions.
    104106hostname nodeA
    105107
     
    108110gem install oml4r
    109111
     112# This line registers the node with the XMPP server (emmy9.casa.umass.edu in this case) to allow
     113# the experiment controller to communicate with the node.
    110114omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice $sn nodeA
    111115
     116# The following curl downloads are needed to update omf and oml and will most likely not be needed anymore
     117# when we create a new GIMI ExoGENI kernel.
    112118curl https://pkg.mytestbed.net/ubuntu/precise/omf-resctl-5.4_5.4.2-ubuntu6_all.deb -o /root/omf-rc.deb
    113119dpkg -i /root/omf-rc.deb
     
    134140perl -i.bak -pe "s/\:slice\:/\:slice\: $sn/g" /etc/omf-resctl-5.4/omf-resctl.yaml
    135141
     142# The above updates require a restart of the OMF resource controller.
    136143/etc/init.d/omf-resctl-5.4 restart
    137144}}}