[[EucalyptusInstallationOpensuse_v1.6]]


*Installing Eucalyptus (1.6) on openSUSE 11 [#n4834373]
*openSUSE 11にEucalyptus(1.6)をインストールする [#i19c5649]

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
**Prerequisites [#d2a00c27]
**前提条件 [#n939f327]
If you start with a standard openSUSE installation, you will satisfy all prerequisites with the following steps:

CentOS の標準的なインストールを行った後は、Eucalyptus の動作条件を満たすために、次の作業を行います。

-Front-end, node and client machine system clocks are syncronized (i.e. using NTP).
-フロントエンド、ノード、およびクライアントの各マシンの間で(NTPなどで)時刻を同期します
 sntp -P no -r pool.ntp.org
 yast2 -i ntp
 /etc/init.d/ntp restart
-Install all dependency packages that are required for Eucalyptus to run on the front-end
-フロントエンドでEucalyptusの実行に必要なパッケージをインストールします
 yast2 -i apache2 apache2-prefork java-1_6_0-openjdk java-1_6_0-openjdk-devel libvirt curl vlan dhcp-server bridge-utils
and on the node~
ノードでEucalyptusの実行に必要なパッケージをインストールします
 yast2 -i xen libvirt vlan apache2
-Node has a fully installed and configured installation of Xen.
-ノードではXenがインストールされ設定されていることが必要です
--RECOMMENDED: verify your Xen installation by manually bringing up a VM and testing that it has network connectivity using bridged networking.
--推奨:Xenをインストールし、VMが起動され、ブリッジモードでのネットワーク疎通を確認することをお勧めします
--To set up bridged networking on your node, use the 'yast2' command and go through the following steps:
--ノードでブリッジモードを設定するには、'yast2'コマンドを実行し、以下のように操作します
---Network Devices
---Network Devices を選択
---Network Settings
---Network Settings を選択
---Select 'OK' to get past information box
---'OK' を選択して情報ダイアログをスキップ
---Traditional Method with ifup
---Traditional Method with ifup を選択
---Overview
---Overview を選択
---Add
---Add を選択
---Device Type: Bridge
---Device Type: Bridge を選択
---Next
---Next を選択
---Bridged Devices: select eth0 (or the name of your primary interface)
---Bridged Devices: eth0 (もしくはノードのプライマリインターフェイス)を選択
---Next
---Next を選択
---Continue
---Continue を選択
---Ok
---Ok を選択
--make sure that the libvirt daemon (libvirtd) is running and configured properly
--libvirt daemon (libvirtd)が正しく設定され、動作していることを確認します
---/etc/init.d/libvirtd start
---check eucalyptus can interact with libvirt
---eucalyptusが正しくlibvirtと連携できているかを確認
 su eucalyptus -c "virsh list"
you may see this error (which could show up in the logs too)
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.
which is harmless.~
上記のメッセージには実害はありません

-Firewall rules must permit the Eucalyptus components to communicate with one another, and clients to communicate with Eucalyptus.
-FirewallはEucalyptusの各コンポーネントがお互いに通信できるよう設定する必要があります。またクライアントがEucalyptus(訳注:フロントエンド)と通信できるように設定する必要があります。
--NOTE: on the front-end, ports 8443, 8773, 8774 and 9001 must be open. On the node, port 8775 must be open
--注意:フロントエンドではポート8443, 8773, 8774, 9001番を開ける必要があります。ノードではポート8775番を開ける必要があります。
--If you are planning on using Elastic IPs and/or Security Groups, you may want to consider disabling the firewall and use Eucalyptus facilities for enabling custom firewall rules (see Network configuration for more information).
--Elastic IP、セキュリティグループを使う場合には、フロントエンド、ノードの双方でファイアーウォールは無効にするのがよいでしょう。この場合Eucalyptusが自動的にファイアーウォール設定を行います(詳細は[[ネットワーク設定>EucalyptusNetworking_v1.6]]を参照してください)。
---yast2 firewall startup manual
---/etc/init.d/SuSEfirewall2_init stop
---reboot
**Download and Install RPMs [#e0626f23]
**RPMのダウンロードとインストール [#sdff1415]
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:

Eucalyptusバイナリインストールは共通のパッケージの他に、いくつかの個別パッケージ(CLC,Walrus,CCなど)のインストールに分けられます。パッケージのダウンロード方法は以下の2つがあります。

-Zypper option: packages are available from our repository. To use it:
-Zypperを使用したインストール:Eucalyptusチームのyumリポジトリからパッケージをインストールすることができます。以下のようにコマンドを実行します
 zypper ar --refresh http://www.eucalyptussoftware.com/downloads/repo/eucalyptus/$VERSION/yum/opensuse Eucalyptus
answer question about trusting packages from this repository then refresh it
answer question about trusting packages from this repository then refresh it~
Eucalyptusリポジトリを信頼するかどうかの質問に回答し、リポジトリ情報を更新してください
 zypper refresh Eucalyptus
and now install eucalyptus on the front-end
and now install eucalyptus on the front-end~
その後、以下のコマンドでEucalyptusコンポーネントをフロントエンドにインストールします
 zypper install eucalyptus-cloud eucalyptus-cc eucalyptus-walrus eucalyptus-sc 
or the node
or the node~
ノードでは以下のようにインストールします
 zypper install eucalyptus-nc 
-Tarball option: the packages are available in a single tarball, wherein we also include copies of third-party openSUSE packages that Eucalyptus depends on (Rampart, Axis2C, many Java libraries), at http://open.eucalyptus.com/downloads (look for a openSUSE tarball of the right Eucalyptus version and architecture). Untar the bundle in a temporary location:
-Tarballを使用したインストール:Eucalyptusの動作に必要なサードパーティ製のパッケージ(Rampart, Axis2C, 様々なJavaライブラリ)を含むパッケージを1つのtarballからインストールすることができます。http://open.eucalyptus.com/downloads からダウンロードすることができます。(openSUSE用の正確なパッケージをダウンロードするようにしてください) 適当な作業ディレクトリで、以下のようにtarballを展開してください。
 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:
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:~
以下の例ではマシンタイプx86_64のパッケージをインストールしていますが、お使いのマシンタイプが32ビットアーキテクチャの場合はi386、もしくはi586に置き換えてください。フロントエンドにEucalyptusの動作に必要なサードパーティ製のパッケージをインストールするには以下のようにします。
 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:
Install the -cloud, -walrus, -cc and -sc RPMs on the front end:~
フロントエンドへのEucalyptusコンポーネント(CLC(-cloud), Walrus, CC, SC)のRPMパッケージをインストールするには以下のようにします。
 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 RPMs on the nodes [#k78c0ea7]
Install the dependency packages on each node:
**ノードへのRPMパッケージのインストール [#v1ba7e0b]
Install the dependency packages on each node:~
各ノードにEucalyptusの動作に必要なサードパーティ製のパッケージをインストールするには以下のようにします。
 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:
On the compute nodes, install the node controller RPM with dependencies:~
ノードにEucalyptusコンポーネント(NC)のRPMパッケージをインストールするには以下のようにします。
 rpm -Uvh eucalyptus-$VERSION-*.x86_64.rpm \
         eucalyptus-gl-$VERSION-*.x86_64.rpm \
         eucalyptus-nc-$VERSION-*.x86_64.rpm
**Post-Install Steps [#jf8f1d6a]
Now start up your Eucalyptus services. On the front-end:
**インストール後の作業 [#q0125382]
Now start up your Eucalyptus services. On the front-end:~
ではフロントエンドでEucalyptusを起動します。
 /etc/init.d/eucalyptus-cloud start
 /etc/init.d/eucalyptus-cc start
On the node:
On the node:~
ノードでは以下のように起動します
 /etc/init.d/eucalyptus-nc start

戻る:[[CentOS 5でのEucalyptusのインストール>EucalyptusInstallationCentos_v1.6]]

進む:[[Debian SqueezeでのEucalyptusのインストール>EucalyptusInstallationDebianSqueeze_v1.6]]


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS