close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libhogweed.so.2: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Oct 9, 2009, 4:11:55 PM (16 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v2
|
v3
|
|
| 37 | 37 | node[shape=box,width=3.0]; |
| 38 | 38 | |
| 39 | | "3.使用 Euca2ools 來操作 Eucalyptus" -> "4.啟動 Eucalyptus"; |
| | 39 | "3.使用 Euca2ools 來操作 Eucalyptus" -> "4.使用 Euca2ools 上傳 Kernel / Ramdisk / FS Image"; |
| 40 | 40 | "1.新增 Eucalyptus API 套件庫" -> "2.下載帳戶憑證"; |
| 41 | 41 | } |
| … |
… |
|
| 74 | 74 | ---- |
| 75 | 75 | 【Step 3:使用 Euca2ools 來操作 Eucalyptus】 |
| 76 | | * 使用 Euca2ools '''__ec2-describe-availability-zones verbose__''' |
| 77 | | 指令察看目前可用的資源 |
| | 76 | * 使用 Euca2ools 提供的 '''__ecca-describe-availability-zones__''' 指令察看可用的資源 |
| 78 | 77 | {{{ |
| 79 | 78 | $ source eucarc |
| 80 | | $ ec2-describe-availability-zones verbose |
| | 79 | $ euca-describe-availability-zones verbose |
| | 80 | |
| 81 | 81 | }}} |
| | 82 | * 使用 Euca2ools 提供的 '''__euca-describe-instances__''' 指令察看目前正在執行的 VM |
| | 83 | {{{ |
| | 84 | $ euca-describe-instances |
| | 85 | }}} |
| | 86 | ---- |
| | 87 | 【Step 4:使用 Euca2ools 上傳 Kernel / Ramdisk / FS Image】 |
| | 88 | * 目前 Eucalyptus 系統上並無 Kernel、Ramdisk 和 FS Image,所以我們使用官方提供的 Image |
| | 89 | * 上傳 Kernel |
| | 90 | {{{ |
| | 91 | $ euca-bundle-image -i /boot/vmlinuz-2.6.26-2-xen-amd64 --kernel true |
| | 92 | $ euca-upload-bundle -b kernel -m /tmp/vmlinuz-2.6.26-2-xen-amd64.manifest.xml |
| | 93 | $ euca-register kernel/vmlinuz-2.6.26-2-xen-amd64.manifest.xml |
| | 94 | }}} |
| | 95 | * 上傳 Ramdisk |
| | 96 | {{{ |
| | 97 | $ euca-bundle-image -i /boot/initrd.img-2.6.26-2-xen-amd64 --ramdisk true |
| | 98 | $ euca-upload-bundle -b ramdisks -m /boot/initrd.img-2.6.26-2-xen-amd64.manifest.xml |
| | 99 | $ euca-register ramdisks/initrd.img-2.6.26-2-xen-amd64.manifest.xml |
| | 100 | }}} |
| | 101 | * 上傳 FS Image |
| | 102 | {{{ |
| | 103 | $ cd |
| | 104 | $ wget http://eucalyptussoftware.com/downloads/eucalyptus-images/euca-debian-5.0-x86_64.tar.gz |
| | 105 | $ sudo tar zxvf euca-debian-5.0-x86_64.tar.gz |
| | 106 | |
| | 107 | $ euca-bundle-image -i debian.5-0.x86-64.img |
| | 108 | $ euca-upload-bundle -b images -m /tmp/debian.5-0.x86-64.img.manifest.xml |
| | 109 | $ euca-register images/debian.5-0.x86-64.img.manifest.xml |
| | 110 | }}} |