EucalyptusInstallationDebianSqueeze_v1.6

Installing Eucalyptus (1.6) on Debian "squeeze"

Debian "squeeze"にEucalyptus(1.6)をインストールする

Eucalyptus can be installed on Debian squeeze using binary DEB packages. Squeeze has not been released yet, so things can change quickly and without warning.

Eucalyptus を Debian squeeze にインストールするには、バイナリの DEB パッケージを用いる方法があります。Squeezeはまだリリースされていないため、様々なものが予告なく変更されている場合があります。

Download DEBs

DEBのダウンロードとインストール

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. To install them, along with a significant number of dependencies, add our repository to the list of repositories for your system to use. To do so, add somewhere in /etc/apt/sources.list file the following line:

Eucalyptusバイナリインストールは共通のパッケージの他に、いくつかの個別パッケージ(CLC,Walrus,CCなど)のインストールに分けられます。インストールのためには、Eucalyptusコンポーネントおよび依存するパッケージを正しく解決するために、Eucalyptusチームが提供するリポジトリを使用してください。リポジトリの追加には、/etc/apt/sources.listに以下の内容を追加します。

For 1.6.1:
1.6.1の場合

deb http://eucalyptussoftware.com/downloads/repo/eucalyptus/1.6.1/debian/ squeeze contrib

For 1.6.2 (including release candidates):
1.6.2(およびリリース候補)の場合

deb http://eucalyptussoftware.com/downloads/repo/eucalyptus/1.6.2/debian/ squeeze main

And then run:
上記内容を追加した後に、以下のコマンドを実行します

apt-get update

After installation you may remove the entry from sources.list if you don't want to update Eucalyptus packages automatically.

Eucalyptusの自動アップデートを行わない場合は、/etc/apt/sources.listに加えた変更はインストール後に削除します

Prerequisites

前提条件

If you start with a standard Debian squeeze installation, you will satisfy all Eucalyptus prerequisites with the following steps:

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

  • Synchronize clocks (e.g., using NTP: ntpdate pool.ntp.org) across all Eucalyptus machines and client machines.
  • フロントエンド、ノード、およびクライアントの各マシンの間で時刻を同期します(例:NTPを使う場合は、コマンド"ntpdate pool.ntp.org"を実行する)
  • If using a firewall, permit the Eucalyptus components to communicate with one another, and permit 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番を開ける必要があります。
  • Ensure that locales are properly configured (use dpkg-reconfigure locales).
  • ロケールを正しく設定します。("dpkg-reconfigure locales"コマンドを実行します)
  • Install libvirt/qemu-kvm and configure it to run as user 'eucalyptus':
  • libvirt/qemu-kvmパッケージをインストールし、'eucalyptus'ユーザアカウントで実行できるように設定します
    sudo apt-get install libvirt-bin qemu-kvm
    # set the field user to be: user = "eucalyptus"
    sudo vi /etc/libvirt/qemu.conf
    # restart libvirt
    sudo /etc/init.d/libvirt-bin restart
  • If running in SYSTEM networking mode, which is the default, your node machine(s) must be configured with a bridge as the primary interface. For example, you may try:
  • SYSTEMネットワークモードで動作させる(この動作がデフォルトです)場合には、各ノードのプライマリインターフェイスをブリッジモードで動作させる必要があります。一例として、以下のように操作します
    sudo apt-get install bridge-utils
    sudo vi /etc/network/interfaces
    Comment out any entry for your existing interfaces (eth0, eth1, etc) and add a bridge entry with your interfaces attached. For example, to have your bridge come up with all physical Ethernet devices added to it, and have DHCP assign an address to the bridge, use:
    マシン上にある全ての物理インターフェイス設定をコメントアウトし、ブリッジの設定を追加します。例えば、マシン上にブリッジインターフェイスを起動し、全ての物理インターフェイスをそのブリッジインターフェイスにアタッチし、ブリッジインターフェイスにDHCPでIPアドレスを割り当てる設定は以下のようになります。
    auto br0
    iface br0 inet dhcp
         bridge_ports all
    For a static configuration with just eth0 attached (substitute your actual network parameters):
    1つのブリッジインターフェイスに物理インターフェイス eth0 しかアタッチしない場合は以下のように設定します
    auto br0
    iface br0 inet static
         address 192.168.12.20
         netmask 255.255.255.0
         network 192.168.12.0
         broadcast 192.168.12.255
         gateway 192.168.12.1
         dns-nameservers 192.168.12.1
         dns-search foobar foobar.com
         bridge_ports eth0
    Finally, restart the network by either by restarting the network with '/etc/init.d/network restart' or by rebooting the machine.
    最後に、'/etc/init.d/network restart'コマンドでネットワークを再起動するか、マシンを再起動します

Install DEBs on the front end

フロントエンドへのDEBパッケージのインストール

On front end, where cloud controller, Walrus, cluster controller, and storage controller will run, install the appropriate DEBs:
フロントエンド、つまりクラウド・コントローラ(CLC), Wlarus, クラスタ・コントローラ(CC), ストレージ・コントローラが動作するマシンには以下のようにインストールします。

aptitude install eucalyptus-common eucalyptus-cloud eucalyptus-walrus eucalyptus-sc eucalyptus-cc 

Install DEBs on the nodes

ノードへのDEBパッケージのインストール

On the compute nodes, install the node-controller DEB:
各ノードへは、以下のようにノード・コントローラのDEBパッケージをインストールします。

aptitude install eucalyptus-nc

(You may safely ignore the error adduser: The group 'libvirtd' does not exist.)
("グループ'libvirtd'が存在しない" というエラーは無視して構いません)

戻る:openSUSE 11にEucalyptus(1.6)をインストールする

進む:Ubuntu Jaunty 9.04でのEucalyptusのインストール


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-03-29 (月) 00:08:25 (5142d)