Collapse AllExpand All

Installing Eucalyptus Nightly Packages on RHEL 5

To install Eucalyptus nightly builds on servers running RHEL 5

  1. Run the following command on all servers:
    wget http://downloads.eucalyptus.com/software/eucalyptus/
    nightly/3.1/rhel/5/x86_64/eucalyptus-release-nightly-3.1.noarch.rpm
    rpm -Uvh eucalyptus-release-3.1.noarch.rpm
  2. On all systems that will run either Eucalyptus or Euca2ools, run the following command:
    wget http://downloads.eucalyptus.com/software/euca2ools/
    nightly/2.1/rhel/5/x86_64/euca2ools-release-2.1.noarch.rpm
    rpm -Uvh euca2ools-release-2.1.noarch.rpm
  3. Enable the Cluster-Storage repository in Red Hat Network for each SC:
    1. Go to https://rhn.redhat.com
    2. Navigate to the system that will run the SC.
    3. Click Alter Channel Subscriptions.
    4. Make sure the RHEL Cluster Storage checkbox is checked.
    5. Click Change Subscriptions.
  4. Enable the Virtualization repository in Red Hat Network for each NC:
    1. On http://rhn.redhat.com, navigate to the system that will run the NC.
    2. Click Alter Channel Subscriptions.
    3. Make sure the RHEL Virtualization checkbox is checked.
    4. Click Change Subscriptions.
  5. On the machine(s) that will run Walrus, create a file in /etc/yum.repos.d called centos-extras.repo with the following content:
    [centos-extras]
    name=CentOS 5 - Extras
    mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extras
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
    gpgcheck=1
  6. Download the key that CentOS uses to sign their packages:
    wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
  7. Copy the resulting file to /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5:
    mv RPM-GPG-KEY-CentOS-5 /etc/pki/rpm-gpg
  8. Configure the EPEL repository:
    1. Go to http://fedoraproject.org/wiki/EPEL
    2. Navigate to How can I use these extra packages? and select the newest version for EPEL5.
    3. Click the package link to download the RPM.
    4. Install the resultant RPM package with the following command, as root:
      rpm -Uvh epel-release-X-Y.noarch.rpm
  9. On all servers, enter:
    yum update
  10. If your planned Walrus server is running Xen (possible, but not recommended), install kmod-drbd83-xen package. Otherwise, skip this step.
    yum install kmod-drbd83-xen
  11. Install Eucalyptus packages. The following example shows most components being installed all on the same server. You can use different servers for each component.
    yum install eucalyptus-cloud eucalyptus-cc eucalyptus-sc eucalyptus-walrus
    High Availability
    High Availability
    If you are deploying HA, you must install these packages on pairs of systems. For instance, “eucalyptus-cloud” is installed on the primary CLC and the secondary CLC.
  12. On each planned NC server, install the NC package:
    yum install eucalyptus-nc 
    Important
    Important
    If you are using VMware, you can skip this step. Eucalyptus software is not installed on these machines. They are running VMware.
  13. After you have installed Eucalyptus, test multicast connectivity between the CLC and Walrus, SC, and the VMware Broker.
    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 Walrus:
      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 the SC and then on the VMware Broker.
      High Availability
      High Availability
      If you are installing an HA environment, repeat these tasks on secondary CLC, Walrus, SC, and VMware Broker.

Your installation is complete.

You are now ready to Configure Eucalyptus.