Professional Documents
Culture Documents
Openstackcommunitydayprint 111205195530 Phpapp02
Openstackcommunitydayprint 111205195530 Phpapp02
OpenStack ()
11 12 5
2011 Korea Community Day
...
.
11 12 5
2011 Korea Community Day
...
www.openstack.or.kr
11 12 5
2011 Korea Community Day
...
OpenStack Compute ()
Nova
OpenStack Compute
OpenStack Compute
11 12 5
2011 Korea Community Day
...
OpenStack Nova
OpenStack Nova
11 12 5
2011 Korea Community Day
OpenStack Nova
Pluggable
- simple (least-load)
- chance (random)
- distributed scheduler (zone-
aware)
* host-lter
* least-cost function
- resource (capability) aware
scheduler
- WSGI middleware
- EC2/OpenStack API
- Keystone/standalone auth
- Local LVM volume groups
- iSCSI
- Sheepdog
- HP/Lefthand SANs
- Sqlite
- MySQL
- Postgres
Pluggable
- chance
- zone-aware
Pluggable
- chance
- zone-aware
- Flat, FlatDHCP, Vlan
- IPv4 / IPv6
- QEMU, KVM, UML, LXC
- Xen and XenServer
- Hyper-V
- VMware vSphere
11 12 5
2011 Korea Community Day
System Architecture
User
(CLI, REST)
API
EC2 API
OpenStack
API
Queue
Identity
(keystone)
middleware
Image
Service
(Glance)
Volume
Worker
Network
Worker
Scheduler
Compute
Worker
REST
local
method
Web UI
(Dashboard)
REST
Image Store
(Local, Swift,
AWS S3 etc)
REST
Volume
Storage
(iSCSI
D,J,h,,q
(,qliJq,
y,Q} _)
11 12 5
2011 Korea Community Day
OpenStack Glance (Image)
2. REST-based API
1. Store & retrieve VM images
3. Compatible with all common image formats
4. Storage agnostic: Store images locally, or use
OpenStack Object Storage, HTTP, or S3
1. VM image /
2. REST API
3.
4.
-
- Http, AWS S3, OpenStack Swift
11 12 5
2011 Korea Community Day
nova-api
Client
Client HTTP
/servers/create
API create_instance() ,
parameter, DB entry
scheduler
scheduler
RETURN
nova-api
scheduler instance compute node
, node queue
.
(API data return)
compute
response
to client
queue message
>> rpc.cast method run_instance
network
compute
(volume)
hypervisor/
libvert
Compute
RETURN
compute node network node
instance
(allocate_xed_ip)
queue message .
compute node instance data
DB , block device
hypervisor API
hypervisor API
VM spawning;
VM
.
compute node volume
volume
attach
iptables network
ltering (rewall),
image creation.
queue message >> rpc.call
queue message
11 12 5
2011 Korea Community Day
Network (Overview)
Flat Mode
instance bridge IP .
OpenStack Nova
11 12 5
2011 Korea Community Day
Nova Deployment
, Nova ,
INSTALLATION
Nova , Glance
CONFIGURATIONS
nova.conf , Path ,
, , , Volume
Nova
11 12 5
2011 Korea Community Day
Nova
1 Package
2 Script
3 Source Code & Manual Configuration
# add-apt-repository ppa:nova-core/trunk
# apt-get install nova-common nova-api nova-network nova-scheduler nova-compute
http://devstack.org/
# git clone git://github.com/cloudbuilders/devstack.git
# cd devstack
# ./stack.sh
http://wiki.openstack.or.kr
OpenStack , Nova
Glance, Keystone
: Nova
# git clone https://github.com/openstack/nova.git
# ./nova/contrib/nova.sh
11 12 5
2011 Korea Community Day
Nova deployment
on Virtual Environment
deployment Conguration
deployment . CI (Continuous
Integration) Testing .
, deployment
integration test ,
dependency .
11 12 5
2011 Korea Community Day
?
VirtualBox
(www.virtualbox.org)
Vagrants /
(vagrantup.com)
Chef Conguration
system integration
framework (www.opscode.com)
11 12 5
2011 Korea Community Day
Chef (Infrastructure as a Code)
11 12 5
2011 Korea Community Day
Chef
Chef Client .
Node ,
Chef Node
Resources , , Action
.
Recipes .
WebUI
Dashboard
- NIPA SW
- www.openstack.or.kr
11 12 5
2011 Korea Community Day
Whats more!
11 12 5
2011 Korea Community Day
Whats more!
monitoring
- physical node
- virtual resources
- applications
automation
- automated deployment
- conguration management
- continuous integration
networking
- LB, Switch, rewall,
- L2/L3 architecture
- Service Interfaces
storage (le system)
- storage architecture
- le system
echo system
- PaaS
- Various Services
- Applications
- tools
datacenter
- datacenter
- server
11 12 5
2011 Korea Community Day
Whats more!
11 12 5
2011 Korea Community Day
Whats more!
11 12 5
2011 Korea Community Day
Whats more!
monitoring
- physical node
- virtual resources
- applications
automation
- automated deployment
- conguration management
- continuous integration
networking
- LB, Switch, rewall,
- L2/L3 architecture
- Service Interfaces
storage (le system)
- storage architecture
- le system
echo system
- PaaS
- Various Services
- Applications
- tools
datacenter
- datacenter
- server
11 12 5
2011 Korea Community Day
Whats more!
monitoring
- zabbix
- collectd
- nagios ...
automation
- opscode chef
- puppet
- crowbar (from Dell) ...
networking
- openVPN
- vSwitch, HAProxy, ...
- Open Flow ...
storage (le system)
- ZFS, GlusterFS, ...
echo system
- Apache Whirr, jclouds
- Cloud Foundry
- ...
datacenter
- open
compute
11 12 5
2011 Korea Community Day
.
11 12 5