Changes between Version 21 and Version 22 of GIMIv1.0Tutorial


Ignore:
Timestamp:
06/23/12 16:35:44 (12 years ago)
Author:
zink@cs.umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.0Tutorial

    v21 v22  
    4242[[Image(wiki:GIMIv1.0Tutorial:Slide12.png)]]
    4343
     44 * Each node uses the same image but runs a slightly post boot script. The post boot scripts (specified in Flukes) are shown below.
     45  * Node A
     46{{{
     47echo nodeA > /etc/hostname
     48hostname -F /etc/hostname
     49
     50echo 192.168.1.10 nodeA-L1 nodeA >> /etc/hosts
     51echo 192.168.3.10 nodeA-L3 >> /etc/hosts
     52
     53echo 192.168.1.11 nodeB-L1 nodeB >> /etc/hosts
     54echo 192.168.2.11 nodeB-L2 >> /etc/hosts
     55
     56echo 192.168.2.12 nodeC-L2 nodeC >> /etc/hosts
     57echo 192.168.3.12 nodeC-L3 >> /etc/hosts
     58
     59route add -net 192.168.2.0 netmask 255.255.255.0  gw 192.168.1.11
     60
     61curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o
     62/etc/omf-resctl-5.4/omf-resctl.yaml
     63perl -i.bak -pe "s/\:name\:/\:name\: \'nodeA\' /g"
     64/etc/omf-resctl-5.4/omf-resctl.yaml
     65perl -i.bak -pe "s/\:slice\:/\:slice\: dilip-gec14/g"
     66/etc/omf-resctl-5.4/omf-resctl.yaml
     67/etc/init.d/omf-resctl-5.4 restart
     68}}}
     69  * Node B
     70{{{
     71echo nodeB > /etc/hostname
     72hostname -F /etc/hostname
     73
     74
     75echo 192.168.1.10 nodeA-L1 nodeA >> /etc/hosts
     76echo 192.168.3.10 nodeA-L3 >> /etc/hosts
     77
     78echo 192.168.1.11 nodeB-L1 nodeB >> /etc/hosts
     79echo 192.168.2.11 nodeB-L2 >> /etc/hosts
     80
     81echo 192.168.2.12 nodeC-L2 nodeC >> /etc/hosts
     82echo 192.168.3.12 nodeC-L3 >> /etc/hosts
     83
     84echo 1 >  /proc/sys/net/ipv4/ip_forward
     85
     86curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o
     87/etc/omf-resctl-5.4/omf-resctl.yaml
     88perl -i.bak -pe "s/\:name\:/\:name\: \'nodeB\' /g"
     89/etc/omf-resctl-5.4/omf-resctl.yaml
     90perl -i.bak -pe "s/\:slice\:/\:slice\: dilip-gec14/g"
     91/etc/omf-resctl-5.4/omf-resctl.yaml
     92/etc/init.d/omf-resctl-5.4 restart
     93}}}
     94  * Node C
     95{{{
     96echo nodeC > /etc/hostname
     97hostname -F /etc/hostname
     98
     99echo 192.168.1.10 nodeA-L1 nodeA >> /etc/hosts
     100echo 192.168.3.10 nodeA-L3 >> /etc/hosts
     101
     102echo 192.168.1.11 nodeB-L1 nodeB >> /etc/hosts
     103echo 192.168.2.11 nodeB-L2 >> /etc/hosts
     104
     105echo 192.168.2.12 nodeC-L2 nodeC >> /etc/hosts
     106echo 192.168.3.12 nodeC-L3 >> /etc/hosts
     107
     108route add -net 192.168.1.0 netmask 255.255.255.0  gw 192.168.2.11
     109
     110curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o
     111/etc/omf-resctl-5.4/omf-resctl.yaml
     112perl -i.bak -pe "s/\:name\:/\:name\: \'nodeC\' /g"
     113/etc/omf-resctl-5.4/omf-resctl.yaml
     114perl -i.bak -pe "s/\:slice\:/\:slice\: dilip-gec14/g"
     115/etc/omf-resctl-5.4/omf-resctl.yaml
     116/etc/init.d/omf-resctl-5.4 restart
     117}}}
     118
    44119 * The images running on the ExoGENI nodes include the following software:
    45120  * OMF (AM, RC, EC)