CentOS 6
Sponsored Link

Eucalyptus - Install#1 - Configure Control Server2013/02/24

 
Configure Cloud Conputing Environment by Eucalyptus.
Eucalyptus is composed some componets below.
CLC (Cloud Controller)
⇒   he controls Cloud

Walrus
⇒   he manages virtual machine images

SC (Storage Controller)
⇒   he manages storage volumes

CC (Cluster Controller)
⇒   he manages netwoking

NC (Node Controller)
⇒   he controls Hypervisors
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 )
Configure Control Server first on here.
[1]
Configure and run DHCP Server first because this example configure Eucalyptus' networking as SYSTEM Mode.
[2] Add some repositories to install Eucalyptus.
[root@frontend ~]#
yum -y install \
http://downloads.eucalyptus.com/software/eucalyptus/3.2/centos/6/x86_64/eucalyptus-release-3.2.noarch.rpm \
http://downloads.eucalyptus.com/software/eucalyptus/3.2/centos/6/x86_64/elrepo-release-6.noarch.rpm \
http://downloads.eucalyptus.com/software/euca2ools/2.1/centos/6/x86_64/euca2ools-release-2.1.noarch.rpm
[3] Install Components.
# enable EPEL

[root@frontend ~]#
yum --enablerepo=epel -y install eucalyptus-cloud eucalyptus-walrus eucalyptus-sc eucalyptus-cc euca2ools openssh-clients
[root@frontend ~]#
vi /etc/eucalyptus/eucalyptus.conf
# line 22: uncomment

CREATE_SC_LOOP_DEVICES=256
# line 165: change

VNET_MODE="
SYSTEM
"
# line 204,205: uncomment and change ( specify IP range and subnetmask to assign IP address for instances )

VNET_SUBNET="
10.0.0.0
"
VNET_NETMASK="
255.255.255.0
"
[root@frontend ~]#
euca_conf --initialize

Initializing a new cloud. This may take a few minutes.
Initialize command succeeded
[root@frontend ~]#
/etc/rc.d/init.d/eucalyptus-cloud start

Starting Eucalyptus services: done.
[root@frontend ~]#
/etc/rc.d/init.d/eucalyptus-cc start

Starting Eucalyptus cluster controller: done.
Matched Content