Changes between Version 37 and Version 38 of GIMIv1.1Tutorial/Slice
- Timestamp:
- 10/17/12 23:47:36 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIMIv1.1Tutorial/Slice
v37 v38 100 100 ''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: 101 101 {{{ 102 #!/bin/bash 103 102 104 # Experiment slice name used by OMF. Should be unique for each experiment 103 sn=gimi3 1105 sn=gimi30 104 106 105 107 # For now ExoGENI does not assign the "Name" assigned in Flukes as hostname. This will not be needed in future versions. 106 108 hostname nodeA 107 109 108 #OMF related update of image.109 gem install oml4r110 111 # This line registers the node with the XMPP server (emmy9.casa.umass.edu in this case) to allow112 # the experiment controller to communicate with the node.113 omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice $sn nodeA114 115 # The following curl downloads are needed to update omf and oml and will most likely not be needed anymore116 # 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.deb118 dpkg -i /root/omf-rc.deb119 120 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-otg2_2.5.0-ubuntu2_amd64.deb -o /root/oml2-otg2.deb121 dpkg -i /root/oml2-otg2.deb122 123 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-trace_2.5.0-ubuntu2_amd64.deb -o /root/oml2-trace.deb124 dpkg -i /root/oml2-trace.deb125 126 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/oml2-iperf.deb127 dpkg -i /root/oml2-iperf.deb128 129 curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-nmetrics_2.5.0-ubuntu2_amd64.deb -o /root/oml2-nmetrics.deb130 dpkg -i /root/oml2-nmetrics.deb131 132 110 curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb 133 111 chmod +x /root/pingWrap.rb 134 112 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 138 114 curl http://emmy9.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml 139 115 perl -i.bak -pe "s/\:slice\:/\:slice\: $sn/g" /etc/omf-resctl-5.4/omf-resctl.yaml