Changes between Version 9 and Version 10 of GTD_Cloud_One_oper
- Timestamp:
- Mar 17, 2009, 5:01:34 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified GTD_Cloud_One_oper
v9 v10 41 41 * [http://www.opennebula.org/doku.php?id=documentation:rel1.2:xeng Xen Driver Guide 1.2] 42 42 * [wiki:GTD_Cloud_One_oper/xen_conf 中文配置說明] 43 43 44 [[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 49 oned and scheduler started 50 51 $ ps -aux | grep one 52 root 32507 0.0 0.0 238100 4564 pts/5 Sl 16:51 0:00 /home/one/bin/oned -f 53 root 32522 0.0 0.0 106816 4192 pts/5 Sl 16:51 0:00 /home/one/bin/mm_sched -p 2633 54 root 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 55 root 32540 0.0 0.0 28116 3552 pts/5 SNl 16:51 0:00 ruby /home/one/lib/mads/one_vmm_xen.rb 56 root 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__''''' 46 65 {{{ 47 66 $ onehost create xen101 im_xen vmm_xen tm_ssh … … 51 70 }}} 52 71 53 * '''''__ 3.2 Submit vm__'''''72 * '''''__4.2 Submit VM__''''' 54 73 * Create Image (Using xen-tools) 55 74 {{{ … … 74 93 75 94 }}} 76 77 * Submit vm 95 * Submit VM 78 96 {{{ 79 97 $ sudo onevm submit test1.cfg … … 89 107 $ sudo xm console one-0 90 108 }}} 109 * VM Log File ($ONE_LOCATION/var/<VID>) 91 110 92 == 4. 指令介紹 == 111 [[BR]] 112 == 5. 指令介紹 == 93 113 * OpenNEbula 提供類似XEN指令的方式來管理虛擬機器,OpenNEbula也可以支援Amazon EC2和KVM(Kenrel-based Virtual Machine)的虛擬機器,不過在此處是以OpenNEbula來管理Cluster環境上得XEN虛擬機器。OpenNEbula主要有三個指令: 94 114 * [wiki:GTD_Cloud_One_oper_onehost onehost]: 用來增加、刪除和監控實體機器 (也就是可以監控所有位於Cluster上的Dom0) … … 97 117 98 118 [[BR]] 99 == 5. Programming with OpenNEbula ==119 == 6. Programming with OpenNEbula == 100 120 * OpenNEbula 提供一些API讓Client可以透過自行撰寫的程式碼來管理虛擬機器,它採用XML-RPC機制來完成動作。 101 121 102 122 [[BR]] 103 == 6. Reference ==123 == 7. Reference == 104 124 * [http://www.opennebula.org/doku.php?id=documentation:rel1.2:cli OpenNebula CLI 1.2] 105 125 * [http://www.opennebula.org/doku.php?id=documentation:rel1.2:api OpenNebula Client API 1.2]