openstack devstack install - 1부 (all-in-one)
TRANSCRIPT
-
OpenStack Korea Community
DevStack (1): All-in-one
2014-06-21
-
OpenStack Korea Community
Index
What is DevStack?
Installation Type: All-in-one
Installation Requirements
Installation (Demo)
-
OpenStack Korea Community
What is DevStack? (1)
OpenStack ?
OpenStack ,
,
(Nova, Glance, Keystone, Horizon, Neutron, )
: , , ,
.. ?!
-
OpenStack Korea Community
What is DevStack? (2)
OTL
DevStack
-
OpenStack Korea Community
What is DevStack? (3)
OpenStack Linux OpenStack , OpenStack : http://www.devstack.org
http://www.devstack.org/
-
OpenStack Korea Community
What is DevStack? (4)
DevStack
OpenStack
OpenStack
OpenStack
(, PoC, ..)
Linux
(: )
-
OpenStack Korea Community
DevStack Installation Type (1)
All-in-one (Single-node)
1 OpenStack
: Multi-node
: OpenStack
Multi-nodes
OpenStack
: ,
OpenStack
: All-in-one
-
OpenStack Korea Community
DevStack Installation Type (2)
All-in-one (Single-node)
Compute
API request
Nova API
Other components
Multi-nodes
Compute
API request
Nova API
Other components
Compute
Compute
-
OpenStack Korea Community
Installation Requirements (1)
VirtualBox
PC Linux
(!!!)
: 4.3.12
: http://www.virtualbox.org
http://www.virtualbox.org/
-
OpenStack Korea Community
Installation Requirements (2)
DevStack : Fedora, Ubuntu
: Ubuntu 14.04 LTS Desktop
: http://www.ubuntu.com/download/desktop
http://www.ubuntu.com/download/desktop
-
OpenStack Korea Community
Installation Requirements (3)
( : 30 )
...
! ~~
-
OpenStack Korea Community
Installation (1)
:
: VirtualBox 4.3.12 in Windows 8
Linux: Ubuntu 14.04 LTS Desktop
OpenStack Release : Icehouse
DevStack : All-in-one
: Nova, Glance, Keystone, Horizon,
Neutron
Compute
API request
Nova API
Other components
-
OpenStack Korea Community
Compute
API request
Nova APIOther
components
( )(OS)
(VirtualBox)
[ 1]( )
[ 2] 192.168.56.1
[eth1]
192.168.56.101
[eth0]( )
VM VM VM
()
Installation (2)
(: NAT .)
-
OpenStack Korea Community
Installation (3)
1) VirtualBox Linux
2) Linux ( )
3) DevStack git
4) DevStack
5)
6) DevStack
7) ( : NAT )
8)
-
OpenStack Korea Community
Installation (3)
1) VirtualBox Linux
2) Linux ( )
3) DevStack git
4) DevStack
5)
6) DevStack
7) ( : NAT )
8)
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
-
OpenStack Korea Community
Installation (3)
1) VirtualBox Linux
2) Linux ( )
3) DevStack git
4) DevStack
5)
6) DevStack
7) ( : NAT )
8)
$ sudo apt-get install git
$ git clone b stable/icehouse git://github.com/openstack-
dev/devstack.git
Git
DevStack
$ wget O localrc http://goo.gl/Y6OTR2
-
OpenStack Korea Community
Installation (3)
1) VirtualBox Linux
2) Linux ( )
3) DevStack git
4) DevStack
5)
6) DevStack
7) ( : NAT )
8)
HOST_IP=192.168.56.101PUBLIC_INTERFACE=eth0
# LoggingDEST=/opt/stackLOGFILE=$DEST/logs/stack.sh.logSCREEN_LOGDIR=$DEST/logs/screen
# CredentialsADMIN_PASSWORD=openstackMYSQL_PASSWORD=openstackRABBIT_PASSWORD=openstackSERVICE_PASSWORD=openstackSERVICE_TOKEN=tokentoken
# Neutron - Networking ServiceDISABLED_SERVICES=n-netENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-metering,neutron
localrc:
-
OpenStack Korea Community
Installation (3)
1) VirtualBox Linux
2) Linux ( )
3) DevStack git
4) DevStack
5)
6) DevStack
7) ( : NAT )
8)
$ ./stack.sh
$ sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
DevStack
: NAT
-
OpenStack Korea Community
DevStack Review: All-in-one
DevStack
OpenStack , .
DevStack
All-in-one Multi-nodes Linux .
DevStack
All-in-one Linux .
-
OpenStack Korea Community
DevStack Review: Installation
Git
DevStack .
localrc
DevStack .
./stack.sh
DevStack OpenStack .
-
OpenStack Korea Community
.
(, SDN )