SlideShare a Scribd company logo
1 of 20
1April 2013
Considerations for Building
a Private Cloud
Folsom Update
Ryan Richard, RHCA
OpenStack Architect - Private Cloud
ryan.richard@rackspace.com
@rackninja
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Why Folsom?
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
What is a Private Cloud?
Elastic or Traditional Virtualization (hint: Pick One!)
Multi-tenant (Multi-Application)
Size
Private API endpoints
Limited inbound connectivity
Customized for specific workloads
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build with the End in Mind
# of instances on this physical host?
Flavor: m1.tiny
Ram: 512MiB
vCPU: 1
Disk: 0 (size of image)
Total instances:
?
48
vCPU Ram Disk
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build with the End in Mind
# of instances on this physical host?
Flavor: m1.medium
Ram: 4096MiB
vCPU: 2
Disk: 10GiB + 40GiB
Total instances:
24
vCPU Ram Disk
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build with the End in Mind
# of instances on this physical host?
Flavor: ram heavy
Ram: 64GiB
vCPU: 8
Disk: 100GiB
Total instances:
2
vCPU Ram Disk
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Capacity Thoughts
Don’t allow disk size of 0
Public Cloud: Limit flavors to image size
Private Cloud: Can add flavors for specific
application profiles
Network Utilization
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Capacity Thoughts
(resource / resource in smallest flavor) = maximum # of
instances per machine
Fixed Network - Double or quadruple number of expected
instances
I can always add more machines....
But you can’t change or modify the fixed
network once instances are running
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Build with the End in Mind
2 networks (3 w/ floating IPs)
1) Host Network
2) Fixed Network
3) Floating network
Easy to add physical nodes and/or
networks
Don’t try to change the fixed
network once in production
Easy to add additional floating
networks
nova-network
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images and Storage
Images
Building images talk tomorrow @1:50 in room C123
Format: raw qcow2 vdi ...
Container: bare ami bundle ...
Cloud tech: cloud-init none
Partitioning: fixed dynamic
Drivers: virtio vhost_net xen ...
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images and Storage
Glance
File backed (local)
Alternatives: Swift, CloudFiles, NFS (locally mounted)
Snapshots?
qcow2 format: “snapshot_image_format=qcow2“
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images and Storage
Glance Performance
Network Throughput: 1Gbps = 125MBps (expect ~112MB/s)
RAID 5 - large sequential read/writes
Disk Bandwidth > IOPS
Improve cache - Reduce # of images
Image Size Not Cached Cached
1.4GB 20secs 1sec
16.4GB 2min 21secs 1sec
*times from “creating
image” to “qemu-img
create”
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Images and Storage
Storage
4 focus points: Glance, Compute (local), Cinder, Swift
Glance - Space, Sequential read/write
Compute - random IO
Cinder - Performance, Density
Swift - JBOD, density
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Architecture Examples and Thoughts
1 - 20 physical servers
Single controller
Single API
Single network (1Gbps or 2Gbps)
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Architecture Examples and Thoughts
20-100 servers
HA controllers and load balanced APIs
Swift/CloudFiles for Glance
Availability Zones
Consider “frontend” and “backend”
networks
Compute Node metrics - Dedicated
Machine(s)
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Performance Considerations and Bottlenecks
IO
Random IO
Reduce IO per instance
Block Storage!
Review Hypervisor best practices
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Lessons Learned
Lessons learned
Floating IPs MUST be associated with the “public_interface”
Each piece of OpenStack has its own architecture
Folsom is stable
Migration (live, block) works but scenarios exist where it
doesn’t
OpenStack is still changing often, keep up to date with
current state of the projects
Don’t do Heterogeneous Nodes
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
Operational Updates
nova hypervisor* calls
Image types in Glance
policy.json
Coming in Grizzly:
Cells
Quantum
Better LDAP/AD support
RACKSPACE® HOSTING | WWW.RACKSPACE.COM
But....
But this is a design summit also
Open to
discussions/thoughts/questions
20
RACKSPACE® HOSTING | 5000 WALZEM ROAD | SAN ANTONIO, TX 78218
US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.RACKSPACE.COM
RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM
Rackspace is hiring
www.rackertalent.com

