Eucalyptus calendar 20141221

S
はじめての
Eucalyptus	
 
2014/12/21
MayumiK0
Eucalyptusといえば普通	
 
植物です
いやいや、ほんとそれ植物だからさ	
 
http://www.slideshare.net/shidat1234/eucalyptus-adventcalendar20141217
しかしここに世界一般の常識に
抗うひとりの漢がいた!	
 
♪雲の中のユーカリ
 VMはどこへ行った、見守られることもなく
世間の逆風にも負けず…	
 
2013のアドベントカレンダー
Eucalyptusを愛し続け啓蒙を
続けた結果
Eucalyptusにチャレンジする
勇者が増えたのである	
 
2014のアドベントカレンダー
導師曰く	
 
› bash <(curl -Ls eucalyptus.com/install)
すればいいだけだから!
何も考えずにやってみた
	
 
[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
たぶんみんなが見ないだろう
途中経過をよく見ると	
 
[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使ってるんだ!
設定に必要な項目
を入力してゆく	
 
[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)
ここから先は誰がやっても
同じになるはずなので割愛する	
 
12/02
http://giraffeforestg.blog.fc2.com/blog-
entry-187.html(@giraffeforestgさん)
12/20
http://tzpst.hatenablog.com/entry/
2014/12/20/182526(@saito_hidekiさん)
せっかくなのでchefを見てみる	
 
[root@eucalyptus ~]# pwd
/root
[root@eucalyptus ~]# ls
anaconda-ks.cfg cookbooks install.log node.json
ciab.json cookbooks.tgz install.log.syslog
Cookbookの中身(1)	
 
[root@eucalyptus cookbooks]# ls */*
eucalyptus/Berksfile ntp/CONTRIBUTING.md selinux/metadata.rb
eucalyptus/CHANGELOG.md ntp/Gemfile yum/Berksfile
eucalyptus/LICENSE ntp/LICENSE yum/CHANGELOG.md
eucalyptus/README.md ntp/README.md yum/
CONTRIBUTING.md
eucalyptus/Vagrantfile ntp/Rakefile yum/Gemfile
eucalyptus/bootstrap.json ntp/TESTING.md yum/Guardfile
eucalyptus/eucadev.md ntp/chefignore yum/LICENSE
eucalyptus/metadata.json ntp/metadata.rb yum/README.md
eucalyptus/metadata.rb selinux/CHANGELOG.md yum/Rakefile
eucalyptus/motherbrain.rb selinux/CONTRIBUTING yum/TESTING.md
ntp/Berksfile selinux/LICENSE yum/metadata.rb
ntp/CHANGELOG.md selinux/README.md
Cookbookの中身(2)	
 
eucalyptus/attributes:
default.rb
eucalyptus/environments:
edge-nightly.json
eucalyptus/eucadev:
post.sh prep.sh
eucalyptus/faststart:
HOWTO.txt get-started.txt nuke.json
README install-emis nuke.sh
ciab-template.json install-nc.sh simple-cloud-in-a-box.sh
cloud-in-a-box.sh new-nuke.sh tutorials
faststart-logger.priv node-template.json
eucalyptus/libraries:
enterprise.rb key-sync.rb
Cookbookの中身(3)	
 
eucalyptus/recipes:
cloud-controller.rb eutester.rb user-console.rb
cloud-service.rb install-source.rb user-facing.rb
cluster-controller.rb node-controller.rb vmware-broker.rb
configure.rb nuke.rb walrus.rb
create-first-resources.rb register-components.rb
default.rb storage-controller.rb
eucalyptus/roles:
cloud-in-a-box.json cluster.json endpoints.json frontend.json node.json
eucalyptus/templates:
default
eucalyptus/test:
integration	
 
暇があったら
そのうち⾒見見てみる
Cooknook/eucalyptusの下	
 
-rw-r--r--. 1 root root 123 12月	
 22 06:52 2014 Berksfile
-rw-r--r--. 1 root root 468 12月	
 22 06:52 2014 CHANGELOG.md
-rw-r--r--. 1 root root 598 12月	
 22 06:52 2014 LICENSE
-rw-r--r--. 1 root root 4671 12月	
 22 06:52 2014 README.md
-rw-r--r--. 1 root root 5908 12月	
 22 06:52 2014 Vagrantfile
drwxr-xr-x. 2 root root 4096 12月	
 22 06:52 2014 attributes
-rw-r--r--. 1 root root 397 12月	
 22 06:52 2014 bootstrap.json
drwxr-xr-x. 2 root root 4096 12月	
 22 06:52 2014 environments
drwxr-xr-x. 2 root root 4096 12月	
 22 06:52 2014 eucadev
-rw-r--r--. 1 root root 10907 12月	
 22 06:52 2014 eucadev.md
drwxr-xr-x. 4 root root 4096 12月	
 22 06:52 2014 faststart
drwxr-xr-x. 2 root root 4096 12月	
 22 06:52 2014 libraries
-rw-r--r--. 1 root root 5306 12月	
 22 06:52 2014 metadata.json
-rw-r--r--. 1 root root 352 12月	
 22 06:52 2014 metadata.rb
-rw-r--r--. 1 root root 2354 12月	
 22 06:52 2014 motherbrain.rb
drwxr-xr-x. 2 root root 4096 12月	
 22 06:52 2014 recipes
drwxr-xr-x. 2 root root 4096 12月	
 22 06:52 2014 roles
drwxr-xr-x. 3 root root 4096 12月	
 22 06:52 2014 templates
drwxr-xr-x. 3 root root 4096 12月	
 22 06:52 2014 test	
 
なんか気にな
るファイル
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
もしかしてVagrantで簡単に
ためせる?
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
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
なんかこの手順でやってみると
できるかもしれない
›  と、思ったところで本日は時間切れのため
後日チャレンジしてみます
1 of 22

Recommended

RDO-Packstack Workshop by
RDO-Packstack Workshop RDO-Packstack Workshop
RDO-Packstack Workshop Thamrongtawal Hashim
747 views47 slides
Intro to-venv-py3 by
Intro to-venv-py3Intro to-venv-py3
Intro to-venv-py3Dhineshsunder ganapathi
201 views11 slides
Chef Workshop: Setup Environment with Chef,Vagrant, and Berkshelf by
Chef Workshop: Setup Environment with Chef,Vagrant, and BerkshelfChef Workshop: Setup Environment with Chef,Vagrant, and Berkshelf
Chef Workshop: Setup Environment with Chef,Vagrant, and BerkshelfJun Sakata
2.6K views71 slides
How to Install Ghost (CMS) MEMO by
How to Install Ghost (CMS) MEMOHow to Install Ghost (CMS) MEMO
How to Install Ghost (CMS) MEMONaoto MATSUMOTO
731 views3 slides
Debian on EC2 by
Debian on EC2Debian on EC2
Debian on EC2Aya Komuro
1.2K views17 slides
How to master OpenStack in 2 hours by
How to master OpenStack in 2 hoursHow to master OpenStack in 2 hours
How to master OpenStack in 2 hoursOpenCity Community
6.4K views90 slides

More Related Content

Similar to Eucalyptus calendar 20141221

Environments line-up! Vagrant & Puppet 101 by
Environments line-up! Vagrant & Puppet 101Environments line-up! Vagrant & Puppet 101
Environments line-up! Vagrant & Puppet 101jelrikvh
1K views43 slides
Chef by
ChefChef
ChefNNCT programming study group
419 views46 slides
Immutable infrastructure with Docker and containers (GlueCon 2015) by
Immutable infrastructure with Docker and containers (GlueCon 2015)Immutable infrastructure with Docker and containers (GlueCon 2015)
Immutable infrastructure with Docker and containers (GlueCon 2015)Jérôme Petazzoni
20.2K views59 slides
17) 11 (may, 2003) squid master this proxy server by
17) 11 (may, 2003)   squid master this proxy server17) 11 (may, 2003)   squid master this proxy server
17) 11 (may, 2003) squid master this proxy serverswarup1435
5.3K views8 slides
04 02-2018--Slackware Wire Shark Installation by
04 02-2018--Slackware Wire Shark Installation04 02-2018--Slackware Wire Shark Installation
04 02-2018--Slackware Wire Shark InstallationAlexander Bitar
195 views29 slides
What is this "docker" by
What is this  "docker" What is this  "docker"
What is this "docker" Jean-Marc Meessen
417 views73 slides

