[a6]deview 2012 building cloud service with open stack

26

Upload: naver-d2

Post on 13-Jan-2015

1.726 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: [A6]deview 2012 building cloud service with open stack
Page 2: [A6]deview 2012 building cloud service with open stack

2.1����������� ������������������  ����������� ������������������  고려사항����������� ������������������  

2.2����������� ������������������  ����������� ������������������  주요����������� ������������������  서비스����������� ������������������  구조����������� ������������������  

Page 3: [A6]deview 2012 building cloud service with open stack
Page 4: [A6]deview 2012 building cloud service with open stack
Page 5: [A6]deview 2012 building cloud service with open stack

Rackspace����������� ������������������  Cloud����������� ������������������  Equivalent����������� ������������������  

Amazon����������� ������������������  Web����������� ������������������  Service����������� ������������������  Equivalent����������� ������������������  

OpenStack����������� ������������������  Project����������� ������������������  

Compute����������� ������������������   Cloud����������� ������������������  Servers����������� ������������������   EC2����������� ������������������   Nova����������� ������������������  

Volume����������� ������������������  Storage����������� ������������������   (preparing)����������� ������������������   EBS����������� ������������������   Cinder����������� ������������������  

Object����������� ������������������  Storage����������� ������������������   Cloud����������� ������������������  Files����������� ������������������   S3����������� ������������������   Swift����������� ������������������  

Networks����������� ������������������   (preparing)����������� ������������������   VPC����������� ������������������   Quantum����������� ������������������  

Dashboard����������� ������������������   Cloud����������� ������������������  Control����������� ������������������  Panel����������� ������������������  AWS����������� ������������������  Management����������� ������������������  Co

nsole����������� ������������������  Horizon����������� ������������������  

Page 6: [A6]deview 2012 building cloud service with open stack

Dashboard����������� ������������������  (Horizon)����������� ������������������   Identity����������� ������������������  (Keystone)����������� ������������������  

Compute����������� ������������������  (Nova)����������� ������������������  

Network����������� ������������������  (Quantum)����������� ������������������   Volume����������� ������������������  (Cinder)����������� ������������������  Image����������� ������������������  (Glance)����������� ������������������  

Object����������� ������������������  Storage����������� ������������������  (Swift)����������� ������������������  

백업����������� ������������������  

이미지����������� ������������������  

네트워크����������� ������������������  연결����������� ������������������  

볼륨����������� ������������������  

이미지����������� ������������������  저장소����������� ������������������  

요청����������� ������������������  

요청����������� ������������������  요청����������� ������������������   요청����������� ������������������   요청����������� ������������������  

모니터링����������� ������������������   오토����������� ������������������  스케일링����������� ������������������  

Page 7: [A6]deview 2012 building cloud service with open stack
Page 8: [A6]deview 2012 building cloud service with open stack
Page 9: [A6]deview 2012 building cloud service with open stack
Page 10: [A6]deview 2012 building cloud service with open stack
Page 11: [A6]deview 2012 building cloud service with open stack

nova-compute����������� ������������������  

Database����������� ������������������  

Queue����������� ������������������  Server����������� ������������������  

nova-api����������� ������������������  

nova-scheduler����������� ������������������  

Page 12: [A6]deview 2012 building cloud service with open stack

http://comstud.com/FolsomCells.pdf

{����������� ������������������  Compute����������� ������������������  Cell����������� ������������������  }����������� ������������������  Child����������� ������������������  

{����������� ������������������  API����������� ������������������  Cell����������� ������������������  }����������� ������������������  

{����������� ������������������  Compute����������� ������������������  Cell����������� ������������������  }����������� ������������������  Child����������� ������������������  

{����������� ������������������  Compute����������� ������������������  Cell����������� ������������������  }����������� ������������������  Child����������� ������������������  Parent����������� ������������������  

{����������� ������������������  Additional����������� ������������������  Cell����������� ������������������  }����������� ������������������   {����������� ������������������  Compute����������� ������������������  Cell����������� ������������������  }����������� ������������������  Child����������� ������������������  

Parent����������� ������������������  

Page 13: [A6]deview 2012 building cloud service with open stack

Give  me  VM����������� ������������������  

Database����������� ������������������  

nova-compute����������� ������������������  

nova-scheduler����������� ������������������  

nova-cells����������� ������������������  

{����������� ������������������  Compute����������� ������������������  Cell����������� ������������������  }����������� ������������������  

Database����������� ������������������  

Queue����������� ������������������  Server����������� ������������������  

nova-cells����������� ������������������  

{����������� ������������������  API����������� ������������������  Cell����������� ������������������  }����������� ������������������  

Capability����������� ������������������  /����������� ������������������  Capacity����������� ������������������  

Scheduling����������� ������������������  /����������� ������������������  ����������� ������������������  ����������� ������������������  Request����������� ������������������  Forwarding����������� ������������������  

Queue����������� ������������������  Server����������� ������������������  

nova-api����������� ������������������  

Page 14: [A6]deview 2012 building cloud service with open stack

[Tenant-1]����������� ������������������  

[VLAN-1]����������� ������������������  

[Tenant-2]����������� ������������������  

[VLAN-2]����������� ������������������  

