| 1 | = Testing the fcast application that uses ALC reliable multicast = |
| 2 | |
| 3 | == Important scripts == |
| 4 | * start-mcasttx.sh - This is run on the sending node. |
| 5 | * start-mcastrx.sh - This is run on all receiving nodes. |
| 6 | * test-512B.sh - This is the main script that runs the above scripts on the sending and receiving nodes as well as collects data on the experiment run. |
| 7 | |
| 8 | == Steps to run Experiment == |
| 9 | |
| 10 | * Image nodes on the grid - [3,1] and all nodes from [4,1] to [15,20] (except [5,10] which is a dead node). There is a ruby script in my home directory called imageSubset.rb (which images all nodes from [4,1] to [15,20] except [5,10]), which you can use. |
| 11 | |
| 12 | {{{ |
| 13 | imageNodes [3,1] baseline-fcast.ndz |
| 14 | ruby imageSubset.rb |
| 15 | }}} |
| 16 | |
| 17 | * Turn these nodes ON - |
| 18 | {{{ |
| 19 | wget -O - "http://cmc:5012/cmc/nodeSet?nodes=[4..15,1..20]" |
| 20 | wget -O - "http://cmc:5012/cmc/nodeSet?nodes=[3,1]" |
| 21 | }}} |
| 22 | 3) Once the nodes are ON, |
| 23 | |
| 24 | (a) cd ~/Test-MLC |
| 25 | (b) mkdir directory-for-this-run - e.g. mkdir 240nodes-run12 |
| 26 | (c) Make sure the sender (node3-1) has the directory you wish to transfer |
| 27 | using multicast (for e.g. ~/Test-MLC/512B contains 10000 512 byte files, |
| 28 | ~/Test-MLC/512B-5000 contains 5000 512 byte files). |
| 29 | |
| 30 | scp ~/Test-MLC/512B-5000 root@node3-1:/root/ |
| 31 | |
| 32 | (d) Modify start-mcasttx.sh according to the directory you want to |
| 33 | transfer - for e.g. to transfer 512B-5000, start-mcasttx.sh should |
| 34 | contain the following command: |
| 35 | |
| 36 | fcast -R -send -a225.1.2.3/2323 -v0 -ospeed -plan -force /root/512B-5000 |
| 37 | &> $1 & |
| 38 | |
| 39 | Copy start-mcasttx.sh to node3-1 (sender): |
| 40 | scp ~/Test-MLC/start-mcasttx.sh root@node3-1:/root/ |