Changes between Version 22 and Version 23 of OnTimeMeasureTutorial
- Timestamp:
- 02/16/12 14:53:56 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OnTimeMeasureTutorial
v22 v23 773 773 === 7.6 Use Gush to Configure !OnTimeMeasure === 774 774 775 In section 2.4, we got776 {{{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 782 775 In section 7.3, we got 783 776 {{{ … … 793 786 {{{ 794 787 connect 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" 788 shell "sed -i 's/nodes:/nodes:\n- name: node3\n IP: 155.98.38.113\n\n/g' config.yaml" 800 789 shell "python task_manage.py -c measurement.yaml" 801 790 }}} 802 791 803 '''NOTE:''' 192.168.1.1, 192.168.1.2 and 192.168.1.3 are pre-defined IP address in config_example.yaml804 792 805 793 The output: … … 809 797 gush> xyx@root.otcdemo.emulab-net.emulab.net:61601 has joined the mesh. 810 798 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 800 gush> shell "sed -i 's/nodes:/nodes:\n- name: node3\n IP: 155.98.38.113\n\n/g' config.yaml" 816 801 gush> shell "python task_manage.py -c measurement.yaml" 817 802 gush> xyx@root.otcdemo.emulab-net.emulab.net:61601,31357: configuring http://155.98.39.137:17248 OK