{"id":3519,"date":"2013-10-09T09:00:42","date_gmt":"2013-10-09T13:00:42","guid":{"rendered":"http:\/\/chriscolotti.us\/?p=3519"},"modified":"2014-08-23T06:22:01","modified_gmt":"2014-08-23T10:22:01","slug":"vcloud-resource-management-allocation-pool-without-elastic-vdc","status":"publish","type":"post","link":"https:\/\/chriscolotti.us\/vmware\/vcloud\/vcloud-resource-management-allocation-pool-without-elastic-vdc\/","title":{"rendered":"vCloud Resource Management – Allocation Pool Without Elastic vDC"},"content":{"rendered":"
<\/a><\/p>\n Many service providers have been deploying their services using vCloud Director of the past couple years. \u00a0Of the various models I have seen the Allocation Pool used most often, but there is two ways it can be configured and each way changes the way your virtual machine resources are handled. \u00a0With vCloud Director 5.1 you have the option of enabling Elastic vDC which allows you to span clusters of vSphere hosts. \u00a0It’s very useful, however it manages the virtual machine’s resource differently than when it is not enabled.<\/p>\n Since I returned from the networking world to the vCloud world I decided to get back into the lab and see first hand how it works myself. \u00a0Last year Frank Denneman<\/a> and I co-authored a paper on the vCloud Allocation Models<\/a>\u00a0however it was based on vCloud 1.5 and the Allocation Pool now has this new option.\u00a0 I will break this topic up into a few posts.\u00a0 One covering the Allocation Pool offering without Elastic vDC enabled, another with it enabled, and finally the Reservation Pool and some of the advantages it has. \u00a0Why do I feel this important? \u00a0The more you know about how vCloud Director and vSphere is managing the resources the better you will be able to design your use of the service and maximize the number of workloads you want to run. \u00a0vSphere resource management itself has not changed much, but these changes to the vCloud Allocation models has allowed varying levels of control. \u00a0Knowing how it works may be important to some folks who want to understand and maximize just how many virtual machines they can run in any given provider offering using the Allocation Pool model.<\/p>\n <\/p>\n Many providers list simply the following specifications around their offerings and in various sizes:<\/p>\n What I am going to do is attempt to break down only the compute and memory component of this example without Elastic vDC enabled and then again with it enabled.\u00a0 I feel people can better understand how your virtual machines will be deployed in this offering leading to better consumption of the offering.\u00a0\u00a0 For the vCloud Director savvy this may seem like review, but for the new people to this it’s about education. \u00a0You may not know if your provider has elastic enabled or not, so understanding both examples may empower you to just ask them.<\/p>\n In order to understand further we need to break down the numbers above to what is configured in vCloud Director and thus what is translated to vSphere itself.\u00a0 This is because vSphere is actually what is doing the resource management in most cases. \u00a0vCloud Director is just giving the setting inputs.\u00a0 Below is a basic translation, and we have to remember with this model some settings are applied both to a resource pool and the virtual machines. \u00a0We will cover that later on, but remember this example is WITHOUT elastic vDC enabled.<\/p>\n <\/a><\/p>\n This in turn translates to vSphere as a resource pool with a 20GB limit, and a 20GB Reservation.<\/p>\n <\/a><\/p>\n <\/a><\/p>\n This in turn translates to vSphere as a resource pool with a 10Ghz limit, and a 5GHz Reservation.<\/p>\n <\/a><\/p>\n As you can see so far what gets created with these settings is a single vSphere Resource Pool with a full 20GB of memory reserved for you, along with a limit, or cap, as well. \u00a0The initial 5GHz of CPU is reserved and there is a 10GHz limit you can \u201cburst\u201d into, but not over. \u00a0Simply put is that all your memory is reserved, and half your CPU is also reserved but you can leverage additional CPU resources of the cluster pool with other tenants. \u00a0In both cases you can not go over the limts that have been set. \u00a0So how do these affect virtual machine deployments?\u00a0 Let\u2019s examine the settings of a virtual machine deployed to this model and settings.<\/p>\n The example virtual machine deployed will be your basic 2 vCPU by 2GB variety as that\u2019s pretty common for most people.\u00a0 The thing we need to completely understand from the previous settings is that in the Allocation Pool Model, the percent reservation listed for memory not only applies to the vSphere resource pool, it ALSO applies to the virtual machines deployed.<\/p>\n Once a virtual machine is deployed looking at the vSphere side of things we can see that the following CPU settings are applied.<\/p>\n <\/a><\/p>\n What is tells us is nothing really impactful.\u00a0 The individual virtual machine has no specific machine level CPU reservation or limit.\u00a0\u00a0 Therefore it can leverage what is available in the overall pool of 5GHz and the \u201cburst\u201d space.\u00a0 The memory settings are a little bit different.<\/p>\n <\/a><\/p>\n Here we can see that a 2GB reservation has been applied to the virtual machine.\u00a0 If you recall the vCloud Allocation Pool is set to 100% memory reservation and this Virtual Machine was configured for 2GB.\u00a0 If we shut it down and changed the memory we\u2019d also see this reservation change to match the new settings. \u00a0It’s also something to point out that without elastic vDC enabled there is nothing specific set for the CPU other that the resource pool level having the initial 5GHz reserved. \u00a0Each virtual machine will use that reserved and can go up to the full 10GHz.<\/p>\n Well I am not going to go into the full depth on this as Frank and Duncan have done that plenty over the years.\u00a0 The good news is the fundamental usage of these settings has not changed.\u00a0 What I will also not get into is the topic of overhead reservations or HA admission Control at this point.\u00a0 If you want to know more about that you can read Frank<\/a> and Duncan\u2019s<\/a> books on the topic or the vSphere Resource Management Guide<\/a>.\u00a0 However, it is useful to learn about these topics at some point.<\/p>\n The purpose here is to let you see how much you can carve up a Virtual Private Cloud based on your virtual machine configuration with very “rough” calculations.\u00a0 What we know about Resource Pools and Per Virtual Machine reservations when they are combined is that the individual machine reservation of 2GB is removed from the overall pool of 20GB leaving 18GB left for more virtual machines. You can see as we add more machines, the 20GB pool will have those machines reservations removed from it as well until there is no more water left in the pool.<\/p>\n Simply put as you can roughly determine in a single Allocation Pool \u00a0instance out of the box you can get any number of virtual machines based on the sizing of the machine themselves. \u00a0The basic math for a ballpark as you can see is certainly not rocket science.<\/p>\n If you mixed and matched you\u2019d be somewhere in between of course, and you can add-on more resources as you need to scale to more machines.\u00a0 I should say this is not meant to be a sizing guide, this is for education purposes only so you can see what you can run in your VPC.\u00a0 Stay tuned for the Dedicated Cloud breakdown which is actually pretty interesting.<\/p>\n If you have never really played with reservations and limits I have been saying for over a year as a vCloud Director advocate and architect, you should start understanding them if you want to understand the “why” of how things work. \u00a0I realize many vSphere customers have not deployed reservations on resource pools or even adjusted the per virtual machine settings in-house. \u00a0However, since vCloud Director does it for you it’s maybe worth knowing a little more so you can design applications to maximize the various options.<\/p>\n Much of this changes when you simply enable Elastic vDC so I will cover that in the next post. \u00a0Please leave comments and questions below so the conversation can be useful to others.<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" Many service providers have been deploying their services using vCloud Director of the past couple years. \u00a0Of the various models I have seen the Allocation Pool used most often, but there is two ways it can be configured and each way changes the way your virtual machine resources are handled. \u00a0With vCloud Director 5.1 you …<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[397,19],"tags":[163,194],"jetpack_publicize_connections":[],"yoast_head":"\nWhat You Get<\/h2>\n
\n
Example vCloud Allocation Pool Settings<\/h2>\n
What The vRAM Resources of 20GB Means<\/h3>\n
\n
What The vCPU Resources of 5Ghz with 10Ghz Burstable Means<\/h3>\n
\n
Understanding the Resource Pool Created<\/h2>\n
The Individual Virtual Machine Settings<\/h2>\n
Why Is This Important?<\/h2>\n
\n