More Related Content

What's hot

Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons Learned
Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons LearnedCeph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons Learned
Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons LearnedCeph Community
 
Performance tuning in BlueStore & RocksDB - Li Xiaoyan
Performance tuning in BlueStore & RocksDB - Li XiaoyanPerformance tuning in BlueStore & RocksDB - Li Xiaoyan
Performance tuning in BlueStore & RocksDB - Li XiaoyanCeph Community
 
Ceph Day San Jose - From Zero to Ceph in One Minute
Ceph Day San Jose - From Zero to Ceph in One Minute Ceph Day San Jose - From Zero to Ceph in One Minute
Ceph Day San Jose - From Zero to Ceph in One Minute Ceph Community
 
Ceph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFSCeph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFSCeph Community
 
Automatic Operation Bot for Ceph - You Ji
Automatic Operation Bot for Ceph - You JiAutomatic Operation Bot for Ceph - You Ji
Automatic Operation Bot for Ceph - You JiCeph Community
 
BlueStore: a new, faster storage backend for Ceph
BlueStore: a new, faster storage backend for CephBlueStore: a new, faster storage backend for Ceph
BlueStore: a new, faster storage backend for CephSage Weil
 
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server Ceph Community
 
Experience In Building Scalable Web Sites Through Infrastructure's View
Experience In Building Scalable Web Sites Through Infrastructure's ViewExperience In Building Scalable Web Sites Through Infrastructure's View
Experience In Building Scalable Web Sites Through Infrastructure's ViewPhuwadon D
 
Ceph and cloud stack apr 2014
Ceph and cloud stack   apr 2014Ceph and cloud stack   apr 2014
Ceph and cloud stack apr 2014Ian Colle
 
Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Community
 
SSD для вашей базы данных, Петр Зайцев (Percona)
SSD для вашей базы данных, Петр Зайцев (Percona)SSD для вашей базы данных, Петр Зайцев (Percona)
SSD для вашей базы данных, Петр Зайцев (Percona)Ontico
 
OSv at Cassandra Summit
OSv at Cassandra SummitOSv at Cassandra Summit
OSv at Cassandra SummitDon Marti
 
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Community
 
Doing QoS Before Ceph Cluster QoS is available - David Byte, Alex Lau
Doing QoS Before Ceph Cluster QoS is available - David Byte, Alex LauDoing QoS Before Ceph Cluster QoS is available - David Byte, Alex Lau
Doing QoS Before Ceph Cluster QoS is available - David Byte, Alex LauCeph Community
 
Migratory Workloads Across Clouds with Nomad
Migratory Workloads Across Clouds with NomadMigratory Workloads Across Clouds with Nomad
Migratory Workloads Across Clouds with NomadPhilip Watts
 
Hosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a serviceHosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a serviceGrzegorz Gwoźdź
 
London HUG 14/4 - Deploying and Discovering at Scale with Consul and Nomad
London HUG 14/4 - Deploying and Discovering at Scale with Consul and NomadLondon HUG 14/4 - Deploying and Discovering at Scale with Consul and Nomad
London HUG 14/4 - Deploying and Discovering at Scale with Consul and NomadLondon HashiCorp User Group
 
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...Ceph Community
 
Ceph QoS: How to support QoS in distributed storage system - Taewoong Kim
Ceph QoS: How to support QoS in distributed storage system - Taewoong KimCeph QoS: How to support QoS in distributed storage system - Taewoong Kim
Ceph QoS: How to support QoS in distributed storage system - Taewoong KimCeph Community
 

What's hot (20)

Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons Learned
Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons LearnedCeph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons Learned
Ceph Day Chicago - Ceph Deployment at Target: Best Practices and Lessons Learned
 
