Changes between Version 146 and Version 147 of GIMIv1.0Tutorial


Ignore:
Timestamp:
07/07/12 12:51:49 (12 years ago)
Author:
dilip.manu@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.0Tutorial

    v146 v147  
    4141#
    4242# iRODS server host name:
    43 irodsHost 'emmy9.casa.umass.edu'
     43irodsHost 'emmy8.casa.umass.edu'
    4444# iRODS server port number:
    4545irodsPort 1247
    4646
    4747# Default storage resource name:
    48 irodsDefResource 'iRODSUmass1'
     48irodsDefResource 'iRODSUmass'
    4949# Home directory in iRODS:
    5050irodsHome '/geniRenci/home/gimiXX'
     
    103103  * Node A
    104104{{{
    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
     105hostname gimi01-testing-nodeA
     106
     107apt-get update
     108
     109curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/iperf.deb
     110dpkg -i /root/iperf.deb
    116111
    117112route add -net 192.168.2.0 netmask 255.255.255.0  gw 192.168.1.11
    118113
    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
     114curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb
     115chmod +x /root/pingWrap.rb
     116gem install oml4r
     117
     118omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimi01-testing gimi01-testing-nodeA
     119
     120curl http://emmy8.casa.umass.edu/enrolled.patch -o enrolled.patch
     121patch -p1 < /enrolled.patch
     122
     123curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml
     124perl -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
    125127}}}
    126128  * Node B
    127129{{{
    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
     130hostname gimi01-testing-nodeB
     131
     132apt-get update
     133
     134curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/iperf.deb
     135dpkg -i /root/iperf.deb
     136
     137route add -net 192.168.2.0 netmask 255.255.255.0  gw 192.168.1.11
     138
     139curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb
     140chmod +x /root/pingWrap.rb
     141gem install oml4r
     142
     143omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimi01-testing gimi01-testing-nodeB
     144
     145curl http://emmy8.casa.umass.edu/enrolled.patch -o enrolled.patch
     146patch -p1 < /enrolled.patch
     147
     148curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml
     149perl -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
    149152}}}
    150153  * Node C
    151154{{{
    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
     155hostname gimi01-testing-nodeC
     156
     157apt-get update
     158
     159curl https://pkg.mytestbed.net/ubuntu/oneiric/oml2-iperf_2.0.5-1ubuntu5_amd64.deb -o /root/iperf.deb
     160dpkg -i /root/iperf.deb
     161
     162route add -net 192.168.2.0 netmask 255.255.255.0  gw 192.168.1.11
     163
     164curl http://emmy9.casa.umass.edu/pingWrap.rb -o /root/pingWrap.rb
     165chmod +x /root/pingWrap.rb
     166gem install oml4r
     167
     168omf_create_psnode-5.4 emmy9.casa.umass.edu mkslice gimi01-testing gimi01-testing-nodeC
     169
     170curl http://emmy8.casa.umass.edu/enrolled.patch -o enrolled.patch
     171patch -p1 < /enrolled.patch
     172
     173curl http://emmy8.casa.umass.edu/omf-resctl.yaml -o /etc/omf-resctl-5.4/omf-resctl.yaml
     174perl -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
    172177}}}
    173178