SlideShare a Scribd company logo
Introduction to Explicit Dedication
of Resources
Apache CloudStack

Saksham Srivastava
CloudStack Developer
InfraStructure Layout
Zone

Pod

Cluster

Host
Explicitly Dedicating resources
• Allowing CloudStack infrastructure to be
dedicated to specific users/accounts.
• What can be dedicated ?
Zone / Pod / Cluster / Host
Why dedicate
• CloudStack is multi tenant architecture
• A tenant wants reserved hardware usable only
by him and his users.
• Premium user wants to have his vms staying on
hosts dedicated to him (pro-affinity).
• Allows dedicated compute available to the user.
Dedicated Resources
• Only the account/domain to which the resource has
been dedicated can use the dedicated resource.
• If a cluster is dedicated to an account, all the hosts in
it are also dedicated to the same account
• If a pod is dedicated, all clusters in it are also
dedicated
• Similarly if a zone is dedicated, all pods are also
dedicated
APIs
Dedicating
Resources
dedicateZone
dedicatePod
dedicateCluster
dedicateHost

Release dedication of
Resources
releaseDedicatedZone
releaseDedicatedPod
releaseDedicatedCluster
releaseDedicatedHost

Listing Dedicated
Resources
listDedicatedZones
listDedicatedPods
listDedicatedClusters
listDedicatedHost
Affinity Group
• When a resource is dedicated to an
account/domain CloudStack internally creates an
affinity group of type ExplicitDedication
• CloudStack internally refers it as Processor and
uses it decide the vm deployment location.
• If the account uses this affinity group while
deploying the vm, the vm will be placed on the
resource dedicated to it
• If this affinity group is not chosen, the vm is
deployed on shared host (non-dedicated host)
A simple scenario
•
•
•
•
•

2 accounts Blue and Red
3 Hosts
Host 1 dedicated to account Blue
Host 3 dedicated to account Red
Host 2 is undedicated (shared)
Host Dedicated to
account Blue

Shared Host

Host Dedicated to
account Red

A

A

A

VM deployed from account Blue using affinity group

A

VM deployed from account Red using affinity group
VM deployed from account Blue without affinity group
VM deployed from account Red without affinity group
Note
• Only Root admin can dedicate/release
• System VMs and Virtual Router do not adhere
to explicit dedication as they are owned by
the system account and can be deployed on
any host.
• Admin can live migrate a VM deployed on
dedicated resource to a resource not owned
by the account, but suitable alerts are
generated by CloudStack
Resources
• This is an introduction to Explicit dedication.
Please refer to the Functional Specification for
more detailed explanation :
https://cwiki.apache.org/confluence/display/CLO
UDSTACK/Dedicated+Resources++Private+zone%2C+pod%2C+cluster%2C+host+Fu
nctional+Spec
Thanks,
Saksham Srivastava
@sakkuboy

More Related Content

PPTX
Always on in SQL Server 2012
PPTX
Cf summit2014 roadmap
PDF
Implementing sql server always on
PDF
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
PPT
OEM_Case_Study_ABC
PPTX
High Availability & Disaster Recovery with SQL Server 2012 AlwaysOn Availabil...
PPTX
Sql server’s high availability technologies
PDF
Tips to install and manage always on availability groups in sql server 2012 &...
Always on in SQL Server 2012
Cf summit2014 roadmap
Implementing sql server always on
SQL Server AlwaysOn for Dummies SQLSaturday #202 Edition
OEM_Case_Study_ABC
High Availability & Disaster Recovery with SQL Server 2012 AlwaysOn Availabil...
Sql server’s high availability technologies
Tips to install and manage always on availability groups in sql server 2012 &...

What's hot (20)

PPTX
Sql server 2012 - always on deep dive - bob duffy
PPTX
eCAP Developer Walkthru
PPTX
Apache Curator: Past, Present and Future
PPTX
Sql server 2012 ha dr 24_hop_final
PPTX
Wrapper formulas saltconf 2016
PDF
SAP on Azure Web Dispatcher High Availability
PPTX
Disaster Recovery Synapse
PDF
Aem offline content
PPTX
Weblogic server cluster
PDF
Running Spark on Mesos
PPTX
DC/OS: The definitive platform for modern apps
PDF
Fundamentals of SQL Server 2012 Availability groups
PDF
Introduction to weblogic
PDF
Managing and Configuring Databases
PPTX
Migrate Oracle database to Amazon RDS
PDF
CEP Integration for Apache Stratos 4.0.0
PPTX
Architecture of Falcon, a new chat messaging backend system build on Scala
PPT
Weblogicserveroverviewtopologyconfigurationadministration
PDF
Oracle Weblogic Server 11g: System Administration I
PPTX
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
Sql server 2012 - always on deep dive - bob duffy
eCAP Developer Walkthru
Apache Curator: Past, Present and Future
Sql server 2012 ha dr 24_hop_final
Wrapper formulas saltconf 2016
SAP on Azure Web Dispatcher High Availability
Disaster Recovery Synapse
Aem offline content
Weblogic server cluster
Running Spark on Mesos
DC/OS: The definitive platform for modern apps
Fundamentals of SQL Server 2012 Availability groups
Introduction to weblogic
Managing and Configuring Databases
Migrate Oracle database to Amazon RDS
CEP Integration for Apache Stratos 4.0.0
Architecture of Falcon, a new chat messaging backend system build on Scala
Weblogicserveroverviewtopologyconfigurationadministration
Oracle Weblogic Server 11g: System Administration I
SQL 2014 AlwaysOn Availability Groups for SharePoint Farms - SPS Sydney 2014
Ad