Performance tuning in BlueStore & RocksDB - Li Xiaoyan
Performance tuning in BlueStore & RocksDB - Li XiaoyanPerformance tuning in BlueStore & RocksDB - Li Xiaoyan
Performance tuning in BlueStore & RocksDB - Li Xiaoyan
 
Ceph Day San Jose - From Zero to Ceph in One Minute
Ceph Day San Jose - From Zero to Ceph in One Minute Ceph Day San Jose - From Zero to Ceph in One Minute
Ceph Day San Jose - From Zero to Ceph in One Minute
 
MySQL Head-to-Head
MySQL Head-to-HeadMySQL Head-to-Head
MySQL Head-to-Head
 
Ceph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFSCeph Day San Jose - HA NAS with CephFS
Ceph Day San Jose - HA NAS with CephFS
 
Automatic Operation Bot for Ceph - You Ji
Automatic Operation Bot for Ceph - You JiAutomatic Operation Bot for Ceph - You Ji
Automatic Operation Bot for Ceph - You Ji
 
BlueStore: a new, faster storage backend for Ceph
BlueStore: a new, faster storage backend for CephBlueStore: a new, faster storage backend for Ceph
BlueStore: a new, faster storage backend for Ceph
 
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
 
Experience In Building Scalable Web Sites Through Infrastructure's View
Experience In Building Scalable Web Sites Through Infrastructure's ViewExperience In Building Scalable Web Sites Through Infrastructure's View
Experience In Building Scalable Web Sites Through Infrastructure's View
 
Ceph and cloud stack apr 2014
Ceph and cloud stack   apr 2014Ceph and cloud stack   apr 2014
Ceph and cloud stack apr 2014
 
Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce Ceph Day San Jose - Ceph at Salesforce
Ceph Day San Jose - Ceph at Salesforce
 
SSD для вашей базы данных, Петр Зайцев (Percona)
SSD для вашей базы данных, Петр Зайцев (Percona)SSD для вашей базы данных, Петр Зайцев (Percona)
SSD для вашей базы данных, Петр Зайцев (Percona)
 
OSv at Cassandra Summit
OSv at Cassandra SummitOSv at Cassandra Summit
OSv at Cassandra Summit
 
Ceph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to EnterpriseCeph Day Taipei - Bring Ceph to Enterprise
Ceph Day Taipei - Bring Ceph to Enterprise
 
Doing QoS Before Ceph Cluster QoS is available - David Byte, Alex Lau
Doing QoS Before Ceph Cluster QoS is available - David Byte, Alex LauDoing QoS Before Ceph Cluster QoS is available - David Byte, Alex Lau
Doing QoS Before Ceph Cluster QoS is available - David Byte, Alex Lau
 
Migratory Workloads Across Clouds with Nomad
Migratory Workloads Across Clouds with NomadMigratory Workloads Across Clouds with Nomad
Migratory Workloads Across Clouds with Nomad
 
Hosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a serviceHosting MongoDB & our experience with database as a service
Hosting MongoDB & our experience with database as a service
 
London HUG 14/4 - Deploying and Discovering at Scale with Consul and Nomad
London HUG 14/4 - Deploying and Discovering at Scale with Consul and NomadLondon HUG 14/4 - Deploying and Discovering at Scale with Consul and Nomad
London HUG 14/4 - Deploying and Discovering at Scale with Consul and Nomad
 
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
Ceph Day London 2014 - Best Practices for Ceph-powered Implementations of Sto...
 
Ceph QoS: How to support QoS in distributed storage system - Taewoong Kim
Ceph QoS: How to support QoS in distributed storage system - Taewoong KimCeph QoS: How to support QoS in distributed storage system - Taewoong Kim
Ceph QoS: How to support QoS in distributed storage system - Taewoong Kim
 

Similar to Considerations for building your private cloud folsom update

