EucalyptusInstallationOpensuse_v1.6
Eucalyptus can be installed on openSUSE 11 from source, or by using binary RPM packages. This document details the steps required to install Eucalyptus from RPMs. In what follows, the value of $VERSION must be substituted accordingly (e.g., as 1.6.1, 1.6.2, etc.) for example we can set the value of 1.6.2 using bash:
Eucalyptus を openSUSE 11 にインストールするには、ソースから行う方法と、バイナリの RPM パッケージを用いる方法があります。ここではRPMパッケージでインストールする手順について記述しています。以下の手順の中で記述されている$VERSIONはインストールするバージョンに置き換えてください。例えばbashの環境変数としてセットする場合には以下のようにします。
export VERSION=1.6.2
If you start with a standard openSUSE installation, you will satisfy all prerequisites with the following steps:
CentOS の標準的なインストールを行った後は、Eucalyptus の動作条件を満たすために、次の作業を行います。
sntp -P no -r pool.ntp.org yast2 -i ntp /etc/init.d/ntp restart
yast2 -i apache2 apache2-prefork java-1_6_0-openjdk java-1_6_0-openjdk-devel libvirt curl vlan dhcp-server bridge-utilsand on the node
yast2 -i xen libvirt vlan apache2
su eucalyptus -c "virsh list"you may see this error (which could show up in the logs too)
Attempting to obtain authorization for org.libvirt.unix.manage. polkit-grant-helper: given auth type (8 -> yes) is bogus Failed to obtain authorization for org.libvirt.unix.manage.which is harmless.
Eucalyptus binary installation is broken up into several packages: one for each of the components (CLC, Walrus, CC, etc.), as well as a couple of common packages. There are two options for obtaining the packages:
zypper ar --refresh http://www.eucalyptussoftware.com/downloads/repo/eucalyptus/$VERSION/yum/opensuse Eucalyptusanswer question about trusting packages from this repository then refresh it
zypper refresh Eucalyptusand now install eucalyptus on the front-end
zypper install eucalyptus-cloud eucalyptus-cc eucalyptus-walrus eucalyptus-scor the node
zypper install eucalyptus-nc
tar zxvf eucalyptus-$VERSION-*.tar.gz cd eucalyptus-$VERSION-*In the examples below we use x86_64, which should be replaced with i386 or i586 on 32-bit architectures. Install the third-party dependency RPMs on the front end:
cd eucalyptus-$VERSION*-rpm-deps-x86_64 rpm -Uvh aoetools-21-1.el4.x86_64.rpm \ euca-axis2c-1.6.0-1.x86_64.rpm \ euca-rampartc-1.3.0-1.x86_64.rpm \ vblade-14-1mdv2008.1.x86_64.rpm \ groovy-1.6.5-1.noarch.rpm \ vtun-3.0.1-1.x86_64.rpm cd ..Install the -cloud, -walrus, -cc and -sc RPMs on the front end:
rpm -Uvh eucalyptus-$VERSION-*.x86_64.rpm \ eucalyptus-common-java-$VERSION-*.x86_64.rpm \ eucalyptus-cloud-$VERSION-*.x86_64.rpm \ eucalyptus-sc-$VERSION-*.x86_64.rpm \ eucalyptus-walrus-$VERSION-*.x86_64.rpm \ eucalyptus-cc-$VERSION-*.x86_64.rpm \ eucalyptus-gl-$VERSION-*.x86_64.rpm
Install the dependency packages on each node:
cd eucalyptus-$VERSION*-rpm-deps-x86_64 rpm -Uvh aoetools-25-2.49.x86_64.rpm \ euca-axis2c-1.6.0-1.x86_64.rpm \ euca-rampartc-1.3.0-1.x86_64.rpm \ vblade-15-2.49.x86_64.rpm cd ..
On the compute nodes, install the node controller RPM with dependencies:
rpm -Uvh eucalyptus-$VERSION-*.x86_64.rpm \ eucalyptus-gl-$VERSION-*.x86_64.rpm \ eucalyptus-nc-$VERSION-*.x86_64.rpm
Now start up your Eucalyptus services. On the front-end:
/etc/init.d/eucalyptus-cloud start /etc/init.d/eucalyptus-cc start
On the node:
/etc/init.d/eucalyptus-nc start