Collapse AllExpand All

Install on CentOS 5

If you plan to install Eucalyptus HA, we recommend that you install each Eucalyptus component on a separate host. For example, if you are installing CLC, Walrus, CC, and SC, you will install each of these components on a separate host. You will also install each secondary component (the secondary CLC, Walrus, CC, and SC) on a separate host. In this case, you will need eight machines. Each additional cluster needs four more machines for its CCs and SCs. This does not account for NCs, which are not redundant.
To install Eucalyptus on servers running CentOS 5:

  1. Configure the Euca2ools package repository on each host that will run a Eucalyptus component or Euca2ools:
    rpm -Uvh http://downloads.eucalyptus.com/software/euca2ools/2.1/centos/5/x86_64/euca2ools-release-2.1.noarch.rpm
  2. Configure the Eucalyptus package repository on each host that will run a Eucalyptus component:
    rpm -Uvh http://downloads.eucalyptus.com/software/eucalyptus/3.1/centos/5/x86_64/eucalyptus-release-3.1.noarch.rpm
  3. Configure the EPEL package repository on each host that will run a Eucalyptus component or Euca2ools:
    rpm -Uvh http://downloads.eucalyptus.com/software/eucalyptus/3.1/centos/5/x86_64/epel-release-5.noarch.rpm
  4. If you have a Eucalyptus subscription, you will have received a package that grants you access to VMware and SAN components. If you wish to use either of these components, install this package on each host that will run a Eucalyptus component using the following command. Otherwise, skip this step.
    rpm -Uvh eucalyptus-enterprise-release-3.1*.noarch.rpm
  5. If your planned Walrus host runs a Xen kernel, install the kmod-drbd83-xen package on that host. Otherwise, skip this step.
    yum install kmod-drbd83-xen
  6. Install the Eucalyptus cloud controller software on each planned CLC host:
    yum groupinstall eucalyptus-cloud-controller
  7. Install the Eucalyptus node controller software on each planned NC host. Clouds that use the VMware hypervisor do not have NCs; if you plan to use VMware then skip this step.
    yum install eucalyptus-nc
  8. Install the software for the remaining Eucalyptus components. The following example shows most components being installed on the same host. We recommend using different hosts for each component.
    yum install eucalyptus-cc eucalyptus-sc eucalyptus-walrus
  9. If you have a Eucalyptus subscription and plan to use the VMware hypervisor, install the Eucalyptus VMware broker software on each CC host:
    yum install eucalyptus-enterprise-vmware-broker
  10. If you have a Eucalyptus subscription and plan to use Eucalyptus's SAN capabilities, install the Eucalyptus SAN adapter software on each SC host:
    yum install eucalyptus-enterprise-storage-san
  11. After you have installed Eucalyptus, test multicast connectivity between each CLC and Walrus, SC, and VMware broker host.
    1. Run the following receiver command on the CLC:
      java -classpath /usr/share/eucalyptus/jgroups-2.11.1.Final.jar org.jgroups.tests.McastReceiverTest -mcast_addr 224.10.10.10 -port 5555
    2. Once the receiver command blocks, simultaneously run the following sender command on each Walrus host:
      java -classpath /usr/share/eucalyptus/jgroups-2.11.1.Final.jar org.jgroups.tests.McastSenderTest -mcast_addr 224.10.10.10 -port 5555
      The two applications should be able to connect and arbitrary lines entered on the sender should appear on the receiver.
    3. Repeat the previous step on each SC host and VMware broker host.
    4. If you are installing an HA environment, repeat these tasks with the second CLC.

Your installation is complete.

You are now ready to Configure Eucalyptus.