Consideration for Building a Private Cloud
Consideration for Building a Private CloudConsideration for Building a Private Cloud
Consideration for Building a Private CloudOpenStack Foundation
 
Enterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerEnterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerFernando Barrientos
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Databricks
 
WordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & TuningWordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & TuningTimothy Wood
 
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Databricks
 
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Databricks
 
Crimson: Ceph for the Age of NVMe and Persistent Memory
Crimson: Ceph for the Age of NVMe and Persistent MemoryCrimson: Ceph for the Age of NVMe and Persistent Memory
Crimson: Ceph for the Age of NVMe and Persistent MemoryScyllaDB
 
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfWordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfcodearachnid_test
 
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfWordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfcodearachnid_test
 
Varrow datacenter storage today and tomorrow
Varrow   datacenter storage today and tomorrowVarrow   datacenter storage today and tomorrow
Varrow datacenter storage today and tomorrowpittmantony
 
Considerations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdfConsiderations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdfOpenStack Foundation
 
VMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes EverythingVMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes EverythingVMUG IT
 
Be a Cloud Native
Be a Cloud NativeBe a Cloud Native
Be a Cloud NativeInnoTech
 
Optimize Your Hardware for Drupal
Optimize Your Hardware for DrupalOptimize Your Hardware for Drupal
Optimize Your Hardware for DrupalChristoph Weber
 
It's in the cloud
It's in the cloudIt's in the cloud
It's in the cloudkenperkins
 
Red Hat Storage Day New York - New Reference Architectures
Red Hat Storage Day New York - New Reference ArchitecturesRed Hat Storage Day New York - New Reference Architectures
Red Hat Storage Day New York - New Reference ArchitecturesRed_Hat_Storage
 
RackN Physical Layer Automation Innovation
RackN Physical Layer Automation InnovationRackN Physical Layer Automation Innovation
RackN Physical Layer Automation Innovationrhirschfeld
 

Similar to Considerations for building your private cloud folsom update (20)

Consideration for Building a Private Cloud
Consideration for Building a Private CloudConsideration for Building a Private Cloud
Consideration for Building a Private Cloud
 
Enterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerEnterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual Controller
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
 
WordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & TuningWordCamp RVA 2011 - Performance & Tuning
WordCamp RVA 2011 - Performance & Tuning
 
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
 
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
Apache Spark on Supercomputers: A Tale of the Storage Hierarchy with Costin I...
 
Crimson: Ceph for the Age of NVMe and Persistent Memory
Crimson: Ceph for the Age of NVMe and Persistent MemoryCrimson: Ceph for the Age of NVMe and Persistent Memory
Crimson: Ceph for the Age of NVMe and Persistent Memory
 
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfWordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdf
 
WordCamp RVA
WordCamp RVAWordCamp RVA
WordCamp RVA
 
WordCamp RVA
WordCamp RVAWordCamp RVA
WordCamp RVA
 
WordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdfWordCamp RVA 2011 - Performance & Tuning.pdf
WordCamp RVA 2011 - Performance & Tuning.pdf
 
Varrow datacenter storage today and tomorrow
Varrow   datacenter storage today and tomorrowVarrow   datacenter storage today and tomorrow
Varrow datacenter storage today and tomorrow
 
NVMe over Fabric
NVMe over FabricNVMe over Fabric
NVMe over Fabric
 
Considerations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdfConsiderations for Building Your Private Cloud.pdf
Considerations for Building Your Private Cloud.pdf
 
VMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes EverythingVMware - Virtual SAN - IT Changes Everything
VMware - Virtual SAN - IT Changes Everything
 
Be a Cloud Native
Be a Cloud NativeBe a Cloud Native
Be a Cloud Native
 
Optimize Your Hardware for Drupal
Optimize Your Hardware for DrupalOptimize Your Hardware for Drupal
Optimize Your Hardware for Drupal
 
It's in the cloud
It's in the cloudIt's in the cloud
It's in the cloud
 