Similar to Explicit Dedication of Resources in CloudStack (20)

PDF
Hacking apache cloud stack
PDF
CloudStack - LinuxFest NorthWest
PPTX
Cloud stack overview
PDF
CloudStack Architecture and Refactor
PPTX
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
PPTX
CloudStack Overview
PPTX
Getting Started with Apache CloudStack
PDF
Txlf2012
PPTX
CloudStack Build A Cloud Day (SCaLE 2013)
ODP
Build a Cloud Day - CloudStack
ODP
Build a Cloud Day - CloudStack
PDF
CloudStack Networking at CloudOpen Japan
PDF
Giles Sirett: Introduction and CloudStack news
PDF
Cloudstack for beginners
PPTX
Successfully deploy build manage your cloud with cloud stack2
PDF
CloudStack In Production
PPTX
Openstack Icehouse IaaS Presentation
PPTX
Apache CloudStack: API to UI (STLLUG)
PPTX
Apache CloudStack from API to UI
PPTX
Deploying Apache CloudStack from API to UI
Hacking apache cloud stack
CloudStack - LinuxFest NorthWest
Cloud stack overview
CloudStack Architecture and Refactor
vBACD - Deploying Infrastructure-as-a-Service with CloudStack - 2/28
CloudStack Overview
Getting Started with Apache CloudStack
Txlf2012
CloudStack Build A Cloud Day (SCaLE 2013)
Build a Cloud Day - CloudStack
Build a Cloud Day - CloudStack
CloudStack Networking at CloudOpen Japan
Giles Sirett: Introduction and CloudStack news
Cloudstack for beginners
Successfully deploy build manage your cloud with cloud stack2
CloudStack In Production
Openstack Icehouse IaaS Presentation
Apache CloudStack: API to UI (STLLUG)
Apache CloudStack from API to UI
Deploying Apache CloudStack from API to UI
Ad

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PPTX
A Presentation on Artificial Intelligence
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Cloud computing and distributed systems.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
A Presentation on Artificial Intelligence
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Cloud computing and distributed systems.
The AUB Centre for AI in Media Proposal.docx
A comparative analysis of optical character recognition models for extracting...
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx
Machine Learning_overview_presentation.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation_ Review paper, used for researhc scholars
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectral efficient network and resource selection model in 5G networks

Explicit Dedication of Resources in CloudStack

  • 1. Introduction to Explicit Dedication of Resources Apache CloudStack Saksham Srivastava CloudStack Developer
  • 3. Explicitly Dedicating resources • Allowing CloudStack infrastructure to be dedicated to specific users/accounts. • What can be dedicated ? Zone / Pod / Cluster / Host
  • 4. Why dedicate • CloudStack is multi tenant architecture • A tenant wants reserved hardware usable only by him and his users. • Premium user wants to have his vms staying on hosts dedicated to him (pro-affinity). • Allows dedicated compute available to the user.
  • 5. Dedicated Resources • Only the account/domain to which the resource has been dedicated can use the dedicated resource. • If a cluster is dedicated to an account, all the hosts in it are also dedicated to the same account • If a pod is dedicated, all clusters in it are also dedicated • Similarly if a zone is dedicated, all pods are also dedicated
  • 7. Affinity Group • When a resource is dedicated to an account/domain CloudStack internally creates an affinity group of type ExplicitDedication • CloudStack internally refers it as Processor and uses it decide the vm deployment location. • If the account uses this affinity group while deploying the vm, the vm will be placed on the resource dedicated to it • If this affinity group is not chosen, the vm is deployed on shared host (non-dedicated host)
  • 8. A simple scenario • • • • • 2 accounts Blue and Red 3 Hosts Host 1 dedicated to account Blue Host 3 dedicated to account Red Host 2 is undedicated (shared)
  • 9. Host Dedicated to account Blue Shared Host Host Dedicated to account Red A A A VM deployed from account Blue using affinity group A VM deployed from account Red using affinity group VM deployed from account Blue without affinity group VM deployed from account Red without affinity group
  • 10. Note • Only Root admin can dedicate/release • System VMs and Virtual Router do not adhere to explicit dedication as they are owned by the system account and can be deployed on any host. • Admin can live migrate a VM deployed on dedicated resource to a resource not owned by the account, but suitable alerts are generated by CloudStack
  • 11. Resources • This is an introduction to Explicit dedication. Please refer to the Functional Specification for more detailed explanation : https://cwiki.apache.org/confluence/display/CLO UDSTACK/Dedicated+Resources++Private+zone%2C+pod%2C+cluster%2C+host+Fu nctional+Spec