Skip to content

Tips on booting ESXi host in InfraSIM

June edited this page May 11, 2017 · 9 revisions

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. The features should be set to +vmx as below:

    compute:
        cpu: 
            features: +vmx
    

    For networks section, If network_mode is set to bridge, device should be set according to actual virtual nic type. If network_mode is set to nat, device should be set to e1000:

    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 be 1 or Y. For Intel processor, /sys/module/kvm_intel/parameters/nested must be 1 or Y. For AMD processor /sys/module/kvm_amd/parameters/nested must be 1 or Y.

  • Ensure Promiscuous Mode is set to 'accept'.