Enthusiast
Enthusiast

How to fix a VM guest to 1 or 2 specific hosts?

Jump to solution

Hi all

From what i can tell/found its not possible to make a specific vm guest only run on two specific hosts in our cluster, is this correct?

At the moment ive disabled its Automation Level in DRS but thats just going to stick it to one host, where as i would like to have it possible to vmotion between 2 of the 7 hosts in our cluster, is this possible?

Cheers

Stewart

Stew
0 Kudos
1 Solution

Accepted Solutions
Expert
Expert

As of now the only option is to disable DRS for the VM.

Can you describe the reasoning behind the request?

-MattG






If you find this information useful, please award points for "correct" or "helpful".

-MattG If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos
5 Replies
Virtuoso
Virtuoso

I don't believe there is a way to do what you're looking for. You can either set the DRS setting per VM to manual or disabled and that will prevent it from moving but only on that one host.

You might be able to do something that I'll call less than ideal but just putting the VM(s) on a datastore that is only visible to the two hosts you want to isolate them to. That will prevent them from starting up via HA should both hosts fail at once, so I don't think it's a good idea, but in theory it should work.

Could you just isolate those two hosts to their own dedicated cluster instead? That seems like the easiest solution.

Matt | http://www.thelowercasew.com | @mattliebowitz
Expert
Expert

As of now the only option is to disable DRS for the VM.

Can you describe the reasoning behind the request?

-MattG






If you find this information useful, please award points for "correct" or "helpful".

-MattG If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos
Enthusiast
Enthusiast

1. I would keep DRS as automatic but most conservative.

2. I would setup those sensitive VMs as manual in Vmware DRS->Virtual Machine Options

That's what I would do.






- Silver

My Vmware blog: http://geeksilverblog.com

- Silver My Vmware blog: http://geeksilverblog.com
Enthusiast
Enthusiast

Yeah thats what ive done at the moment.

Ive heard now that host affinity will be available in vsphere 4.1.....

I wanted to do this because we have two hosts which are better performance, have the nehalem chipset with hyperthreading and we have found they get the best performance for VMs in our farm, so we want to keep our new Oracle server only on these for performance reasons.

Stew
0 Kudos
Enthusiast
Enthusiast

Interesting enough, In my env, I end up with put our database tier and front tier in the same box so we don't need to go through network. Of course, you need to monitor I/O load make sure they don't bottle neck themselves.

- Silver

My Vmware blog:

- Silver My Vmware blog: http://geeksilverblog.com
0 Kudos