Changes between Version 22 and Version 23 of OnTimeMeasureTutorial


Ignore:
Timestamp:
02/16/12 14:53:56 (13 years ago)
Author:
yxu@osc.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OnTimeMeasureTutorial

    v22 v23  
    773773=== 7.6 Use Gush to Configure !OnTimeMeasure ===
    774774
    775 In section 2.4, we got
    776 {{{
    777 Root Beacon   - pc355.emulab.net (155.98.39.155)
    778 Node Beacon 1 - pc337.emulab.net (155.98.39.137)
    779 Node Beacon 2 - pc262.emulab.net (155.98.39.62)
    780 }}}
    781 
    782775In section 7.3, we got
    783776{{{
     
    793786{{{
    794787connect pc355.emulab.net:61601
    795 shell "cp config_example.yaml config.yaml"
    796 shell "sed -i 's/192.168.1.1/155.98.39.155/g'   config.yaml"
    797 shell "sed -i 's/db_pwd: collector/db_pwd: authenpasswd/g'  config.yaml"
    798 shell "sed -i 's/IP: 192.168.1.2/IP: 155.98.39.137/g'   config.yaml"
    799 shell "sed -i 's/IP: 192.168.1.3/IP: 155.98.39.62\n\n- name: node3\n  IP: 155.98.38.113\n\n/g'   config.yaml"
     788shell "sed -i 's/nodes:/nodes:\n- name: node3\n  IP: 155.98.38.113\n\n/g'   config.yaml"
    800789shell "python task_manage.py -c measurement.yaml"
    801790}}}
    802791
    803 '''NOTE:''' 192.168.1.1, 192.168.1.2 and 192.168.1.3 are pre-defined IP address in config_example.yaml
    804792
    805793The output:
     
    809797gush> xyx@root.otcdemo.emulab-net.emulab.net:61601 has joined the mesh.
    810798
    811 gush> shell "cp config_example.yaml config.yaml"
    812 gush> shell "sed -i 's/192.168.1.1/155.98.39.155/g'   config.yaml"
    813 gush> shell "sed -i 's/db_pwd: collector/db_pwd: authenpasswd/g'  config.yaml"
    814 gush> shell "sed -i 's/IP: 192.168.1.2/IP: 155.98.39.137/g'   config.yaml"
    815 gush> shell "sed -i 's/IP: 192.168.1.3/IP: 155.98.39.62\n\n- name: node3\n  IP: 155.98.38.113\n\n/g'   config.yaml"
     799
     800gush> shell "sed -i 's/nodes:/nodes:\n- name: node3\n  IP: 155.98.38.113\n\n/g'   config.yaml"
    816801gush> shell "python task_manage.py -c measurement.yaml"
    817802gush> xyx@root.otcdemo.emulab-net.emulab.net:61601,31357: configuring http://155.98.39.137:17248 OK