������������ ������������������  ������������ ������������������  ������������ ������������������  

[Tenant-4095]����������� ������������������  

[VLAN-4095]����������� ������������������  

[Tenant-4096]����������� ������������������  

[VLAN-4096]����������� ������������������  

Gateway����������� ������������������  Compute����������� ������������������  Hosts����������� ������������������  

Page 15: [A6]deview 2012 building cloud service with open stack

VNET����������� ������������������  100����������� ������������������  10.0.0.0/24����������� ������������������  

Gateway����������� ������������������  Compute����������� ������������������  Hosts����������� ������������������  

br100����������� ������������������  ­–����������� ������������������  vlan100����������� ������������������  ­–����������� ������������������  eth0����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  10.0.0.1����������� ������������������  dnsmasq����������� ������������������  10.0.0.2~10.0.0.254����������� ������������������  iptables����������� ������������������  NAT����������� ������������������  rule����������� ������������������  add����������� ������������������  routing����������� ������������������  add����������� ������������������  10.0.0.0/24����������� ������������������  vlan100����������� ������������������  

br-100����������� ������������������  ­–����������� ������������������  vlan100����������� ������������������  ­–����������� ������������������  eth0����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  tap-vm1����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  ����������� ������������������  tap-vm2����������� ������������������  

Page 16: [A6]deview 2012 building cloud service with open stack

VNET����������� ������������������  100����������� ������������������  10.0.0.0/24����������� ������������������  

VNET����������� ������������������  100����������� ������������������  10.0.0.0/24����������� ������������������  

VNET����������� ������������������  101����������� ������������������  10.1.0.0/24����������� ������������������  

VNET����������� ������������������  100����������� ������������������  GW����������� ������������������  설정����������� ������������������  dnsmasq����������� ������������������  10.0.0.0/24����������� ������������������  ����������� ������������������  

VNET����������� ������������������  100����������� ������������������  GW����������� ������������������  설정����������� ������������������  dnsmasq����������� ������������������  10.0.0.0/24����������� ������������������  ����������� ������������������  VNET����������� ������������������  101����������� ������������������  GW����������� ������������������  설정����������� ������������������  dnsmasq����������� ������������������  10.1.0.0/24����������� ������������������  ����������� ������������������  

Page 17: [A6]deview 2012 building cloud service with open stack

nova-compute����������� ������������������  

Database����������� ������������������  

nova-scheduler����������� ������������������  

Load����������� ������������������  Balancer����������� ������������������  

nova-api����������� ������������������  

Queue����������� ������������������  Server����������� ������������������  

Page 18: [A6]deview 2012 building cloud service with open stack

www.yourapp.com����������� ������������������  

Global����������� ������������������  Load����������� ������������������  Balancer����������� ������������������  DNS����������� ������������������  

AZ-A����������� ������������������   AZ-B����������� ������������������  

스냅샷/백업����������� ������������������   복구����������� ������������������  

Sync����������� ������������������  

Load����������� ������������������  Balancer����������� ������������������   Load����������� ������������������  Balancer����������� ������������������  

재생성����������� ������������������  

Page 19: [A6]deview 2012 building cloud service with open stack
Page 20: [A6]deview 2012 building cloud service with open stack

root����������� ������������������  volume����������� ������������������  

permanent����������� ������������������  data����������� ������������������  ����������� ������������������  /����������� ������������������  Database����������� ������������������  

root����������� ������������������  volume����������� ������������������  

Page 21: [A6]deview 2012 building cloud service with open stack

컴퓨트����������� ������������������  Host����������� ������������������  

스토리지����������� ������������������  

사용률����������� ������������������  90%����������� ������������������  

사용률����������� ������������������  30%����������� ������������������  

{����������� ������������������  Cinder����������� ������������������  }����������� ������������������  

cinder����������� ������������������  service����������� ������������������  

스토리지����������� ������������������  

Page 22: [A6]deview 2012 building cloud service with open stack

10.0.0.3����������� ������������������  ����������� ������������������  10.0.0.4����������� ������������������  

TOR����������� ������������������  

Aggregate����������� ������������������  Switch����������� ������������������  

10.0.0.5����������� ������������������  

TOR����������� ������������������  

Page 23: [A6]deview 2012 building cloud service with open stack

API����������� ������������������  

Plug-in����������� ������������������  

{����������� ������������������  Quantum����������� ������������������  Server����������� ������������������  }����������� ������������������  

Compute����������� ������������������  Hosts����������� ������������������  

{����������� ������������������  Quantum����������� ������������������  Agent����������� ������������������  }����������� ������������������  

DB����������� ������������������  

Queue����������� ������������������  Server����������� ������������������  

DHCP����������� ������������������  server����������� ������������������  

Gateways����������� ������������������  

Page 24: [A6]deview 2012 building cloud service with open stack

10.0.0.3����������� ������������������  ����������� ������������������  10.0.0.4����������� ������������������  

TOR����������� ������������������  

Aggregate����������� ������������������  Switch����������� ������������������  

10.0.0.5����������� ������������������  

TOR����������� ������������������  

Page 25: [A6]deview 2012 building cloud service with open stack
Page 26: [A6]deview 2012 building cloud service with open stack