CentOS 6
Sponsored Link

Eucalyptus - Add Instance Images2013/02/24

 
Add Instance Images
This example shows to configure Eucalyptus on the environment below.
#1) frontend.srv.world
[10.0.0.30]   ⇒   Control Server ( CLC, Walrus, SC, CC installed )

#2) node01.srv.world
[10.0.0.40]   ⇒   Node Controler ( NC installed, built KVM Host )
[1] Work on the Control Server. ( for exmaple, add image of CentOS 6.3 here )
[root@frontend ~]#
wget http://emis.eucalyptus.com/starter-emis/euca-centos6.3-2012.11.07-x86_64.tgz

[root@frontend ~]#
tar zxvf euca-centos6.3-2012.11.07-x86_64.tgz

[root@frontend ~]#
cd centos-6.3-x86_64

[root@frontend centos-6.3-x86_64]#
euca-bundle-image -i kvm-kernel/vmlinuz-2.6.32-279.14.1.el6.x86_64 --kernel true

Checking image
Compressing image
Encrypting image
Splitting image...
Part: vmlinuz-2.6.32-279.14.1.el6.x86_64.part.00
Generating manifest /tmp/vmlinuz-2.6.32-279.14.1.el6.x86_64.manifest.xml
[root@frontend centos-6.3-x86_64]#
euca-upload-bundle -b centos-kernel-bucket -m /tmp/vmlinuz-2.6.32-279.14.1.el6.x86_64.manifest.xml

Checking bucket: centos-kernel-bucket
Creating bucket: centos-kernel-bucket
Uploading manifest file
Uploading part: vmlinuz-2.6.32-279.14.1.el6.x86_64.part.00
Uploaded image as centos-kernel-bucket/vmlinuz-2.6.32-279.14.1.el6.x86_64.manifest.xml
[root@frontend centos-6.3-x86_64]#
euca-register centos-kernel-bucket/vmlinuz-2.6.32-279.14.1.el6.x86_64.manifest.xml

IMAGE eki-FAE037C8
[root@frontend centos-6.3-x86_64]#
euca-bundle-image -i kvm-kernel/initrd-2.6.32-279.14.1.el6.x86_64.img --ramdisk true

Checking image
Compressing image
Encrypting image
Splitting image...
Part: initrd-2.6.32-279.14.1.el6.x86_64.img.part.00
Generating manifest /tmp/initrd-2.6.32-279.14.1.el6.x86_64.img.manifest.xml
[root@frontend centos-6.3-x86_64]#
euca-upload-bundle -b centos-ramdisk-bucket -m /tmp/initrd-2.6.32-279.14.1.el6.x86_64.img.manifest.xml

Checking bucket: centos-ramdisk-bucket
Creating bucket: centos-ramdisk-bucket
Uploading manifest file
Uploading part: initrd-2.6.32-279.14.1.el6.x86_64.img.part.00
Uploaded image as centos-ramdisk-bucket/initrd-2.6.32-279.14.1.el6.x86_64.img.manifest.xml
[root@frontend centos-6.3-x86_64]#
euca-register centos-ramdisk-bucket/initrd-2.6.32-279.14.1.el6.x86_64.img.manifest.xml

IMAGE eri-B59B32EF
[root@frontend centos-6.3-x86_64]#
euca-bundle-image -i centos-6.3-x86_64.img --kernel eki-FAE037C8 --ramdisk eri-B59B32EF

Checking image
Compressing image
Encrypting image
Splitting image...
Part: centos-6.3-x86_64.img.part.00
Part: centos-6.3-x86_64.img.part.01
Part: centos-6.3-x86_64.img.part.02
Part: centos-6.3-x86_64.img.part.03
Part: centos-6.3-x86_64.img.part.04
Part: centos-6.3-x86_64.img.part.05
Part: centos-6.3-x86_64.img.part.06
Part: centos-6.3-x86_64.img.part.07
Part: centos-6.3-x86_64.img.part.08
Part: centos-6.3-x86_64.img.part.09
Part: centos-6.3-x86_64.img.part.10
Part: centos-6.3-x86_64.img.part.11
Part: centos-6.3-x86_64.img.part.12
Part: centos-6.3-x86_64.img.part.13
Part: centos-6.3-x86_64.img.part.14
Part: centos-6.3-x86_64.img.part.15
Part: centos-6.3-x86_64.img.part.16
Part: centos-6.3-x86_64.img.part.17
Part: centos-6.3-x86_64.img.part.18
Part: centos-6.3-x86_64.img.part.19
Generating manifest /tmp/centos-6.3-x86_64.img.manifest.xml
[root@frontend centos-6.3-x86_64]#
euca-upload-bundle -b centos-image-bucket -m /tmp/centos-6.3-x86_64.img.manifest.xml

Checking bucket: centos-image-bucket
Creating bucket: centos-image-bucket
Uploading manifest file
Uploading part: centos-6.3-x86_64.img.part.00
Uploading part: centos-6.3-x86_64.img.part.01
Uploading part: centos-6.3-x86_64.img.part.02
Uploading part: centos-6.3-x86_64.img.part.03
Uploading part: centos-6.3-x86_64.img.part.04
Uploading part: centos-6.3-x86_64.img.part.05
Uploading part: centos-6.3-x86_64.img.part.06
Uploading part: centos-6.3-x86_64.img.part.07
Uploading part: centos-6.3-x86_64.img.part.08
Uploading part: centos-6.3-x86_64.img.part.09
Uploading part: centos-6.3-x86_64.img.part.10
Uploading part: centos-6.3-x86_64.img.part.11
Uploading part: centos-6.3-x86_64.img.part.12
Uploading part: centos-6.3-x86_64.img.part.13
Uploading part: centos-6.3-x86_64.img.part.14
Uploading part: centos-6.3-x86_64.img.part.15
Uploading part: centos-6.3-x86_64.img.part.16
Uploading part: centos-6.3-x86_64.img.part.17
Uploading part: centos-6.3-x86_64.img.part.18
Uploading part: centos-6.3-x86_64.img.part.19
Uploaded image as centos-image-bucket/centos-6.3-x86_64.img.manifest.xml
[root@frontend centos-6.3-x86_64]#
euca-register centos-image-bucket/centos-6.3-x86_64.img.manifest.xml

IMAGE emi-58E13B1A
Matched Content