个人工具

UbuntuHelp:UEC/PackageInstall9.10

来自Ubuntu中文

跳转至: 导航, 搜索

Overview

This tutorial covers UEC installation by adding the Eucalyptus packages to previously installed Ubuntu 9.10 servers.

Objective

From this tutorial, you will learn how to install, configure, register and perform several operations on a basic UEC setup that results in a cloud with a one controller "front-end" and one node for running Virtual Machine (VM) instances.

Tutorial

STEP 1: Prerequisites

To deploy a minimal cloud infrastructure, you’ll need at least two dedicated systems:

  • a Front End
  • one or more Node(s)

<<Include(UEC/SystemRequirements)>>

STEP 2: Install the Cloud/Cluster/Storage/Walrus Front End Server(s)

  1. Install Ubuntu 9.10 Server
  2. Update to the most current state in the Ubuntu archive:
sudo apt-get update
sudo apt-get dist-upgrade
  1. Install the eucalyptus-cloud and eucalyptus-cc packages on the Front End:
sudo apt-get install eucalyptus-cloud eucalyptus-cc eucalyptus-walrus 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 network
  • e.g. 192.168.1.200-192.168.1.249

Note: Depending on the number of systems you will be setting up, you may not want to install all the above packages on the same system. For best results, have a look at some recommended topologies.

STEP 3: Install and Configure the Node Controller(s)

<<Include(UEC/NodeInstallation9.10)>>

STEP 4: Register the Cluster, Storage, and Walrus Servers

Cluster Registration

<<Include(UEC/ClusterRegistration9.10)>>

Storage Registration

<<Include(UEC/StorageRegistration9.10)>>

Walrus Registration

<<Include(UEC/WalrusRegistration9.10)>>

Verify the Registration

You may verify the registration in the logs:

tail -n1 /var/log/eucalyptus/*registration.log
==> /var/log/eucalyptus/cc-registration.log <==
SUCCESS: new cluster 'canyonedge' on host '192.168.1.122' successfully registered.

==> /var/log/eucalyptus/sc-registration.log <==
SUCCESS: new SC for cluster 'canyonedge' on host '192.168.1.122' successfully registered.

==> /var/log/eucalyptus/walrus-registration.log <==
SUCCESS: new walrus on host '192.168.1.122' successfully registered.

STEP 5: Register the Node(s)

<<Include(UEC/NodeRegistration9.10)>>

STEP 6: Obtain Credentials

<<Include(UEC/Credentials)>>

STEP 7: Install an image from the store

<<Include(UEC/GetAnImageFromStore)>>

STEP 8: Run an Image

<<Include(UEC/RunningImages)>> Your UEC cloud should now look similar to the following logical diagram: 模板:Http://pompone.cs.ucsb.edu/~nurmi/images/euca-topo-withinst.png

More Information

<<Include(UEC/MoreInfo)>>

Glossary

<<Include(UEC/Glossary)>>