Similar to Eucalyptus calendar 20141221(20)

Environments line-up! Vagrant & Puppet 101 by jelrikvh
Environments line-up! Vagrant & Puppet 101Environments line-up! Vagrant & Puppet 101
Environments line-up! Vagrant & Puppet 101
jelrikvh1K views
Immutable infrastructure with Docker and containers (GlueCon 2015) by Jérôme Petazzoni
Immutable infrastructure with Docker and containers (GlueCon 2015)Immutable infrastructure with Docker and containers (GlueCon 2015)
Immutable infrastructure with Docker and containers (GlueCon 2015)
Jérôme Petazzoni20.2K views
17) 11 (may, 2003) squid master this proxy server by swarup1435
17) 11 (may, 2003)   squid master this proxy server17) 11 (may, 2003)   squid master this proxy server
17) 11 (may, 2003) squid master this proxy server
swarup14355.3K views
04 02-2018--Slackware Wire Shark Installation by Alexander Bitar
04 02-2018--Slackware Wire Shark Installation04 02-2018--Slackware Wire Shark Installation
04 02-2018--Slackware Wire Shark Installation
Alexander Bitar195 views
Erp 2.50 openbravo environment installation openbravo-wiki by yaranusa
Erp 2.50 openbravo environment installation   openbravo-wikiErp 2.50 openbravo environment installation   openbravo-wiki
Erp 2.50 openbravo environment installation openbravo-wiki
yaranusa103 views
Simplify and run your development environments with Vagrant on OpenStack by B1 Systems GmbH
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
B1 Systems GmbH445 views
Using Docker with Puppet - PuppetConf 2014 by Puppet
Using Docker with Puppet - PuppetConf 2014Using Docker with Puppet - PuppetConf 2014
Using Docker with Puppet - PuppetConf 2014
Puppet45.3K views
Using Puppet To Manage Splunk by Splunk
Using Puppet To Manage SplunkUsing Puppet To Manage Splunk
Using Puppet To Manage Splunk
Splunk3.8K views
Instruction: dev environment by Soshi Nemoto
Instruction: dev environmentInstruction: dev environment
Instruction: dev environment
Soshi Nemoto674 views
Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011] by Vincent Batts
Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]
Slackware: Quickly and Easily Manage Your KDE SC Hacking [Camp KDE 2011]
Vincent Batts439 views
Dockerize node.js application by Seokjun Kim
Dockerize node.js applicationDockerize node.js application
Dockerize node.js application
Seokjun Kim1.6K views
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5 by TUSHAR VARSHNEY
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
How to Install JAVA 7 (JDK 7u79) on CentOS_RHEL 7_6_5
TUSHAR VARSHNEY1.6K views
Fosdem 2014 - MySQL & Friends Devroom: 15 tips galera cluster by Frederic Descamps
Fosdem 2014 - MySQL & Friends Devroom: 15 tips galera clusterFosdem 2014 - MySQL & Friends Devroom: 15 tips galera cluster
Fosdem 2014 - MySQL & Friends Devroom: 15 tips galera cluster
Frederic Descamps1.1K views
Securing Containers, One Patch at a Time - Michael Crosby, Docker by Docker, Inc.
Securing Containers, One Patch at a Time - Michael Crosby, DockerSecuring Containers, One Patch at a Time - Michael Crosby, Docker
Securing Containers, One Patch at a Time - Michael Crosby, Docker
Docker, Inc.424 views
Sw install with_without_docker by SeongJae Park
Sw install with_without_dockerSw install with_without_docker
Sw install with_without_docker
SeongJae Park1K views
Installing and Getting Started with Alfresco by Wildan Maulana
Installing and Getting Started with AlfrescoInstalling and Getting Started with Alfresco
Installing and Getting Started with Alfresco
Wildan Maulana50.5K views