Red Hat Storage Day New York - New Reference Architectures
Red Hat Storage Day New York - New Reference ArchitecturesRed Hat Storage Day New York - New Reference Architectures
Red Hat Storage Day New York - New Reference Architectures
 
RackN Physical Layer Automation Innovation
RackN Physical Layer Automation InnovationRackN Physical Layer Automation Innovation
RackN Physical Layer Automation Innovation
 

Considerations for building your private cloud folsom update

  • 1. 1April 2013 Considerations for Building a Private Cloud Folsom Update Ryan Richard, RHCA OpenStack Architect - Private Cloud ryan.richard@rackspace.com @rackninja
  • 2. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Why Folsom?
  • 3. RACKSPACE® HOSTING | WWW.RACKSPACE.COM What is a Private Cloud? Elastic or Traditional Virtualization (hint: Pick One!) Multi-tenant (Multi-Application) Size Private API endpoints Limited inbound connectivity Customized for specific workloads
  • 4. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build with the End in Mind # of instances on this physical host? Flavor: m1.tiny Ram: 512MiB vCPU: 1 Disk: 0 (size of image) Total instances: ? 48 vCPU Ram Disk
  • 5. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build with the End in Mind # of instances on this physical host? Flavor: m1.medium Ram: 4096MiB vCPU: 2 Disk: 10GiB + 40GiB Total instances: 24 vCPU Ram Disk
  • 6. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build with the End in Mind # of instances on this physical host? Flavor: ram heavy Ram: 64GiB vCPU: 8 Disk: 100GiB Total instances: 2 vCPU Ram Disk
  • 7. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Capacity Thoughts Don’t allow disk size of 0 Public Cloud: Limit flavors to image size Private Cloud: Can add flavors for specific application profiles Network Utilization
  • 8. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Capacity Thoughts (resource / resource in smallest flavor) = maximum # of instances per machine Fixed Network - Double or quadruple number of expected instances I can always add more machines.... But you can’t change or modify the fixed network once instances are running
  • 9. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Build with the End in Mind 2 networks (3 w/ floating IPs) 1) Host Network 2) Fixed Network 3) Floating network Easy to add physical nodes and/or networks Don’t try to change the fixed network once in production Easy to add additional floating networks nova-network
  • 10. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images and Storage Images Building images talk tomorrow @1:50 in room C123 Format: raw qcow2 vdi ... Container: bare ami bundle ... Cloud tech: cloud-init none Partitioning: fixed dynamic Drivers: virtio vhost_net xen ...
  • 11. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images and Storage Glance File backed (local) Alternatives: Swift, CloudFiles, NFS (locally mounted) Snapshots? qcow2 format: “snapshot_image_format=qcow2“
  • 12. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images and Storage Glance Performance Network Throughput: 1Gbps = 125MBps (expect ~112MB/s) RAID 5 - large sequential read/writes Disk Bandwidth > IOPS Improve cache - Reduce # of images Image Size Not Cached Cached 1.4GB 20secs 1sec 16.4GB 2min 21secs 1sec *times from “creating image” to “qemu-img create”
  • 13. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Images and Storage Storage 4 focus points: Glance, Compute (local), Cinder, Swift Glance - Space, Sequential read/write Compute - random IO Cinder - Performance, Density Swift - JBOD, density
  • 14. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Architecture Examples and Thoughts 1 - 20 physical servers Single controller Single API Single network (1Gbps or 2Gbps)
  • 15. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Architecture Examples and Thoughts 20-100 servers HA controllers and load balanced APIs Swift/CloudFiles for Glance Availability Zones Consider “frontend” and “backend” networks Compute Node metrics - Dedicated Machine(s)
  • 16. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Performance Considerations and Bottlenecks IO Random IO Reduce IO per instance Block Storage! Review Hypervisor best practices
  • 17. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Lessons Learned Lessons learned Floating IPs MUST be associated with the “public_interface” Each piece of OpenStack has its own architecture Folsom is stable Migration (live, block) works but scenarios exist where it doesn’t OpenStack is still changing often, keep up to date with current state of the projects Don’t do Heterogeneous Nodes
  • 18. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Operational Updates nova hypervisor* calls Image types in Glance policy.json Coming in Grizzly: Cells Quantum Better LDAP/AD support
  • 19. RACKSPACE® HOSTING | WWW.RACKSPACE.COM But.... But this is a design summit also Open to discussions/thoughts/questions
  • 20. 20 RACKSPACE® HOSTING | 5000 WALZEM ROAD | SAN ANTONIO, TX 78218 US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.RACKSPACE.COM RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM Rackspace is hiring www.rackertalent.com

