Changes between Version 3 and Version 4 of Eucalyptus-1.5.2-Setup

Show
Ignore:
Timestamp:
02/04/10 22:30:39 (9 years ago)
Author:
ibaldin (IP: 98.26.55.18)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Eucalyptus-1.5.2-Setup

    v3 v4  
    11= Setting up Eucalyptus 1.5.2 with ORCA 2.1 = 
    22 
    3 This page explains how to setup and test Euca 1.5.2 for ORCA. We will begin by setting up a stock distribution, testing it, then applying ORCA-specific patches 
     3This page explains how to setup and test Euca 1.5.2 for ORCA. We will begin by setting up a stock distribution, testing it, then applying ORCA-specific patches. 
     4 
     5The idea is the Eucalyptus will set up slivers consisting of one or more VMs hanging off vlans, whose IDs orca specified at creation time. Then these slivers with vlans can be dynamically stitched to other slivers into a complete slice. Using Eucalyptus simplifies substrate setup compared to Xen. 
    46 
    57== Setting up stock Eucalyptus 1.5.2 == 
     
    1012 
    1113Each host should support hardware virtualization and be able to run kvm. The cluster will consist of a single head node and multiple compute nodes. The head node requires substantial disk space to store all VM filesystem images (if you plan to support many options). The head node can also act as a compute node and instantiate VMs on itself. These instructions however presume that the head node is not performing this function. 
     14 
     15The dataplane interfaces of the cluster should be plugged in into an ORCA-controllable switch (a Cisco 6509 in our case) to allow for the mapping of Euca-created vlans to other vlan segments. 
    1216 
    1317=== Software pre-requisutes === 
     
    2125==== Testing software pre-requisites ==== 
    2226 
    23  1. Test ntp on all hosts. Run ntpdc and verify the output is sane. At RENCI the configuration is simply adding  
     27The notes here are either for the head node [HN], the compute nodes [CN], or for all [ALL] 
     28 
     29 1. [ALL] Test ntp. Run ntpdc and verify the output is sane. At RENCI the configuration is simply adding  
    2430{{{ 
    2531server clock3.unc.edu 
    2632}}} 
    2733line to /etc/ntp.conf and restarting ntpd 
    28  1. Test vconfig and brctl: 
     34 1. [ALL] Test vconfig and brctl: 
    2935{{{ 
    3036$ vconfig add eth0 10 
     
    3339$ brctl show  
    3440}}} 
    35  1. Make sure kvm is OK: 
     41 1. [CN] Make sure kvm is OK: 
    3642{{{ 
    3743$ /etc/init.d/kvm restart 
    3844}}} 
    39  1. Make sure libvirtd is running: 
     45 1. [CN] Make sure libvirtd is running: 
    4046{{{ 
    4147$ /etc/init.d/libvirt-bin restart 
    4248$ virsh list 
    4349}}} 
     50 1. [CN] identify or create a default bridge for kvm/xen to use. Xen by default creates a bridge (xenbr0). KVM requires that a bridge is manually setup. 
    4451 
     52 
     53== Undoing an install == 
     54 
     55When things don't seem to work, fear not, there is a way to start from scratch: 
     56 
     57 1. Stop the euca daemons: 
     58[HN] 
     59{{{ 
     60$ /etc/init.d/eucalyptus-cc stop 
     61$ /etc/init.d/eucalyptus-cloud stop 
     62}}} 
     63[CN] 
     64{{{ 
     65$ /etc/init.d/eucalyptus-nc stop 
     66}}} 
     67 1. Remove eucalyptus packages (including config directories, if possible) 
     68[HN] 
     69{{{ 
     70$ dpkg --purge eucalyptus-cloud 
     71$ dpkg --purge eucalyptus-cc 
     72$ dpkg --purge eucalyptus-gl 
     73$ dpkg --purge eucalyptus-common 
     74$ dpkg --purge eucalyptus-javadeps 
     75}}} 
     76[CN] 
     77{{{ 
     78$ dpkg --purge eucalyptus-cc 
     79$ dpkg --purge eucalyptus-gl 
     80$ dpkg --purge eucalyptus-common 
     81}}} 
     82 1. Remove user eucalyptus from the system 
     83{{{ 
     84$ userdel -r eucalyptus 
     85$ groupdel eucalyptus 
     86}}} 
     87 1. Remove remnants of config and log directories 
     88{{{ 
     89$ rm -rf /etc/eucalyptus 
     90$ rm -rf /var/log/eucalyptus 
     91}}} 
     92 1. Sometimes you may need to fix dpkg state 
     93{{{  
     94$ vi /var/lib/eucalyptus/statoverride 
     95}}} 
     96and remove the line that mentions 'eucalyptus' 
     97 1. Start over