More from samemoon

おぷ☆すたあど彼 by
おぷ☆すたあど彼おぷ☆すたあど彼
おぷ☆すたあど彼samemoon
1.4K views18 slides
Openstack calendar20141222 by
Openstack calendar20141222Openstack calendar20141222
Openstack calendar20141222samemoon
1.8K views18 slides
Eucalyptus calendar20141222 by
Eucalyptus calendar20141222Eucalyptus calendar20141222
Eucalyptus calendar20141222samemoon
1.5K views18 slides
CloudStack Advent Calendar 2014/12/12 by
CloudStack Advent Calendar 2014/12/12CloudStack Advent Calendar 2014/12/12
CloudStack Advent Calendar 2014/12/12samemoon
1.1K views3 slides
20141201_OpenStack_Advent_Calendar by
20141201_OpenStack_Advent_Calendar20141201_OpenStack_Advent_Calendar
20141201_OpenStack_Advent_Calendarsamemoon
2.3K views15 slides
CloudStack概要と最新動向_JulyTechFesta by
CloudStack概要と最新動向_JulyTechFestaCloudStack概要と最新動向_JulyTechFesta
CloudStack概要と最新動向_JulyTechFestasamemoon
2.2K views32 slides

More from samemoon(20)

おぷ☆すたあど彼 by samemoon
おぷ☆すたあど彼おぷ☆すたあど彼
おぷ☆すたあど彼
samemoon1.4K views
Openstack calendar20141222 by samemoon
Openstack calendar20141222Openstack calendar20141222
Openstack calendar20141222
samemoon1.8K views
Eucalyptus calendar20141222 by samemoon
Eucalyptus calendar20141222Eucalyptus calendar20141222
Eucalyptus calendar20141222
samemoon1.5K views
CloudStack Advent Calendar 2014/12/12 by samemoon
CloudStack Advent Calendar 2014/12/12CloudStack Advent Calendar 2014/12/12
CloudStack Advent Calendar 2014/12/12
samemoon1.1K views
20141201_OpenStack_Advent_Calendar by samemoon
20141201_OpenStack_Advent_Calendar20141201_OpenStack_Advent_Calendar
20141201_OpenStack_Advent_Calendar
samemoon2.3K views
CloudStack概要と最新動向_JulyTechFesta by samemoon
CloudStack概要と最新動向_JulyTechFestaCloudStack概要と最新動向_JulyTechFesta
CloudStack概要と最新動向_JulyTechFesta
samemoon2.2K views
Developer Summit_20140214 by samemoon
Developer Summit_20140214Developer Summit_20140214
Developer Summit_20140214
samemoon1.8K views
20131213 OSC enterprise by samemoon
20131213 OSC enterprise20131213 OSC enterprise
20131213 OSC enterprise
samemoon1.4K views
20131212 advent calender by samemoon
20131212 advent calender20131212 advent calender
20131212 advent calender
samemoon1.3K views
Cloud OS「Apache CloudStack」をお手軽に使ってみる方法 by samemoon
Cloud OS「Apache CloudStack」をお手軽に使ってみる方法Cloud OS「Apache CloudStack」をお手軽に使ってみる方法
Cloud OS「Apache CloudStack」をお手軽に使ってみる方法
samemoon5.6K views
20131030 developer lounge by samemoon
20131030 developer lounge20131030 developer lounge
20131030 developer lounge
samemoon1.1K views
20131019 OSC@Tokyo CloudStackユーザー会 by samemoon
20131019 OSC@Tokyo CloudStackユーザー会20131019 OSC@Tokyo CloudStackユーザー会
20131019 OSC@Tokyo CloudStackユーザー会
samemoon4.2K views
第15回cloudstackユーザー会 by samemoon
第15回cloudstackユーザー会第15回cloudstackユーザー会
第15回cloudstackユーザー会
samemoon908 views
第14回cloudstackユーザー会 by samemoon
第14回cloudstackユーザー会第14回cloudstackユーザー会
第14回cloudstackユーザー会
samemoon847 views
使ってみよう CloudStack by samemoon
使ってみよう CloudStack 使ってみよう CloudStack
使ってみよう CloudStack
samemoon1.9K views
CloudStack Collaboration Conference 2013 レポート by samemoon
CloudStack Collaboration Conference 2013 レポートCloudStack Collaboration Conference 2013 レポート
CloudStack Collaboration Conference 2013 レポート
samemoon1.5K views
20130803 OSC@Kyoto CloudStackユーザー会 by samemoon
20130803 OSC@Kyoto CloudStackユーザー会20130803 OSC@Kyoto CloudStackユーザー会
20130803 OSC@Kyoto CloudStackユーザー会
samemoon3.6K views
20130714 July Tech Festa 日本CloudStackユーザー会 by samemoon
20130714 July Tech Festa 日本CloudStackユーザー会20130714 July Tech Festa 日本CloudStackユーザー会
20130714 July Tech Festa 日本CloudStackユーザー会
samemoon2.6K views
OSC 2013.Cloud@Osaka by samemoon
OSC 2013.Cloud@OsakaOSC 2013.Cloud@Osaka
OSC 2013.Cloud@Osaka
samemoon1.9K views
Cloud stack徹底入門7章 20130514 by samemoon
Cloud stack徹底入門7章 20130514Cloud stack徹底入門7章 20130514
Cloud stack徹底入門7章 20130514
samemoon1.4K views

Eucalyptus calendar 20141221