- root@controller:/ neturon-server
@tty1
- root@controller:/home/amy/floodlight_ecmp/: floodlight .....
@tty2
- 等他跑一下,可以看floodlight console有沒有噴計算完畢相關的訊息
- root@controller:/ cd home/amy/code_test/
$VAR1
screen-9
- sh simple_random_VM..sh Ubuntu-exp2 執行此指令去創造vm
- 接下來慢慢等,大概兩三分鍾後去網頁看是否所有VM都有順利開起來,記得檢查最後一個IP是
30.0.1.19
- 如果網頁噴
something goes wrong or internel error
,在瀏覽器執行193.168.3.20/horizon/auth/logout
- 如果網頁有任何問題,包括console開不起來,都要執行nova重啟步驟
- root@controller: sh nova_restart.sh
screen-11
- root@controller: sh nova_restart.sh
- 由下到上把全部的vm console都打開
- Instance -> More - >console
- 帳號密碼皆為 root/123,vm0為主控台
- sh tc.sh
- python server.py
- 要取得traffic (history_$N)
- 從vm(1-24) 把history_$N給複製到vm0
- scp 30.0.1.${i+1}:~/history_$i . (3<=i<=9)
- mv history_$N history
- modify master.py
-. line:97 while i!=
{flow*4}
- python master.py 3
- you can delete all of fin now 1 or 3 :
3
@tty1
- 等到中間螢幕的iftop都沒有資料後,可以再稍微等一下下再往下處理
- open
tty2
at vm0 - mkdir exp
- cp copy_VM.sh result_parser.py history exp/
- sh copy_VM.sh && password = 123
- repeat yes and 123
- python result_parser.yp > timeresult
- 檢查
timeresult
這個檔案裡面是否都是100%,看看傳輸時間那邊有沒有傳,如果有錯誤,就先用16 delete後,把master.py重新來過 - you can delete all of fin now 1 or 3 :
1
@tty1
- cd ..
@tty2
- mv exp/ exp_$N
- 換下一個history後,從6繼續下次實驗
- 如果發現scp拿東西非常慢,那就先拿出來,然後把VM關掉,世界全部重新來過,history繼續往下跑
- vm0:
arp -s 30.0.1.56 bc:5f:f4:b0:33:78
- screen-0: arp -s 192.168.2.56 {$_
(ifconfig on vm0
)} - refer to page.9 on word.
- ovs-ofctl ... normal
- ovs-ofctl .... flood
- ovs-ofctl ....
screen-2 @node3
- scp -r exp_$N/ 30.0.1.56:~/
$VAR2
@vm0
- 如果VM不能刪除,就先把floodlight關掉 neutron重開 網頁把VM全不砍掉 然後fl & neutron都重開 如先前步驟
$VAR1
and$VAR2
由amy決定,會變