||<
><>|| == Overview == This tutorial covers UEC installation by adding the Eucalyptus packages to previously installed Ubuntu 10.04 servers where you want to have separate servers for the following services: * 1 Cloud Controller (CLC - eucalyptus-cloud) server * 1 Walrus Controller (WS3 - eucalyptus-walrus) server * N Cluster Controller (CC - eucalyptus-cc) + Storage Controller (EBS - eucalyptus-sc) servers * N Node Controller (NC - eucalyptus-nc) servers on a dedicated network connected to on of the CC+EBS server == Objective == From this tutorial, you will learn how to install, configure, register and perform several operations on a advanced UEC setup that results in a cloud as described in the above section. This topology is recommended if you would like to build a generic purpose scalable cloud. Our current testing indicate that a given cluster should limit itself to the management of up to 250 instances. == Tutorial == === STEP 1: Prerequisites === To deploy a minimal cloud infrastructure, you’ll need at least 4 dedicated systems: * 1 CLC * 1 WS3 * 1 CC + EBS * 1 NC <> === STEP 2a: Install the Cloud Controller Server === <> 1. Install the eucalyptus-cloud package on the server {{{ sudo apt-get install eucalyptus-cloud }}} Answer debconf's questions as follow: * Configure postfix for ''internet'' delivery 1. Make sure process eucalyptus-cloud is running {{{ ps -ef | grep eucalyptus-cloud }}} === STEP 2b: Install the Cluster Controller Server(s) === <> 1. Install the eucalyptus-cc and eucalyptus-sc packages on the server {{{ sudo apt-get install eucalyptus-cc eucalyptus-sc }}} Answer debconf's questions as follow: * Configure postfix for ''internet'' delivery * Name your cluster * e.g. cluster1 * Add a list of available IP addresses on your external (public) network * e.g. 192.168.1.200-192.168.1.249 1. Configure the second network interface {{{ sudo apt-get install bridge-utils vtun interface=eth1 bridge=br1 sudo sed -i "s/^iface $interface inet \(.*\)$/iface $interface inet manual\n\nauto $bridge\niface $bridge inet \1/" /etc/network/interfaces sudo tee -a /etc/network/interfaces < by editing the following 3 variables, the third one (VNET_CLOUDIP) needing to be added manually: {{{ VNET_PUBINTERFACE="eth0" VNET_PRIVINTERFACE="br1" VNET_CLOUDIP="" }}} 1. Edit ''/etc/eucalyptus/eucalyptus-ipaddr.conf'' so that the following variable are set to the internal (private) ip address of the server {{{ CC_IP_ADDR="" SC_IP_ADDR="" }}} 1. Restart the service with a config reinitialisation {{{ sudo restart eucalyptus-cc CLEAN=1 sudo restart eucalyptus-sc }}} 1. Make sure processes eucalyptus-cc and eucalyptus-sc are running {{{ ps -ef | grep eucalyptus- }}} === STEP 2c: Install the Walrus Controller Server === <> 1. Install the eucalyptus-walrus package on the server {{{ sudo apt-get install eucalyptus-walrus }}} === STEP 3: Install and Configure the Node Controller(s) === Installing the Eucalyptus Node Service on a running Ubuntu system consists of doing the following on one or more systems: <> <> === STEP 4: Register the Cluster, Storage, and Walrus Servers === The cloud controller must be aware the storage (SC, WS3) and of the clusters controllers, so you will need to allow password-less authentication between the CLC and the other server and then register them. ==== SSH Key Authentication Setup ==== <> ==== Registration ==== To register the controllers on the CLC: 1. Register the WS3 server: {{{ sudo euca_conf --no-rsync --register-walrus }}} 1. Then for each of your CC: {{{ sudo euca_conf --no-rsync --register-cluster sudo euca_conf --no-rsync --register-sc }}} ''Note: If you get prompted for passwords, or receive errors from scp, you may need to revisit the key synchronization instructions at [[UEC/SSHKeyAuthSetup|SSH Key Authentication Setup]]'' 1. Then edit the ''/etc/eucalyptus/eucalyptus-ipaddr.conf'' to fill the 3 following variables appropriately with the ip address of the respective service, replacing the "$addr" value. If you have multiple CC and SC, you can specify multiple IP addresses separating them with a space. {{{ CC_IP_ADDR="$addr" WALRUS_IP_ADDR="$addr" SC_IP_ADDR="$addr" }}} 1. Finally restart the eucalyptus service on the CLC {{{ sudo service eucalyptus restart }}} ==== Verify Registration ==== Verify that the registration process was successful by running the following commands {{{ sudo euca_conf --list-walruses sudo euca_conf --list-scs sudo euca_conf --list-clusters }}} === STEP 5: Register the Node(s) === <> === STEP 6: Obtain Credentials === <> === STEP 7: Install an image from the store === <> === STEP 8: Run an Image === <> == More Information == <> == Glossary == <>