105 | | echo nodeA > /etc/hostname |
106 | | hostname -F /etc/hostname |
107 | | |
108 | | echo 192.168.1.10 nodeA-L1 nodeA >> /etc/hosts |
109 | | echo 192.168.3.10 nodeA-L3 >> /etc/hosts |
110 | | |
111 | | echo 192.168.1.11 nodeB-L1 nodeB >> /etc/hosts |
112 | | echo 192.168.2.11 nodeB-L2 >> /etc/hosts |
113 | | |
114 | | echo 192.168.2.12 nodeC-L2 nodeC >> /etc/hosts |
115 | | echo 192.168.3.12 nodeC-L3 >> /etc/hosts |
| 105 | hostname gimi01-testing-nodeA |
| 106 | |
| 107 | apt-get update |
| 108 | |
| 109 | curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/iperf.deb |
| 110 | dpkg -i /root/iperf.deb |
119 | | curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o |
120 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
121 | | perl -i.bak -pe "s/\:name\:/\:name\: \'nodeA\' /g" |
122 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
123 | | perl -i.bak -pe "s/\:slice\:/\:slice\: gimi01-gec14/g" |
124 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
| 114 | curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb |
| 115 | chmod +x /root/pingWrap.rb |
| 116 | gem install oml4r |
| 117 | |
| 118 | omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimi01-testing gimi01-testing-nodeA |
| 119 | |
| 120 | curl http://emmy8.casa.umass.edu/enrolled.patch -o enrolled.patch |
| 121 | patch -p1 < /enrolled.patch |
| 122 | |
| 123 | curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml |
| 124 | perl -i.bak -pe "s/\:slice\:/\:slice\: gimi01-testing/g" /etc/omf-resctl-5.4/omf-resctl.yaml |
| 125 | |
| 126 | /etc/init.d/omf-resctl-5.4 restart |
128 | | echo nodeB > /etc/hostname |
129 | | hostname -F /etc/hostname |
130 | | |
131 | | |
132 | | echo 192.168.1.10 nodeA-L1 nodeA >> /etc/hosts |
133 | | echo 192.168.3.10 nodeA-L3 >> /etc/hosts |
134 | | |
135 | | echo 192.168.1.11 nodeB-L1 nodeB >> /etc/hosts |
136 | | echo 192.168.2.11 nodeB-L2 >> /etc/hosts |
137 | | |
138 | | echo 192.168.2.12 nodeC-L2 nodeC >> /etc/hosts |
139 | | echo 192.168.3.12 nodeC-L3 >> /etc/hosts |
140 | | |
141 | | echo 1 > /proc/sys/net/ipv4/ip_forward |
142 | | |
143 | | curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o |
144 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
145 | | perl -i.bak -pe "s/\:name\:/\:name\: \'nodeB\' /g" |
146 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
147 | | perl -i.bak -pe "s/\:slice\:/\:slice\: gimi01-gec14/g" |
148 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
| 130 | hostname gimi01-testing-nodeB |
| 131 | |
| 132 | apt-get update |
| 133 | |
| 134 | curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/iperf.deb |
| 135 | dpkg -i /root/iperf.deb |
| 136 | |
| 137 | route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.11 |
| 138 | |
| 139 | curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb |
| 140 | chmod +x /root/pingWrap.rb |
| 141 | gem install oml4r |
| 142 | |
| 143 | omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimi01-testing gimi01-testing-nodeB |
| 144 | |
| 145 | curl http://emmy8.casa.umass.edu/enrolled.patch -o enrolled.patch |
| 146 | patch -p1 < /enrolled.patch |
| 147 | |
| 148 | curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml |
| 149 | perl -i.bak -pe "s/\:slice\:/\:slice\: gimi01-testing/g" /etc/omf-resctl-5.4/omf-resctl.yaml |
| 150 | |
| 151 | /etc/init.d/omf-resctl-5.4 restart |
152 | | echo nodeC > /etc/hostname |
153 | | hostname -F /etc/hostname |
154 | | |
155 | | echo 192.168.1.10 nodeA-L1 nodeA >> /etc/hosts |
156 | | echo 192.168.3.10 nodeA-L3 >> /etc/hosts |
157 | | |
158 | | echo 192.168.1.11 nodeB-L1 nodeB >> /etc/hosts |
159 | | echo 192.168.2.11 nodeB-L2 >> /etc/hosts |
160 | | |
161 | | echo 192.168.2.12 nodeC-L2 nodeC >> /etc/hosts |
162 | | echo 192.168.3.12 nodeC-L3 >> /etc/hosts |
163 | | |
164 | | route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.2.11 |
165 | | |
166 | | curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o |
167 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
168 | | perl -i.bak -pe "s/\:name\:/\:name\: \'nodeC\' /g" |
169 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
170 | | perl -i.bak -pe "s/\:slice\:/\:slice\: gimi01-gec14/g" |
171 | | /etc/omf-resctl-5.4/omf-resctl.yaml |
| 155 | hostname gimi01-testing-nodeC |
| 156 | |
| 157 | apt-get update |
| 158 | |
| 159 | curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/iperf.deb |
| 160 | dpkg -i /root/iperf.deb |
| 161 | |
| 162 | route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.11 |
| 163 | |
| 164 | curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb |
| 165 | chmod +x /root/pingWrap.rb |
| 166 | gem install oml4r |
| 167 | |
| 168 | omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimi01-testing gimi01-testing-nodeC |
| 169 | |
| 170 | curl http://emmy8.casa.umass.edu/enrolled.patch -o enrolled.patch |
| 171 | patch -p1 < /enrolled.patch |
| 172 | |
| 173 | curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml |
| 174 | perl -i.bak -pe "s/\:slice\:/\:slice\: gimi01-testing/g" /etc/omf-resctl-5.4/omf-resctl.yaml |
| 175 | |
| 176 | /etc/init.d/omf-resctl-5.4 restart |