Changes between Version 9 and Version 10 of GTD_Cloud_One_oper


Ignore:
Timestamp:
Mar 17, 2009, 5:01:34 PM (15 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GTD_Cloud_One_oper

    v9 v10  
    4141   * [http://www.opennebula.org/doku.php?id=documentation:rel1.2:xeng Xen Driver Guide 1.2]
    4242   * [wiki:GTD_Cloud_One_oper/xen_conf 中文配置說明]
     43
    4344[[BR]]
    44 == 3. Host Add & VM submit ==
    45  * '''''__3.1 Add Host__'''''
     45== 3. ONE startup ==
     46 * ONE Start [[BR]](Two processes: '''(1)oned (2)mm_sched'''. Three drivers:'''(1)IM (2)VM (3)TM''')
     47{{{
     48$ one start
     49oned and scheduler started
     50
     51$ ps -aux | grep one
     52root     32507  0.0  0.0 238100  4564 pts/5    Sl   16:51   0:00 /home/one/bin/oned -f
     53root     32522  0.0  0.0 106816  4192 pts/5    Sl   16:51   0:00 /home/one/bin/mm_sched -p 2633
     54root     32526  0.0  0.0  35500  4592 pts/5    SNl  16:51   0:00 ruby /home/one/lib/mads/one_im_ssh.rb im_xen/im_xen.conf
     55root     32540  0.0  0.0  28116  3552 pts/5    SNl  16:51   0:00 ruby /home/one/lib/mads/one_vmm_xen.rb
     56root     32551  0.0  0.0  28120  3636 pts/5    SNl  16:51   0:00 ruby /home/one/lib/mads/one_tm.rb tm_ssh/tm_ssh.conf
     57}}}
     58 * Log File:
     59   * Processes: $ONE_LOCATION/var/oned.log & $ONE_LOCATION/var/sched.log
     60   * Drivers: $ONE_LOCATION/var/name-of-the-driver-executable.log
     61 
     62[[BR]]
     63== 4. Host Add & VM submit ==
     64 * '''''__4.1 Add Host__'''''
    4665{{{
    4766$ onehost create xen101 im_xen vmm_xen tm_ssh
     
    5170}}}
    5271
    53  * '''''__3.2 Submit vm__'''''
     72 * '''''__4.2 Submit VM__'''''
    5473   * Create Image (Using xen-tools)
    5574{{{
     
    7493
    7594}}}
    76 
    77    * Submit vm
     95   * Submit VM
    7896{{{
    7997$ sudo onevm submit test1.cfg
     
    89107$ sudo xm console one-0
    90108}}}
     109   * VM Log File ($ONE_LOCATION/var/<VID>)
    91110
    92 == 4. 指令介紹 ==
     111[[BR]]
     112== 5. 指令介紹 ==
    93113 * OpenNEbula 提供類似XEN指令的方式來管理虛擬機器,OpenNEbula也可以支援Amazon EC2和KVM(Kenrel-based Virtual Machine)的虛擬機器,不過在此處是以OpenNEbula來管理Cluster環境上得XEN虛擬機器。OpenNEbula主要有三個指令:
    94114   * [wiki:GTD_Cloud_One_oper_onehost onehost]: 用來增加、刪除和監控實體機器 (也就是可以監控所有位於Cluster上的Dom0)
     
    97117
    98118[[BR]]
    99 == 5. Programming with OpenNEbula ==
     119== 6. Programming with OpenNEbula ==
    100120 * OpenNEbula 提供一些API讓Client可以透過自行撰寫的程式碼來管理虛擬機器,它採用XML-RPC機制來完成動作。
    101121 
    102122[[BR]]
    103 == 6. Reference ==
     123== 7. Reference ==
    104124 * [http://www.opennebula.org/doku.php?id=documentation:rel1.2:cli OpenNebula CLI 1.2]
    105125 * [http://www.opennebula.org/doku.php?id=documentation:rel1.2:api OpenNebula Client API 1.2]