2015 0228 OpenStack swift; GMO Internet ServicesNaoto Gohko
GMO Internet Inc., has been service provided by the quotient material made of the fact that OpenStack Swift the ConoHa VPS brand and GMO Apps Cloud. discussed the differences between the physical configuration of the OpenStack Swift at rackspace and ConoHa, was carried out optimization of the configuration.
In addition, you have an implementation that provided by Dual-head on multiple merchandise by invoking the swift-proxy for each service.
This is the presentation materials of Japanese OCDET of bare metal computing meeting.
In "GMO AppsCloud" of GMO Internet, Inc., by modifying the nova Baremetal compute of OpenStack Havana so as to drive the Ansible, by installing the OS in the cobbler, has commercialized the environment to start with disk boot loader.
Interop Tokyo 2014 SDI (Software Defined Infrustructure) ShowCase Seminoar Presentation. The presentation covers Neutron API models (L2/L3 and Advanced Network services), Neutron Icehouse Update and Juno topics.
OpenStack Atlanta Summit Report: Neutron, Nova and design summit sessionsAkihiro Motoki
Report of OpenStack Atlanta Design Summit (May 2014). It focuses mainly Neutron design summit topics and also covers general topics on the design summit sessions and nova-related topics.
This is the presentation materials of Japanese OCDET of bare metal computing meeting.
In "GMO AppsCloud" of GMO Internet, Inc., by modifying the nova Baremetal compute of OpenStack Havana so as to drive the Ansible, by installing the OS in the cobbler, has commercialized the environment to start with disk boot loader.
Interop Tokyo 2014 SDI (Software Defined Infrustructure) ShowCase Seminoar Presentation. The presentation covers Neutron API models (L2/L3 and Advanced Network services), Neutron Icehouse Update and Juno topics.
OpenStack Atlanta Summit Report: Neutron, Nova and design summit sessionsAkihiro Motoki
Report of OpenStack Atlanta Design Summit (May 2014). It focuses mainly Neutron design summit topics and also covers general topics on the design summit sessions and nova-related topics.
The document discusses installing Eucalyptus cloud software on a single server using the Eucalyptus Faststart installer and Chef. It goes through the installation process step-by-step, including running a bash script to install Eucalyptus via Chef. The author notes that Eucalyptus uses Chef as its installer. After installation completes successfully, the author looks at the installed Chef cookbooks and files used to configure Eucalyptus.
The document discusses accessing the virtual router in a CloudStack KVM environment. It explains that the virtual router can be accessed by SSHing into its link local IP address from the compute node it is running on. When logging in, it is shown that the link local IP address may change if the virtual router is restarted. The internal interfaces, routing tables, and network configuration of the running virtual router are then displayed and examined.
The document discusses accessing the virtual router in a CloudStack KVM environment. It explains that the virtual router can be accessed by SSHing into its link local IP address from the compute node it is running on. When logging in, it is shown that the link local IP address may change if the virtual router is restarted. The internal interfaces, routing tables, and network configuration of the running virtual router are then displayed and examined.
1. 使ってみよう
CloudStack
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 1
⽇日本CloudStackユーザー会
Japan CloudStack User Group
2013年年09⽉月14⽇日
⽇日本CloudStackユーザー会
@MayumiK0
7. Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 7
個⼈人でなくても
会社でもサーバを
たくさん⽤用意するのは
正直厳しいです(T_̲T)
(除:リッチな会社)
8. Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 8
貧乏⼈人でも
サーバがなくても
CloudStackがしたい!
9. Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 9
そんなあなたに
DevCloud!
10. • DevCloud2
– CloudStackの開発やテストに使える
仮想アプライアンス
– VirtualBox上で動くOVAイメージ
DevCloud2って?
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 10
■参考:https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud
11. • Mac Book Air
• OS X 10.8.4
• メモリ 8GB
使用した環境
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 11
12. • DevCloud2のダウンロード
• VirtualBoxのインストール
• DevCloud2をVirtualBoxにimport
• VirtualBoxの設定
• DevCloud2内でCloudStack構築
• CloudStack設定
ざっくり手順
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 12
34. apt-‐‑‒get install sudo
sudoの導入
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 34
root@devcloud:~#
apt-get
install
sudo
Reading
package
lists...
Done
Building
dependency
tree
Reading
state
information...
Done
The
following
NEW
packages
will
be
installed:
sudo
0
upgraded,
1
newly
installed,
0
to
remove
and
221
not
upgraded.
Need
to
get
851
kB
of
archives.
After
this
operation,
1,885
kB
of
additional
disk
space
will
be
used.
Get:1
http://debian.lcs.mit.edu/debian/
wheezy/main
sudo
i386
1.8.5p2-1+nmu1
[851
kB]
Fetched
851
kB
in
21s
(40.4
kB/s)
Selecting
previously
unselected
package
sudo.
(Reading
database
...
52154
files
and
directories
currently
installed.)
Unpacking
sudo
(from
.../sudo_1.8.5p2-1+nmu1_i386.deb)
...
Processing
triggers
for
man-db
...
Setting
up
sudo
(1.8.5p2-1+nmu1)
...
35. git clone https://git-‐‑‒wip-‐‑‒us.apache.org/repos/
asf/cloudstack.git
git-hubから最新のコードを取得
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 35
root@devcloud:~#
git
clone
https://git-wip-us.apache.org/repos/asf/cloudstack.git
Cloning
into
'cloudstack'...
remote:
Counting
objects:
332343,
done.
remote:
Compressing
objects:
100%
(62368/62368),
done.
Receiving
objects:
100%
(332343/332343),
330.63
MiB
|
59
KiB/s,
done.
remote:
Total
332343
(delta
226246),
reused
328211
(delta
223640)
Resolving
deltas:
100%
(226246/226246),
done.
Checking
out
files:
100%
(7654/7654),
done.
37. mvn -‐‑‒P developer,systemvm clean install
管理サーバーをビルド
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 37
root@devcloud:~/cloudstack#
mvn
-P
developer,systemvm
clean
install
[INFO]
Scanning
for
projects...
Downloading:
http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom
Downloaded:
http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom
(15
KB
at
24.3
KB/sec)
[INFO]
------------------------------------------------------------------------
[INFO]
Reactor
Build
Order:
[INFO]
[INFO]
Apache
CloudStack
(略)
[INFO]
------------------------------------------------------------------------
[INFO]
Building
Apache
CloudStack
4.1.0
[INFO]
------------------------------------------------------------------------
(略)
[INFO]
Apache
CloudStack
Developer
Tools:
marvin
.........
SUCCESS
[3.187s]
[INFO]
Apache
CloudStack
Developer
Tools:
cloudmonkey
cli
SUCCESS
[0.471s]
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD
SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO]
Total
time:
12:37.537s
[INFO]
Finished
at:
Thu
Aug
01
06:16:09
UTC
2013
[INFO]
Final
Memory:
36M/93M
[INFO]
------------------------------------------------------------------------
かなり時間がかかります
38. mvn -‐‑‒P developer -‐‑‒pl developer,tools/devcloud -‐‑‒
Ddeploydb
DBをDeploy
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 38
root@devcloud:~/cloudstack#
mvn
-P
developer
-pl
developer,tools/devcloud
-Ddeploydb
[INFO]
Scanning
for
projects...
[INFO]
------------------------------------------------------------------------
[INFO]
Reactor
Build
Order:
[INFO]
[INFO]
Apache
CloudStack
Developer
Tools
[INFO]
Apache
CloudStack
DevCloud
(略)
[INFO]
Apache
CloudStack
Developer
Tools
.................
SUCCESS
[11.948s]
[INFO]
Apache
CloudStack
DevCloud
........................
SUCCESS
[4.220s]
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD
SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO]
Total
time:
17.165s
[INFO]
Finished
at:
Thu
Aug
01
06:20:56
UTC
2013
[INFO]
Final
Memory:
23M/56M
[INFO]
------------------------------------------------------------------------
root@devcloud:~/cloudstack#
ナニゴトもなければ
さっくり終わります
39. mvn -‐‑‒pl :cloud-‐‑‒client-‐‑‒ui jetty:run
管理サーバーを起動
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 39
root@devcloud:~/cloudstack#
export
MAVEN_OPTS="-Xms512m
-Xmx1024m
-XX:PermSize=256m
-
XX:MaxPermSize=512m
-Xdebug
-Xnoagent
-Djava.compiler=NONE
-
Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"
root@devcloud:~/cloudstack#
mvn
-pl
:cloud-client-ui
jetty:run
INFO
[utils.component.ComponentContext]
(Timer-2:)
Starting
com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_90378b46
INFO
[cloud.server.ManagementServerImpl]
(Timer-2:)
Startup
CloudStack
management
server...
INFO
[cloud.cluster.ClusterServiceServletContainer]
(Thread-16:)
Cluster
service
servlet
container
listening
on
port
9090
INFO
[cloud.cluster.ClusterManagerImpl]
(Cluster-Heartbeat-1:)
We
are
good,
no
orphan
management
server
msid
in
host
table
is
found
INFO
[cloud.cluster.ClusterManagerImpl]
(Cluster-Heartbeat-1:)
No
inactive
management
server
node
found
WARN
[cloud.cluster.ClusterManagerImpl]
(Cluster-Notification-1:)
Notifying
management
server
join
event
took
16
ms
コマンド実⾏行行すると
メッセージが流流れっぱなしになります
40. 管理サーバーGUIにアクセス
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 40
ユーザ名:admin
パスワード:password
http://192.168.56.10:8080/client/
41. 初期設定画面
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 41
初期設定ウィザードが表⽰示されますが「スキップ」し
ちゃいます
45. 先ほどのターミナルに戻って「Ctrl + C」で停⽌止
再度度「mvn -‐‑‒pl :cloud-‐‑‒client-‐‑‒ui jetty:run」を実⾏行行
管理サーバーを再起動
Copyright (C) 2013 Japan CloudStack User Group All Rights Reserved. 45
rs,dhcpProviders,networkGurus,networkElements,org.springframework.context.annotation.Configurat
ionClassPostProcessor$ImportAwareBeanPostProcessor#0];
root
of
factory
hierarchy
2013-08-02
05:29:50.089:INFO:/client:Shutting
down
log4j
2013-08-02
05:29:50.102:INFO::Shutdown
hook
complete
[INFO]
Jetty
server
exiting.
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD
SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO]
Total
time:
59.102s
[INFO]
Finished
at:
Fri
Aug
02
05:29:50
UTC
2013
[INFO]
Final
Memory:
70M/495M
[INFO]
------------------------------------------------------------------------
root@devcloud:~/cloudstack#
root@devcloud:~/cloudstack#
mvn
-pl
:cloud-client-ui
jetty:run
INFO
[cloud.cluster.ClusterManagerImpl]
(Cluster-Heartbeat-1:)
We
are
good,
no
orphan
management
server
msid
in
host
table
is
found
INFO
[cloud.cluster.ClusterManagerImpl]
(Cluster-Heartbeat-1:)
No
inactive
management
server
node
found
WARN
[cloud.cluster.ClusterManagerImpl]
(Cluster-Notification-1:)
Notifying
management
server
join
event
took
16
ms