SlideShare ist ein Scribd-Unternehmen logo
1 von 12
24/09/2012   © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                            1
Prerequisites & Provisioning definition




         © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                        2
Objectives

     Understand what “oversubscription” is
     Get the right list of resource ratios
     Understand how storage system works
     Get the right storage sizing
     Understand what is a flavor
     Get the right list of flavors for your environment
     Understand how golden images works
     Get the right list of images for your environment



                      © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                     3
Oversubscription
   “To sold in excess of available resources"
   We can oversubscribe three different resources:
       Cores per Server
       Memory per Server
       Storage per Zone

   Memory oversubscription is not recommended
       Unexcepted performance  Cannot define a valid SLA

   Cores are oversubscribed using ^2 (1:2, 1:4, 1:8)
   Storage can only oversubscribe if it can autoexpand
       Not recommend, can mislead the user
       Use thin provisioning and deduplication


                             © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                            4
Oversubscription - Exercise
   vCPU and Memory are ALWAYS correlated in “flavors”

   All servers should have the same configuration (can be different, but scheduler is
    not bullet proof)

   Server: 12Cores, 128GB of RAM
    1.   If server has HT, then we can assume 24 cores

    2.   Real memory for Hypervisor, 120GB (4GB per 64GB of Hugepages used explains the 8GB gap)
    3.   Divide 120GB and 24 = 5GB per core.

    4.   Sounds huge to me… let’s oversubscribe the vCPU at 1:2 ratio
    5.   48 vCPU and 2.5GB per VM.

    6.   Still too big? Let’s oversubscribe 1:4

    7.   96 vCPU and 1.25GB per VM




                                   © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                                   5
