Solved

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

Posted on 2012-03-09
11
551 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 500 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 120
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 120
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 500 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 120
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 120
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

737 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