close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_repos.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 7, 2009, 4:24:22 PM (16 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v7
|
v8
|
|
| 57 | 57 | node[shape=box,width=3.0]; |
| 58 | 58 | |
| 59 | | "3.設定 Eucalyptus" -> "4.啟動 Eucalyptus"; |
| | 59 | "3.設定 Eucalyptus 的網路架構" -> "4.啟動 Eucalyptus"; |
| 60 | 60 | "1.新增 Eucalyptus 套件庫" -> "2.從套件庫安裝 Eucalyptus"; |
| 61 | 61 | } |
| … |
… |
|
| 112 | 112 | }}} |
| 113 | 113 | ---- |
| 114 | | = 【Step 3:設定 Eucalyptus】 = |
| | 114 | = 【Step 3:設定 Eucalyptus 的網路架構】 = |
| 115 | 115 | * 設定也分為兩部份 node1 和 node2 的設定 (設定檔的位置接放於 /etc/eucalyptus/eucalyptus.conf) |
| 116 | 116 | * Eucalyptus 目前只支援 Xen 的 Bridge 架構,可分為4種網路架構,本範例使用 SYSTEM MODE (若是對其他網路架構有性可[http://trac.nchc.org.tw/grid/wiki/Eucalyptus/Install/Net 參考此篇]) |
| 117 | 117 | * '''__node1'''__ |
| 118 | | * Eucalyptus 環境配置 (包含了 cluster 名稱、包含哪些 nodes) |
| 119 | | {{{ |
| 120 | | $ sudo euca_conf -addcluster <clustername> <clusterhost> |
| 121 | | $ sudo euca_conf -nodes "node2" |
| 122 | | $ euca_conf -synckeys |
| 123 | | |
| 124 | | }}} |
| 125 | | * 網路配置 |
| 126 | 118 | {{{ |
| 127 | 119 | $ sudo vim /etc/eucalyptus/eucalyptus.conf |
| … |
… |
|
| 140 | 132 | 181 VNET_MODE="SYSTEM" |
| 141 | 133 | }}} |
| | 134 | |
| | 135 | ---- |
| | 136 | = 【Step 4:啟動 Eucalyptus】 = |
| | 137 | * node1 啟動 CLoud Controller & Cluster Controller (可用 start/restart/stop) |
| | 138 | {{{ |
| | 139 | sudo /etc/init.d/eucalyptus-cloud restart |
| | 140 | sudo /etc/init.d/eucalyptus-cc restart |
| | 141 | }}} |
| | 142 | * node2 啟動 Node Controller |
| | 143 | {{{ |
| | 144 | sudo /etc/init.d/eucalyptus-nc restart |
| | 145 | }}} |