Editor's Notes

  1. Goal: To give ideas on how to build private clouds powered by OpenStack software This talk is to serve as a guide not and end all be all. Ultimately you’ll have to find the right solution for your company. Ask to hold questions till the end
  2. Plan for these talks: We’ve been using and deploying Folsom Private Clouds for 6 months, next Summit, we’ll give a Grizzly Talk Grizzly is quite a different ...”beast”... I’ll focus on some of the Grizzly features at the end
  3. Are you looking for a cheaper VMware or a truly elastic private cloud? OpenStack Can do both but it certainly isn’t a drop in replacement for VMware Private Clouds generally not multi-tenant where tenants are different companies. However they will most likely be Multi-application which is in a sense multi-tenant since different applications require different resources. Size for Talk: Less than 100 nodes Inbound Connectivity: Floating IPs or all instances get public IPs
  4. Problem: don’t know how many virtual machines due to flavors CPU/RAM ratio way off, disk most likely under utilized
  5. Problem: don’t know how many virtual machines due to flavors CPU/RAM closer
  6. Problem: don’t know how many virtual machines due to flavors CPU/RAM ratio way off
  7. You’re the service provider, you must plan for capacity. Similar issues as traditional virt but now users can spin up on demand without going through an ops team public model: limit flavors , can pre plan capacity easily private model: closely watch capacity trends since you can’t plan as well Don’t forget about network utilization
  8. pre-quantum you cannot add/change you fixed network -- Some ability to add different networks but users MUST pass which network they want to use at instance boot time fixed range defines maximum number of IPs per “cluster”
  9. Fixed network is the one thing you need to get right. tell why!! Assigning a floating IP completely changes the way inbound and outbound connectivity happens. I’m giving an entire talk about nova-network tomorrow at 11:50am
  10. format - ISO can be used to create initial image with VNC with Raw - use fixed partitioning qcow2 - gain space saving benefits without losing too much performance over raw
  11. Explain what glance is It’s hard to realistically guess how many images or size of images you’ll be using. Expect Users to snapshot It’s simpler to standardize on base images and use automation tools to configure services within the instances.
  12. SIngle Controller - MySQL, rabbitmq-server, keystone, glance registry/api, nova-scheduler, nova-os-api-compute, nova-cert, nova-vncproxy, horizon Network utilization will be different. Understand your current usage and plan accordingly. If worried about nic saturation, break out your nova services (glance, nova services) to a separate network, Aggregate Bonds
  13. Convey why to consider swift 100 nodes, 2000 instances (20 nodes per), any of them could be snapshotting. Will be a bottleneck frontend backend networks frontend for external connectivity backend for instance to instance, instance to non-openstack server (dedicated DB,
  14. If you’re not using another system (Cinder, SAN, NetApp. etc) for additional storage, IO will need to a top consideration
  15. As I mentioned when starting, every major slide on here could be an entire talk and most of these slides are “lessons learned”
  16. nova calls for stats and instances on a hypervisor new image types, includes ISO policy.json allows you to define which role is allowed to make a specific API call Cells - Mainly used for large clouds (500+ nodes) Quantum - default network manager working LDAP/AD integration expected