-
Notifications
You must be signed in to change notification settings - Fork 29
Tips on booting ESXi host in InfraSIM
Below are tips on booting ESXi in InfraSIM.
-
You can download ESXi image from official VMWare site.
-
For YML configuration. Refer to http://infrasim.readthedocs.io/en/latest/configuration.html. Pay special attention to below options in YML file. The
memory
is suggested to be greater than 4096. Thefeatures
should be set to+vmx
as below:compute: cpu: features: +vmx
For
networks
section, Ifnetwork_mode
is set tobridge
,device
should be set according to actual virtual nic type. Ifnetwork_mode
is set tonat
,device
should be set toe1000
:compute: networks: - device: e1000 network_mode: nat
Set the bootable drive file to path to ESXi image in local VM to run InfraSIM in, and set boot index to that drive device.
We will add support to boot a bootable drive under lsisas3008 controller in future. But it's not supported currently.
-
Check module parameters in VM. The
/sys/module/kvm/parameters/ignore_msrs
must be1
orY
. For Intel processor,/sys/module/kvm_intel/parameters/nested
must be1
orY
. For AMD processor/sys/module/kvm_intel/parameters/nested
must be1
orY
. -
Ensure Promiscuous Mode is set to 'accept'.