Changes between Version 6 and Version 7 of GTD_Cloud_One_Haizea


Ignore:
Timestamp:
Jan 13, 2010, 9:45:44 AM (15 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GTD_Cloud_One_Haizea

    v6 v7  
    3232 * 相依性套件
    3333{{{
    34 # sudo aptitude install python-2.5 python-egenix-mxdatetime python-mako
     34# sudo aptitude install python2.5 python-egenix-mxdatetime python-mako
    3535}}}
    3636   * python-psyco 只支援 i386 的處理器
     
    4242# sudo python setup.py install
    4343}}}
    44  * 測試
     44   * 若是您沒有 root 權限,也可以指定安裝再自己的家目錄
     45{{{
     46# python setup.py install --home=$HOME
     47}}}
     48   * 若看到以下訊息則表示安裝成功
     49{{{
     50#!sh
     51creating /usr/share/haizea/traces/multi
     52copying traces/multi/inj1.lwf -> /usr/share/haizea/traces/multi
     53copying traces/multi/inj2.lwf -> /usr/share/haizea/traces/multi
     54copying traces/multi/withprematureend.lwf -> /usr/share/haizea/traces/multi
     55copying traces/multi/withoutprematureend.lwf -> /usr/share/haizea/traces/multi
     56running install_egg_info
     57Writing /usr/lib/python2.5/site-packages/haizea-XXX.egg-info
     58}}}
     59 * 測試 (使用提供的範本來測試執行,此範本會 simulate 沒有需求的排程
     60{{{
     61# sudo haizea -c /usr/share/haizea/etc/sample_trace.conf
     62[2006-11-25 13:00:00.00] RM      Starting resource manager
     63[2006-11-25 13:00:00.00] TFILE   Loading tracefile /usr/share/haizea/traces/sample.lwf
     64[2006-11-25 13:00:00.00] TFILE   Loaded workload with 0 requests ()
     65[2006-11-25 13:00:00.00] CLOCK   Starting simulated clock
     66[2006-11-25 13:00:00.00] CLOCK   Simulated clock has stopped
     67[2006-11-25 13:00:00.00] RM      Stopping resource manager gracefully...
     68[2006-11-25 13:00:00.00] RM      --- Haizea status summary ---
     69[2006-11-25 13:00:00.00] RM      Number of leases (not including completed): 0
     70[2006-11-25 13:00:00.00] RM      Completed leases: 0
     71[2006-11-25 13:00:00.00] RM      ---- End summary ----
     72}}}
    4573----
    4674= 【參考】 =