Configuring Open Source Private Cloud

Asked By 20 points N/A Posted on -
qa-featured

I am doing a research on setting up and operating a private cloud using Open Source Cloud Computing software. This is less expensive than hiring a cloud hosting company. And also, we don’t have enough security issues in any case. So I am seeking your help here.

I need the steps in configuring an Open Source private cloud, the installation procedures for different servers and client and all the requirements needed.
 
Thank you in advance.
SHARE
Best Answer by wakish
Best Answer
Best Answer
Answered By 0 points N/A #97013

Configuring Open Source Private Cloud

qa-featured

These are steps below I found helpful to set up.

Step 1: Prepare a raw Ubuntu OS system. 
 
Install Ubuntu 9.04 on a machine. Select ssh server to be installed on the machine by default, so we can connect to machine remotely.
 
Step 2: Install postfix. 
 
Postfix is a mail server. Eucalyptus sends mails to users that are added by admin on Eucalyptus web interface. So we install postfix that Eucalyptus will use as mail server.
 
Steps to install postfix and to setup configurations and testing successful Postfix installation
 
Command# apt-get install postfix
 
Set configurations
 
Command# sudo dpkg-reconfigure postfix
 
Set following parameters with given values.
 
General type of mail configuration: Internet Site
 
NONE doesn't appear to be requested in current config
 
System mail name: server1.example.com
 
Root and postmaster mail recipient: <admin_user_name> (Optional)
 
Other destinations for mail: server1.example.com, example.com, localhost.example.com, localhost
 
Force synchronous updates on mail queue?: No
 
Local networks: 127.0.0.0/8
 
Yes doesn't appear to be requested in current config
 
Mailbox size limit (bytes): 0
 
Local address extension character: +
 
Internet protocols to use: all
 
Test postfix installation
 
Command# EHLO localhost
 
Mail from: root@localhost
 
 
Data
 
Subject: your sub (press enter twice)
 
Type your message and finish with "." then Enter
 
Finish with "Quit"
 
Check your mail (if received your mail is working)
 
Step 3 Install Cloud and Cluster controller
 
Install the packages provided by Ubuntu, all the dependencies will be installed automatically by package manager.
 
Command# apt-get install eucalyptus-cloud eucalyptus-cc
 
Step 4 Install dhcp server
 
Install the DHCP server which is used by eucalyptus for assigning the IPs to instances. DHCP server should not be in running state and set the DHCP server not to run when system is booted up again.
 
Command# apt-get install dhcp3-server
 
Command# /etc/init.d/dhcdbd stop
 
Command# update-rc.d -f dhcdbd remove
 
Set the DHCP server path in the eucalyptus config file '/etc/eucalyptus/eucalyptus.conf'
 
VNET_DHCPDAEMON="/usr/sbin/dhcpd3"
 
Step 5 Eucalyptus configuration
 
Set the static mode for Eucalyptus so that Eucalyptus uses IP's from the pool of IP's provided in the config file and use the machine addresses provided along with IPs.
 
Configuration file for eucalyptus is '/etc/eucalyptus/eucalyptus.conf'
 
Open /etc/eucalyptus/eucalyptus.conf and set the following parameters
 
VNET_INTERFACE="peth0"
 
VNET_BRIDGE="eth0"
 
Locate 'kvm' and replace to 'xen'
 
Locate VNET_MODE="SYSTEM" and disable it
 
Locate VNET_MODE="STATIC" and enable it
 
Add machine and IPs for instances to be used and change the network setting to current network settings.
 
VNET_MODE="STATIC"
 
VNET_SUBNET="192.168.145.0"
 
VNET_NETMASK="255.255.255.0"
 
VNET_BROADCAST="192.168.145.255"
 
VNET_ROUTER="192.168.145.1"
 
VNET_DNS="192.168.150.42"
 
VNET_MACMAP="AA:DD:11:CE:FF:ED=192.168.145.73 AA:DD:11:CE:FF:EE=192.168.145.75
 
AA:DD:11:CE:FF:EF=192.168.145.77"
 
Step 6 Other configurations
 
Edit : /usr/share/eucalyptus/gen_libvirt_xml
 
Locate all 'sda' to 'xvda'
 
Edit : /etc/xen/xend-config.sxp
 
(xend-http-server yes)
 
Gateway = 192.168.145.1
 
Netmask = 255.255.255.0
 
Broadcast = 192.168.145.255
 
Step 7 Reboot the system to take effect
 
Step 8 Cloud configurations
 
Once Eucalyptus front end has been installed, we can use the Eucalyptus web interface and setup cluster and set other parameters.
 
Eucalyptus cloud web URL: https://<front end ip>:8443/
 
Under configuration tab add cluster name
 
Set host to 'localhost'
 
Create kernel and ramdisk images and set in eucalyptus site. (Procedure to create images will be described later in the page)
 
Restart the Eucalyptus daemon to take effect.
Answered By 0 points N/A #197352

Configuring Open Source Private Cloud

qa-featured

Good day,

OpenStack is a global collaboration of developers and cloud computing technologists producing the ubiquitous open source cloud computing platform for public and private clouds. The project aims to deliver solutions for all types of clouds by being simple to implement, massively scalable, and feature rich. The technology consists of a series of interrelated projects delivering various components for a cloud infrastructure solution.

Regards,

Jacksonn Maria

Related Questions