9. 何も考えずにやってみた
[root@eucalyptus ~]# uname -a
Linux eucalyptus 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22
03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@eucalyptus ~]# bash <(curl -Ls eucalyptus.com/install)
NOTE: if you're running on a laptop, you might want to make
sure that
you have turned off sleep/ACPI in your BIOS. If the laptop
goes to sleep,
virtual machines could terminate.
Continue? [Y/n]
y
[Precheck] Checking root
[Precheck] OK, running as root
[Precheck] Checking curl version
[Precheck] OK, curl is up to date
WARNING: we recommend at least 100G of disk space
available
in /var for a Eucalyptus Faststart installation. Running with
less disk space may result in issues with image and volume
management, and may dramatically reduce the number of
instances
your cloud can run simultaneously.
Your free space is: 46G
Continue? [y/N]
y
パッケージ
eucalyptus はインストールされていません。
[Precheck] Checking OS
[Precheck] OK, OS is supported
パッケージ
PackageKit はインストールされていません。
パッケージ
NetworkManager はインストールされていません。
[Precheck] Checking hardware virtualization
[Precheck] OK, processor supports virtualization
[Precheck] Checking if Chef Client is installed
which: no chef-solo in (/usr/local/sbin:/usr/local/bin:/sbin:/
bin:/usr/sbin:/usr/bin:/root/bin)
=====
[INFO] Chef not found. Installing Chef Client
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent Left
Speed
100 18285 100 18285 0 0 10718 0 0:00:01 0:00:01
--:--:-- 24315
10. たぶんみんなが見ないだろう
途中経過をよく見ると
[Precheck] Checking if Chef Client is installed
which: no chef-solo in (/usr/local/sbin:/usr/
local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
=====
[INFO] Chef not found. Installing Chef Client
Eucalyptusのインストーラって
Chef使ってるんだ!
11. 設定に必要な項目
を入力してゆく
[Prep] Tarring up cookbooks
=====
Welcome to the Faststart installer!
We're about to turn this system into a single-system Eucalyptus
cloud.
Note: it's STRONGLY suggested that you accept the default values
where
they are provided, unless you know that the values are incorrect.
What's the physical NIC that will be used for bridging? (eth0)
18. eucadev.mdを見てみる(1)
[root@eucalyptus eucalyptus]# cat eucadev.md
### **eucadev** ➠ _tools for Eucalyptus developers and
testers_
These tools allow one to deploy a Eucalyptus cloud—in a
Vagrant-provisioned VM or in a cloud instance from AWS or
Eucalyptus—with minimal effort. Currently, only single-node
installations in virtual resources are supported, but we have
plans to support multiple nodes, bare-metal provisioining,
and more.
同じことが↓に
https://github.com/eucalyptus/eucalyptus-cookbook/blob/
master/eucadev.md
20. eucadev.mdを見てみる(2)
### Dev/test environment in a VirtualBox VM
This method produces a dev/test environment in a single virtual machine, with all
Eucalyptus components deployed in it. By default, components will be built from latest
source, which can be modified and immediately tested on the VM. The source will be
located on a 'synced folder' (`eucalyptus-src`), which can be edited on the host system
but built on the guest system. Alternatively, you can install from latest packages, saving
time.
1. Install [VirtualBox](https://www.virtualbox.org)
2. Install [Vagrant](http://www.vagrantup.com/) >= 1.5.2
3. Install [git](http://git-scm.com)
4. Install [ChefDK](https://downloads.chef.io/chef-dk/)
5. Install vagrant plugins
$ vagrant plugin install vagrant-berkshelf --plugin-version '>= 2.0.1'
$ vagrant plugin install vagrant-omnibus
21. eucadev.mdを見てみる(3)
6. Check out [eucadev](https://github.com/eucalyptus/eucalyptus-cookbook/
eucadev.md) (ideally [fork](http://help.github.com/fork-a-repo/) it and clone the fork to
your local machine, so you can contribute):
$ git clone https://github.com/eucalyptus/eucalyptus-cookbook.git
7. *Optionally:* Check the default parameters in `eucadev/Vagrantfile` and `eucadev/
roles/cloud-in-a-box.json`
* `install-type` is `"source"` by default. Set the value to `"packages"` for an RPM-based
installation, which can take less than half the time of a source install (e.g., 20 min
instead of 48), but won't allow you to edit and re-deploy code easily.
* In Vagrantfile, `memory` is 3GB (`3072`) by default. For a source-based install without
a Web console, you may be able to get away with less, such as 1GB. Giving the VM
more should improve performance.
8. Start the VM and wait for eucadev to install Eucalyptus in it (may take a long time,
_20-60 min_ or more):
$ cd eucadev; vagrant up