vagrant-vsphere
vagrant-vsphere copied to clipboard
allow setting target host for vm
allows loadbalancing vms on the esx hosts
we are using it like
...
(1..30).each do |i|
config.vm.define "client-#{i}" do |client|
client.vm.provider "vsphere"
client.vm.provider :vsphere do |vsphere|
vsphere.name = "client-#{i}"
if i.even?
vsphere.target_host = 'esxhost1'
else
vsphere.target_host = 'esxhost2'
end
end
end
end
...
You might also be interested in my pull request if you use DRS: https://github.com/nsidc/vagrant-vsphere/pull/232
You might also be interested in my pull request if you use DRS: #232
I do not have a licences which provides DRS, thats why i needed this feature
seems to be duplicate of https://github.com/nsidc/vagrant-vsphere/pull/257 why isn't it merged yet?