Storage System
   Openstack was designed for shared-nothing storage (local disks)
   StackOps has modified Nova to use Shared
   Shared storage per Zone must be the aggregate of:
       Images uploaded by Customer and default Images

       Base Images (copy of in-use images (OS disks) and ephemeral (local disks)

       Instance disks (use base-image technology)

       Volumes

   StackOps has modified the Scheduler to not overcommit storage (Ex: checks if the system
    has enough space to allocate the requests)

   Also modified checks in the UI. Enabled Quota control at different levels

   If the size of the shared storage changes, the system detects it automatically.

   Quotas are modified if used the ‘vpc’ command.



                                     © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                                    6
Storage Sizing - Exercise
   We have a maximum of 96 VMs of 1vCPU per server with former calculations

   Let’s assume 10GB of storage for OS Disk
   Let’s assume 10GB of local disk per vCPU (flavor)

   96VM * 20GB = 1920GB

   Let’s assume 10GB per Golden Image and 20 Golden Images

   20 Golden images * 10GB = 200GB

   Let’s assume the customer will create 50 volumes of 20GB each maximum

   50 Volumes * 20GB = 1000GB

   Total Storage per Compute Node added = 1920 + 200 + 1000 = 3120 (3TB)

   As seen, VM density per server is critical.



                           © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                          7
Flavors
   Openstack was designed following AWS vm approach: vCPU x Memory x
    Ephemeral disk size
   Using the shared storage approach and volumes, then may be it’s worth
    to avoid adding ephemeral storage by default
   The concept of flavor was created to maximize server resources usage
   So it’s very important to create the right list of flavours.
   As a rule of thumb, a bigger flavor duplicates resources from smaller
   Very important to avoid server resources fragmentation (Example: 3vCPU
    and 7GB). Again, use ^2




                          © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                         8
Flavors - Exercise
   96 vCPU and 120GB of RAM

   1.25GB per vCPU
   10GB of extra local storage per vCPU

   So the BASE FLAVOR would be: 1vCPU / 1.25GB / 10GB (small)

   And so on…
       2 vCPU / 3GB / 20GB (medium)

       4 vCPU / 6GB / 40GB (large)
       8 vCPU / 12GB / 80GB (extra large)

       16 vCPU / 24GB / 160GB (extra extra large)



   Note: it’s possible to use flavors without local storage.



                                © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                               9
Golden Images
   Golden Images can be in different formats:
       Qcow2

       Raw
       Vmdk

   To calculate the available size in the system, the images must be in raw format.

   Images can be preprovisioned from Head-manager
   Images can be uploaded with glance utility by users

   Anybody can create their own images.

   Existing images inject keypairs at deployment time

   It’s recommended to mount a shared storage with deduplication and compression
    of the filesystem (if possible).



                           © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                                          10
To summarize…


           Oversubscribe CPU


           Do not oversubscribe memory


           Choose flavors to fully use your servers


           Size storage per compute server


           Use raw formats for Golden images


                © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                               11
Thank you!

Visit us in http://www.stackops.com




        © 2011-2012 StackOps Technologies S.L. – All rights reserved
                                                                       12

Weitere ähnliche Inhalte

Was ist angesagt?

Uptime Database Appliance - Technology Preview
Uptime Database Appliance - Technology PreviewUptime Database Appliance - Technology Preview
Uptime Database Appliance - Technology Preview
Uptime Technologies LLC
 
[B4]deview 2012-hdfs
[B4]deview 2012-hdfs[B4]deview 2012-hdfs
[B4]deview 2012-hdfs
NAVER D2
 
Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Day Seoul - Ceph: a decade in the making and still going strong Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Community
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 

Was ist angesagt? (20)

Modeling, estimating, and predicting Ceph (Linux Foundation - Vault 2015)
Modeling, estimating, and predicting Ceph (Linux Foundation - Vault 2015)Modeling, estimating, and predicting Ceph (Linux Foundation - Vault 2015)
Modeling, estimating, and predicting Ceph (Linux Foundation - Vault 2015)
 
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph clusterCeph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
 
Answering the Database Scale Out Problem with PCI SSDs
Answering the Database Scale Out Problem with PCI SSDsAnswering the Database Scale Out Problem with PCI SSDs
Answering the Database Scale Out Problem with PCI SSDs
 
How to build a state-of-the-art rails cluster
How to build a state-of-the-art rails clusterHow to build a state-of-the-art rails cluster
How to build a state-of-the-art rails cluster
 
Couchbase Performance Benchmarking
Couchbase Performance BenchmarkingCouchbase Performance Benchmarking
Couchbase Performance Benchmarking
 
PostgreSQL Query Cache - "pqc"
PostgreSQL Query Cache - "pqc"PostgreSQL Query Cache - "pqc"
PostgreSQL Query Cache - "pqc"
 
Uptime Database Appliance - Technology Preview
Uptime Database Appliance - Technology PreviewUptime Database Appliance - Technology Preview
Uptime Database Appliance - Technology Preview
 
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
 
Breaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWSBreaking IO Performance Barriers: Scalable Parallel File System for AWS
Breaking IO Performance Barriers: Scalable Parallel File System for AWS
 
Ceph Day Tokyo - Bit-Isle's 3 years footprint with Ceph
Ceph Day Tokyo - Bit-Isle's 3 years footprint with Ceph Ceph Day Tokyo - Bit-Isle's 3 years footprint with Ceph
Ceph Day Tokyo - Bit-Isle's 3 years footprint with Ceph
 
[B4]deview 2012-hdfs
[B4]deview 2012-hdfs[B4]deview 2012-hdfs
[B4]deview 2012-hdfs
 
Ceph Day KL - Ceph on All-Flash Storage
Ceph Day KL - Ceph on All-Flash Storage Ceph Day KL - Ceph on All-Flash Storage
Ceph Day KL - Ceph on All-Flash Storage
 
SUSE Storage: Sizing and Performance (Ceph)
SUSE Storage: Sizing and Performance (Ceph)SUSE Storage: Sizing and Performance (Ceph)
SUSE Storage: Sizing and Performance (Ceph)
 
Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Day Seoul - Ceph: a decade in the making and still going strong Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Day Seoul - Ceph: a decade in the making and still going strong
 
Ceph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA UpdateCeph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA Update
 
cosbench-openstack.pdf
cosbench-openstack.pdfcosbench-openstack.pdf
cosbench-openstack.pdf
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
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 Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph Day Taipei - Accelerate Ceph via SPDK
 

Andere mochten auch

Andere mochten auch (17)

Rev motors brochure_oct. 2012
Rev motors brochure_oct. 2012Rev motors brochure_oct. 2012
Rev motors brochure_oct. 2012
 
CPU Optimizations in the CERN Cloud - February 2016
CPU Optimizations in the CERN Cloud - February 2016CPU Optimizations in the CERN Cloud - February 2016
CPU Optimizations in the CERN Cloud - February 2016
 
VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series
 
VMworld 2013: Performance and Capacity Management of DRS Clusters
VMworld 2013: Performance and Capacity Management of DRS Clusters VMworld 2013: Performance and Capacity Management of DRS Clusters
VMworld 2013: Performance and Capacity Management of DRS Clusters
 
z/VM and OpenStack
z/VM and OpenStackz/VM and OpenStack
z/VM and OpenStack
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
 
VMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & MemoryVMworld 2015: Extreme Performance Series - vSphere Compute & Memory
VMworld 2015: Extreme Performance Series - vSphere Compute & Memory
 
Containers - Transforming the data centre as we know it 2016
Containers - Transforming the data centre as we know it 2016Containers - Transforming the data centre as we know it 2016
Containers - Transforming the data centre as we know it 2016
 
IBM Cloud Manager with OpenStack Overview
IBM Cloud Manager with OpenStack OverviewIBM Cloud Manager with OpenStack Overview
IBM Cloud Manager with OpenStack Overview
 
VDI Design Guide
VDI Design GuideVDI Design Guide
VDI Design Guide
 
Continuous Delivery to Amazon ECS - AWS August Webinar Series
Continuous Delivery to Amazon ECS - AWS August Webinar SeriesContinuous Delivery to Amazon ECS - AWS August Webinar Series
Continuous Delivery to Amazon ECS - AWS August Webinar Series
 
10 Sales Meeting Ideas
10 Sales Meeting Ideas10 Sales Meeting Ideas
10 Sales Meeting Ideas
 
VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
Amazon ECS Deep Dive
Amazon ECS Deep DiveAmazon ECS Deep Dive
Amazon ECS Deep Dive
 
Linux BPF Superpowers
Linux BPF SuperpowersLinux BPF Superpowers
Linux BPF Superpowers
 
NUMA Performance Considerations in VMware vSphere
NUMA Performance Considerations in VMware vSphereNUMA Performance Considerations in VMware vSphere
NUMA Performance Considerations in VMware vSphere
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
 

Ähnlich wie Stackops - Openstack Nova sizing & service definition

stackops-sizingservicedefinition-120924025129-phpapp01.pdf
stackops-sizingservicedefinition-120924025129-phpapp01.pdfstackops-sizingservicedefinition-120924025129-phpapp01.pdf
stackops-sizingservicedefinition-120924025129-phpapp01.pdf
VuHoangAnh14
 
Tips and Tricks for SAP Sybase IQ
Tips and Tricks for SAP  Sybase IQTips and Tricks for SAP  Sybase IQ
Tips and Tricks for SAP Sybase IQ
Don Brizendine
 

Ähnlich wie Stackops - Openstack Nova sizing & service definition (20)

stackops-sizingservicedefinition-120924025129-phpapp01.pdf
stackops-sizingservicedefinition-120924025129-phpapp01.pdfstackops-sizingservicedefinition-120924025129-phpapp01.pdf
stackops-sizingservicedefinition-120924025129-phpapp01.pdf
 
Linux on System z Optimizing Resource Utilization for Linux under z/VM - Part1
Linux on System z Optimizing Resource Utilization for Linux under z/VM - Part1Linux on System z Optimizing Resource Utilization for Linux under z/VM - Part1
Linux on System z Optimizing Resource Utilization for Linux under z/VM - Part1
 
Tips and Tricks for SAP Sybase IQ
Tips and Tricks for SAP  Sybase IQTips and Tricks for SAP  Sybase IQ
Tips and Tricks for SAP Sybase IQ
 
Solr on Docker - the Good, the Bad and the Ugly
Solr on Docker - the Good, the Bad and the UglySolr on Docker - the Good, the Bad and the Ugly
Solr on Docker - the Good, the Bad and the Ugly
 
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
Solr on Docker: the Good, the Bad, and the Ugly - Radu Gheorghe, Sematext Gro...
 
How swift is your Swift - SD.pptx
How swift is your Swift - SD.pptxHow swift is your Swift - SD.pptx
How swift is your Swift - SD.pptx
 
Percona Live 2014 - Scaling MySQL in AWS
Percona Live 2014 - Scaling MySQL in AWSPercona Live 2014 - Scaling MySQL in AWS
Percona Live 2014 - Scaling MySQL in AWS
 
SQLintersection keynote a tale of two teams
SQLintersection keynote a tale of two teamsSQLintersection keynote a tale of two teams
SQLintersection keynote a tale of two teams
 
Understanding Elastic Block Store Availability and Performance
Understanding Elastic Block Store Availability and PerformanceUnderstanding Elastic Block Store Availability and Performance
Understanding Elastic Block Store Availability and Performance
 
OOPs, OOMs, oh my! Containerizing JVM apps
OOPs, OOMs, oh my! Containerizing JVM appsOOPs, OOMs, oh my! Containerizing JVM apps
OOPs, OOMs, oh my! Containerizing JVM apps
 
OWF14 - Plenary Session : Thibaud Besson, IBM POWER Systems Specialist
OWF14 - Plenary Session : Thibaud Besson, IBM POWER Systems SpecialistOWF14 - Plenary Session : Thibaud Besson, IBM POWER Systems Specialist
OWF14 - Plenary Session : Thibaud Besson, IBM POWER Systems Specialist
 
Public Cloud Performance Measurement Report
Public Cloud Performance Measurement ReportPublic Cloud Performance Measurement Report
Public Cloud Performance Measurement Report
 
Optimizing your Infrastrucure and Operating System for Hadoop
Optimizing your Infrastrucure and Operating System for HadoopOptimizing your Infrastrucure and Operating System for Hadoop
Optimizing your Infrastrucure and Operating System for Hadoop
 
Your 1st Ceph cluster
Your 1st Ceph clusterYour 1st Ceph cluster
Your 1st Ceph cluster
 
Ceph
CephCeph
Ceph
 
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
Ceph: Open Source Storage Software Optimizations on Intel® Architecture for C...
 
Ceph Performance: Projects Leading up to Jewel
Ceph Performance: Projects Leading up to JewelCeph Performance: Projects Leading up to Jewel
Ceph Performance: Projects Leading up to Jewel
 
Ceph Performance: Projects Leading Up to Jewel
Ceph Performance: Projects Leading Up to JewelCeph Performance: Projects Leading Up to Jewel
Ceph Performance: Projects Leading Up to Jewel
 
How Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver ClusterHow Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver Cluster
 
Tom Kyte and and Cary Milsap - 2013
Tom Kyte and and Cary Milsap - 2013Tom Kyte and and Cary Milsap - 2013
Tom Kyte and and Cary Milsap - 2013
 

Mehr von Stackops

Presentación Openstack Nova - Openstack Spain Group
Presentación Openstack Nova - Openstack Spain GroupPresentación Openstack Nova - Openstack Spain Group
Presentación Openstack Nova - Openstack Spain Group
Stackops
 
La Nube abierta Mitos y Realidades - Why floss 2011
La Nube abierta Mitos y Realidades - Why floss 2011La Nube abierta Mitos y Realidades - Why floss 2011
La Nube abierta Mitos y Realidades - Why floss 2011
Stackops
 

Mehr von Stackops (6)

OpenStack: Opportunities in Europe
OpenStack: Opportunities in EuropeOpenStack: Opportunities in Europe
OpenStack: Opportunities in Europe
 
Cloud Computing in Europe: Facts and Needs
Cloud Computing in Europe: Facts and NeedsCloud Computing in Europe: Facts and Needs
Cloud Computing in Europe: Facts and Needs
 
Openstack Nova APIs
Openstack Nova APIs Openstack Nova APIs
Openstack Nova APIs
 
Presentación Openstack Nova - Openstack Spain Group
Presentación Openstack Nova - Openstack Spain GroupPresentación Openstack Nova - Openstack Spain Group
Presentación Openstack Nova - Openstack Spain Group
 
La Nube abierta Mitos y Realidades - Why floss 2011
La Nube abierta Mitos y Realidades - Why floss 2011La Nube abierta Mitos y Realidades - Why floss 2011
La Nube abierta Mitos y Realidades - Why floss 2011
 
Infraestructura como Servicio - Introducción a Openstack con Stackops
Infraestructura como Servicio - Introducción a Openstack con StackopsInfraestructura como Servicio - Introducción a Openstack con Stackops
Infraestructura como Servicio - Introducción a Openstack con Stackops
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 

Stackops - Openstack Nova sizing & service definition

  • 1. 24/09/2012 © 2011-2012 StackOps Technologies S.L. – All rights reserved 1
  • 2. Prerequisites & Provisioning definition © 2011-2012 StackOps Technologies S.L. – All rights reserved 2
  • 3. Objectives  Understand what “oversubscription” is  Get the right list of resource ratios  Understand how storage system works  Get the right storage sizing  Understand what is a flavor  Get the right list of flavors for your environment  Understand how golden images works  Get the right list of images for your environment © 2011-2012 StackOps Technologies S.L. – All rights reserved 3
  • 4. Oversubscription  “To sold in excess of available resources"  We can oversubscribe three different resources:  Cores per Server  Memory per Server  Storage per Zone  Memory oversubscription is not recommended  Unexcepted performance  Cannot define a valid SLA  Cores are oversubscribed using ^2 (1:2, 1:4, 1:8)  Storage can only oversubscribe if it can autoexpand  Not recommend, can mislead the user  Use thin provisioning and deduplication © 2011-2012 StackOps Technologies S.L. – All rights reserved 4
  • 5. Oversubscription - Exercise  vCPU and Memory are ALWAYS correlated in “flavors”  All servers should have the same configuration (can be different, but scheduler is not bullet proof)  Server: 12Cores, 128GB of RAM 1. If server has HT, then we can assume 24 cores 2. Real memory for Hypervisor, 120GB (4GB per 64GB of Hugepages used explains the 8GB gap) 3. Divide 120GB and 24 = 5GB per core. 4. Sounds huge to me… let’s oversubscribe the vCPU at 1:2 ratio 5. 48 vCPU and 2.5GB per VM. 6. Still too big? Let’s oversubscribe 1:4 7. 96 vCPU and 1.25GB per VM © 2011-2012 StackOps Technologies S.L. – All rights reserved 5
  • 6. Storage System  Openstack was designed for shared-nothing storage (local disks)  StackOps has modified Nova to use Shared  Shared storage per Zone must be the aggregate of:  Images uploaded by Customer and default Images  Base Images (copy of in-use images (OS disks) and ephemeral (local disks)  Instance disks (use base-image technology)  Volumes  StackOps has modified the Scheduler to not overcommit storage (Ex: checks if the system has enough space to allocate the requests)  Also modified checks in the UI. Enabled Quota control at different levels  If the size of the shared storage changes, the system detects it automatically.  Quotas are modified if used the ‘vpc’ command. © 2011-2012 StackOps Technologies S.L. – All rights reserved 6
  • 7. Storage Sizing - Exercise  We have a maximum of 96 VMs of 1vCPU per server with former calculations  Let’s assume 10GB of storage for OS Disk  Let’s assume 10GB of local disk per vCPU (flavor)  96VM * 20GB = 1920GB  Let’s assume 10GB per Golden Image and 20 Golden Images  20 Golden images * 10GB = 200GB  Let’s assume the customer will create 50 volumes of 20GB each maximum  50 Volumes * 20GB = 1000GB  Total Storage per Compute Node added = 1920 + 200 + 1000 = 3120 (3TB)  As seen, VM density per server is critical. © 2011-2012 StackOps Technologies S.L. – All rights reserved 7
  • 8. Flavors  Openstack was designed following AWS vm approach: vCPU x Memory x Ephemeral disk size  Using the shared storage approach and volumes, then may be it’s worth to avoid adding ephemeral storage by default  The concept of flavor was created to maximize server resources usage  So it’s very important to create the right list of flavours.  As a rule of thumb, a bigger flavor duplicates resources from smaller  Very important to avoid server resources fragmentation (Example: 3vCPU and 7GB). Again, use ^2 © 2011-2012 StackOps Technologies S.L. – All rights reserved 8
  • 9. Flavors - Exercise  96 vCPU and 120GB of RAM  1.25GB per vCPU  10GB of extra local storage per vCPU  So the BASE FLAVOR would be: 1vCPU / 1.25GB / 10GB (small)  And so on…  2 vCPU / 3GB / 20GB (medium)  4 vCPU / 6GB / 40GB (large)  8 vCPU / 12GB / 80GB (extra large)  16 vCPU / 24GB / 160GB (extra extra large)  Note: it’s possible to use flavors without local storage. © 2011-2012 StackOps Technologies S.L. – All rights reserved 9
  • 10. Golden Images  Golden Images can be in different formats:  Qcow2  Raw  Vmdk  To calculate the available size in the system, the images must be in raw format.  Images can be preprovisioned from Head-manager  Images can be uploaded with glance utility by users  Anybody can create their own images.  Existing images inject keypairs at deployment time  It’s recommended to mount a shared storage with deduplication and compression of the filesystem (if possible). © 2011-2012 StackOps Technologies S.L. – All rights reserved 10
  • 11. To summarize… Oversubscribe CPU Do not oversubscribe memory Choose flavors to fully use your servers Size storage per compute server Use raw formats for Golden images © 2011-2012 StackOps Technologies S.L. – All rights reserved 11
  • 12. Thank you! Visit us in http://www.stackops.com © 2011-2012 StackOps Technologies S.L. – All rights reserved 12