Changes between Version 31 and Version 32 of GIMIv1.1Tutorial/Slice
- Timestamp:
- 10/14/12 21:39:07 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GIMIv1.1Tutorial/Slice
v31 v32 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 # Experiment slice name used by OMF. Should be unique for each experiment 102 103 sn=gimi31 103 104 105 # For now ExoGENI does not assign the "Name" assigned in Flukes as hostname. This will not be needed in future versions. 104 106 hostname nodeA 105 107 … … 108 110 gem install oml4r 109 111 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. 110 114 omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice $sn nodeA 111 115 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. 112 118 curl https://pkg.mytestbed.net/ubuntu/precise/omf-resctl-5.4_5.4.2-ubuntu6_all.deb -o /root/omf-rc.deb 113 119 dpkg -i /root/omf-rc.deb … … 134 140 perl -i.bak -pe "s/\:slice\:/\:slice\: $sn/g" /etc/omf-resctl-5.4/omf-resctl.yaml 135 141 142 # The above updates require a restart of the OMF resource controller. 136 143 /etc/init.d/omf-resctl-5.4 restart 137 144 }}}