0

Is it possible to create a new physical machine in the VmAllocationPolicy file? Usually it is done while creating datacenter.But i wanted to add one during VM Allocation if none of the existing Physical machine can accommodate the VM.

user3753682
  • 187
  • 4
  • 13

1 Answers1

0

Yes, you can add a new Host dynamically after creation.

datacenter.getHostList().add(new Host(...));
Atakan Aral
  • 68
  • 1
  • 7