0% found this document useful (0 votes)
22 views4 pages

Eucalyptus - HTML: Centos 5.5 Mini Cloud Using Eucalyptus

This document summarizes the steps to set up a basic single-node Eucalyptus cloud on CentOS 5.5. It installs required packages like java, xen and eucalyptus components. It disables SELinux and firewall for simplicity. The Eucalyptus repositories are configured and cloud packages installed. Basic configuration of xend and iptables is done. This allows creation of a proof-of-concept single-node private cloud on CentOS for testing purposes.

Uploaded by

SaravanaRaajaa
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views4 pages

Eucalyptus - HTML: Centos 5.5 Mini Cloud Using Eucalyptus

This document summarizes the steps to set up a basic single-node Eucalyptus cloud on CentOS 5.5. It installs required packages like java, xen and eucalyptus components. It disables SELinux and firewall for simplicity. The Eucalyptus repositories are configured and cloud packages installed. Basic configuration of xend and iptables is done. This allows creation of a proof-of-concept single-node private cloud on CentOS for testing purposes.

Uploaded by

SaravanaRaajaa
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

http://auzietech.blogspot.in/2011/02/centos-55-mini-cloud-usingeucalyptus.

html

CentOS 5.5 Mini Cloud using Eucalyptus,


Based on, EucalyptusInstallationCentos_v2.0. I'll walk through my own version. This will be a single system at first but hopefully grow to at least a two node system. It doesn't take much to make xen/kvm happy any HT enabled machine from the LGA775's and up. Now like I noted earlier, I'm cramming allot into one node for now, though I may split the control half onto my Ubuntu box.. So some of this will be the same as the Euca docs other bits will be different. This writeup though will go from start to finish the most features possible plus a few guest images imported and created from scratch.
export VERSION=2.0.2

Depending on your base install this list will be larger or smaller.. First lets make sure somethings are installed. This install actually had the kvm and virtualizaiton groups installed already. However the Euca folks have some specific recommendations soo..
yum install -y ntp java-1.6.0-openjdk ant ant-nodeps dhcp bridge-utils perlConvert-ASN1.noarch scsi-target-utils httpd xen Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: linux.mirrors.es.net * base: centos.mirror.facebook.net * extras: mirror.5ninesolutions.com * updates: mirror.nwresd.org ... . .. --> Finished Dependency Resolution Dependencies Resolved ============================================================================= === Package Arch Version Repository Size ============================================================================= === Installing: ant i386 1.6.5-2jpp.2 base 2.0 M ant-nodeps i386 1.6.5-2jpp.2 base 794 k dhcp i386 12:3.0.5-23.el5_5.2 updates 868 k scsi-target-utils i386 0.0-6.20091205snap.el5_5.3 updates 142 k

Updating: httpd i386 M java-1.6.0-openjdk i386 M xen i386 M Installing for dependencies: libibverbs i386 k librdmacm i386 k openib noarch k perl-Config-General noarch k tzdata-java i386 k Updating for dependencies: httpd-manual i386 k mod_ssl i386 k xen-libs i386 k

2.2.3-43.el5.centos.3 1:1.6.0.0-1.16.b17.el5 3.0.3-105.el5_5.5 1.1.3-2.el5 1.0.10-1.el5 1.4.1-5.el5 2.40-1.el5 2010l-1.el5 2.2.3-43.el5.centos.3 1:2.2.3-43.el5.centos.3 3.0.3-105.el5_5.5

updates updates updates base base base base updates updates updates updates

1.2 37 1.9 45 23 20 68 177 814 91 159

Transaction Summary ============================================================================= === Install 9 Package(s) Upgrade 6 Package(s) Total size: 45 M Total download size: 37 M ... .. . Updating 6/21 Installing 7/21 Installing 8/21 Installing 9/21 Installing 10/21 Updating 11/21 Installing 12/21 Installing 13/21 Updating 14/21 Installing 15/21 : : : : : : : : : : xen dhcp openib

perl-Config-General tzdata-java httpd-manual libibverbs librdmacm java-1.6.0-openjdk scsi-target-utils

Cleanup 16/21 Cleanup 17/21 Cleanup 18/21 Cleanup 19/21 Cleanup 20/21 Cleanup 21/21 Installed: ant.i386 0:1.6.5-2jpp.2 ant-nodeps.i386 0:1.6.5-2jpp.2 dhcp.i386 12:3.0.5-23.el5_5.2 scsi-target-utils.i386 0:0.0-6.20091205snap.el5_5.3 Dependency Installed: libibverbs.i386 0:1.1.3-2.el5 openib.noarch 0:1.4.1-5.el5 tzdata-java.i386 0:2010l-1.el5

httpd-manual : : : httpd xen-libs mod_ssl

java-1.6.0-openjdk : xen

librdmacm.i386 0:1.0.10-1.el5 perl-Config-General.noarch 0:2.40-1.el5

Updated: httpd.i386 0:2.2.3-43.el5.centos.3 java-1.6.0-openjdk.i386 1:1.6.0.0-1.16.b17.el5 xen.i386 0:3.0.3-105.el5_5.5 Dependency Updated: httpd-manual.i386 0:2.2.3-43.el5.centos.3 mod_ssl.i386 1:2.2.3-43.el5.centos.3 xen-libs.i386 0:3.0.3-105.el5_5.5 Complete!

Before going further do yourself a favor and update!


]# yum -y upgrade

Now per the docs were going to disable a few things on Xen..
sed --in-place 's/#(xend-http-server no)/(xend-http-server yes)/' /etc/xen/xend-config.sxp sed --in-place 's/#(xend-address localhost)/(xend-address localhost)/' /etc/xen/xend-config.sxp /etc/init.d/xend restart

Also we need to make a few security changes, system-config-security-tui can help or just modify the files and reboot.. SELinux, (really we all need to learn how to make SELinux work for us but I'm with the Euca folks disable it for now.)
]# grep disable /etc/sysconfig/selinux # disabled - SELinux is fully disabled. SELINUX=disabled

And firewall, for peets sake just make em all the same.. If you really want each one to be different its up to you.
]# egrep "8443|8773|8774|9001|8775" /etc/sysconfig/iptables -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp ACCEPT --dport 8443 -j --dport 8773 -j --dport 8774 -j --dport 9001 -j --dport 8775 -j

Now here they say use export version.. I say write the darn version into the repo file..
]# cat /etc/yum.repos.d/euca.repo [euca] name=Eucalyptus baseurl=http://www.eucalyptussoftware.com/downloads/repo/eucalyptus/2.0.2/yum /centos/ enabled=1

Now again I divert from the doc, just because you install it doesn't mean it must be enabled.. My nodes will have everything but only one will be configured as a lead node.
yum install eucalyptus-cloud eucalyptus-nc --nogpgcheck eucalyptus-cc eucalyptus-walrus eucalyptus-sc

Ok, For now my node controller is an Ubuntu machine for this first attempt I'm going to just try the default packages..
# apt-get install eucalyptus-cc eucalyptus-cloud # sudo apt-get install bittorrent-gui bittorrent

This should trigger a rather large installation including all of the suggested packages from Euca's docs. Also apt/dpkgconf will ask alot of configuration questions..(I'll go over them later in a reinstall) I gave it a range from 100-150 of my local sub-net.. On the node you will also need this in both cases it was not installed by default and in the case of CentOS the quickest repository with it was rpmforge..
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release0.3.6-1.el5.rf.i386.rpm yum install bittorrent

I'll pick this backup / finish it shortly.. publishing it for now..

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy