Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DRS question.

Posted on 2016-08-17
14
Medium Priority
?
109 Views
Last Modified: 2016-08-24
We have recently added a new host to our VMware 5.5 cluster.  Currently, we have turned off DRS to make sure no VM being migrated to the new host.  

Besides turning off DRS at the cluster level, is there a way we can prevent any VM from being moved into the new host?  

We want the DRS option to be available only for the previous hosts to load balance each other until the new host is fully in production.  

Thanks.
0
Comment
Question by:nav2567
[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
  • 5
  • 4
  • 4
  • +1
14 Comments
 
LVL 11

Accepted Solution

by:
Richardson Porto earned 800 total points
ID: 41759330
You could create a affinity rule to avoid virtual machines to run on the new host. Take a look here for additional details: https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.resmgmt.doc%2FGUID-D2E5FBE2-E4BF-48B1-BF02-BF37AE9D5F21.html
0
 
LVL 123

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 800 total points
ID: 41759385
Put the Host in maintenance mode will stop any VMs being migrated to it.
0
 

Author Comment

by:nav2567
ID: 41759684
Andrew, if I put the new host in maintenance mode, whatever VMs running in the new host will still be functioning, right?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 123
ID: 41759690
No, they will be moved.

What are you trying to do?

If the host is not fully in production, it should not have been added to the cluster! It should be tested first, and then moved finally into the Cluster for Production.

You will also need to disable HA, because in the event a Host Crashes, VMs will be restarted on the new host.

Also remember DRS is not a load balancer, it moves a VM, if the current host cannot satisfy it's resources it requires e.g. CPU and Memory.

and if you leave DRS ON, and set to MANUAL, no VMs are going to move anywhere, unless you manually do something.
0
 

Author Comment

by:nav2567
ID: 41759693
Sorry that I did not make the question clear.  

We add a new host to a cluster, move a group of VMs into this new host.  We do not want any more VM being moved as a result of DRS.

Besides turning off DRS at the cluster level which impacts the previous hosts in the cluster, is there a better way to do it?

Thanks.
0
 
LVL 123
ID: 41759706
What we do, if you are trying to build confidence in your new host, is we set DRS ON and MANUAL....

So, this will stop any VMs automatically moving around your cluster, and then run the DRS review, manually move VMs using vMotion (a human does this) to satisfy DRS conditions and CPU and Memory pressure - if any exists...

 and we then only move low priority VMs to test this new host, until we are happy all is working well, to set DRS back to AUTOMATIC, Aggressive.

How long you test and build confidence in this new host is based on your Test Plan.
0
 
LVL 11

Expert Comment

by:Richardson Porto
ID: 41759715
Another option, instead of disable DRS, is let it Fully Automated and change the migration threshold to a level different than the level 3 (default). For example, changing the migrating threshold to level 1 (conservative) will only apply recommendations that must be taken to satisfy cluster constraints like affinity rules and host maintenance.
0
 

Author Comment

by:nav2567
ID: 41760942
Thanks, guys.  

I am not familiar.  Would you provide instruction on how to set DRS to different level?  

Thanks.
0
 
LVL 11

Expert Comment

by:Richardson Porto
ID: 41760945
0
 
LVL 123
ID: 41761200
set to manual.
0
 

Author Comment

by:nav2567
ID: 41762312
For of all, thanks for your useful suggestions.

Currently, there are 5 VMs in the new host and DRS is set to off.  

To see the threshold settings, I will have to enable DRS again.  Other VMs will be moved to the new host as it has more resources.  

Is there a way that I can enable DRS but exclude the new host to be involved?

If I enable DRS, set automation level to MANUAL, migration threshold to MEDIUM, I think no migration will occur, right?  What is the different between doing this and disable DRS?
0
 
LVL 11

Expert Comment

by:Richardson Porto
ID: 41762384
If I enable DRS, set automation level to MANUAL, migration threshold to MEDIUM, I think no migration will occur, right?
Yes, only recommendations will be generated but no automatic migration will occur.

What is the different between doing this and disable DRS?
The difference is that on DRS enable in manual mode, the DRS will evaluate the resource utilization of your cluster and made migration recommendation. With DRS disable, no evaluation or recommendation will be generated.

Again, I believe that the best scenario for you is create Affinity Rules, that will allow DRS run in Fully Automated mode and avoid unwanted virtual machines be migrated to the new host.
0
 
LVL 123
ID: 41762391
Disable DRS and it does not function.
0
 
LVL 1

Assisted Solution

by:patron
patron earned 400 total points
ID: 41764123
if u want host to be balanced except this new host so get this host out  from cluster till it is ready to move in production
or keep in maintenance mode till u get it ready for balanced cluster
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

721 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