Skip to content

allow setting target host for vm - #281

Open
alclonky wants to merge 1 commit into
nsidc:masterfrom
alclonky:selecthost
Open

allow setting target host for vm#281
alclonky wants to merge 1 commit into
nsidc:masterfrom
alclonky:selecthost

Conversation

@alclonky

Copy link
Copy Markdown

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

...

@edmcman

edmcman commented Mar 25, 2019

Copy link
Copy Markdown

You might also be interested in my pull request if you use DRS: #232

@alclonky

Copy link
Copy Markdown
Author

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

@alclonky

Copy link
Copy Markdown
Author

seems to be duplicate of #257
why isn't it merged yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants