Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using resouce pools in VMware to divide resouces between development and production

Posted on 2012-03-09
11
Medium Priority
?
567 Views
Last Modified: 2012-03-12
I've read a lot of articles on this and have seen this done many different ways.  Please clarify and comment on the best method to accomplish this.
We have 4 ESXi 5.0 hosts in 1 cluster.  I want to implement resouce pools so we can divide our CPU and memory resouces between production vms and test/dev vms.  I'd like to keep it at about 80% for production and 20% for test/dev.

Would I:

1.  Create one resouce pool under the cluser called Dev, assign it low shares, then put the dev machines in that.  Then all the production machines would reside at top level in cluster and get full resouces?

2.  Create two resource pools.  One for Dev with low shares and one for Prod with high shares.  Move all machines into one or the other.

3.  Create one resouce pool under the cluster named Prod, then a child resouce pool under the Prod resouce pool called Dev?

Any better methods?
0
Comment
Question by:jpletcher1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
11 Comments
 
LVL 19

Accepted Solution

by:
vmwarun - Arun earned 2000 total points
ID: 37703022
I would keep it simple by creating a single resource pool for Dev and make sure that  expandable option is unchecked which will restrict the VMs to the resources available for that specific resource pool. Option 1 of the options which you have mentioned.
0
 
LVL 124
ID: 37703155
Option 2
0
 

Author Comment

by:jpletcher1
ID: 37703225
Hanccocka - can you please give your reasoning at to why that option is best and why the others aren't as good?
0
2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

 
LVL 124
ID: 37703271
This is how Development and Test Resources are restricted, Resources to govern dev, and ringfenced and protected resources for production.

BUT do you currently have Resource issues between production and Dev and Test?

or are you trying to charge back a department?
0
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 37703328
I suggested option 1 since I assumed that you wanted to restrict only the Dev environment which can be achieved by a single resource pool. Prod VMs would be directly deployed under the cluster.
0
 

Author Comment

by:jpletcher1
ID: 37703350
We used to have a 3 host ESX4.x cluster that we used for production servers and a 1 host standalone free version ESX4.x machine that all our dev stuff ran on.  We wanted to be able to manage our dev servers from within vCenter, so we purchased a new server and brought it into our vCenter environment and planned to move our dev machines onto it.  

With that said, we don't have an issue now, but I wanted to put something in place before I move our dev machines over to our vCenter envirnoment.  I am open to prod and dev sharing resources, but I want to make sure that prod always wins if there is contention.  I am also open to setting hard limits for dev if that is the best method in this case.
0
 
LVL 19

Assisted Solution

by:vmwarun - Arun
vmwarun - Arun earned 2000 total points
ID: 37703409
I can state this with an example. Let's say that you have 24GHz of CPU & 24GB of RAM. You want to make sure that Prod always get 18GHz CPU and 18GB of RAM while Dev has 6GHz CPU and 6GB RAM.

I will create a RP called Dev by right clicking the cluster, allocate 6GHz CPU and 6GB RAM and make sure no reservation is set. Set a limit of 6GHz for CPU and 6GB for RAM which will restrict the resource usage to the set limits at the RP level. Leave the rest for Prod usage.
0
 
LVL 124
ID: 37704834
We do not usually create Dev and Production Resource Pools, until Development servers start causing issues with total resources in the farm.

The other reason that our clients like to create pools, is because they like to charge out their resources to deparments, or their department purchased a single development server for the cluster.

So they purposely ring fence those resources of 4 x CPU@2GHz, and 32GB of RAM, in a resource pool, because that's the server they've purchased. (but they have not physically purchased a server in real like, they think they have, but what they have purchased is part of the resource pool in the cluster - if you follow).
0
 

Author Comment

by:jpletcher1
ID: 37709562
hanccocka - I understand, but given my reasons and circumstances, would you agree with arunraju's suggestion to create one resource pool for dev and leave production out at the top of the cluster?
0
 
LVL 124
ID: 37709665
If you are not wanting to charge, or allocate purchased resources.

Personally, I would not create ANY!

Unless, at present your resources are STARVED!

If the situations changes in the future, and Dev does start to affect the performance of the cluster.

The other alternatives is to allocate Reservations and GUARANTEE-ING resources to VMs.
0
 

Author Closing Comment

by:jpletcher1
ID: 37710689
Thanks for the comments guys.  In my case, I wanted something in place to put hard limits on our development servers so that they will never affect production machines.  I could get by without any resource pools as of now, but as our environment fills up I wanted to put some sort of restriction in place for resouces.
0

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question