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