Hass.io on VMWare ESXi 6.7 - Step By Step

Is below what you mean?

Does my up-to-date hass comply with:?

  • Verify that the client computers have USB controller hardware and modules that support USB 3.1, 2.0, and 1.1 devices present.
  • To use the xHCI controller on a Linux guest, verify that the Linux kernel version is 2.6.35 or later.

And… If I have currently 3 devices passed through by “device path id” (the long names with characters) will I get a lot of hassle if I remove the 3 individual usb device passthrough’s and add the usb controller passthrough? Will the names be easily identifiable? :see_no_evil:

1 Like

What hardware server do you have?

About names, no idea, but you can easily change afterwards… Probably detected on another id port

You can use PCI passthrough to pass an entire USB controller through to a guest. You’ll need to enable it first then probably reboot before you can attach to a VM. Make sure it’s the right one.

I’m running on esxi 6.0, was running fine for months but won’t boot after a power outage.

I’ve been looking into this a bit… is this a problem with my esxi? I haven’t changed any settings recently on the vm settings.

Is somebody able to change the controller type from ide to something else, i also have boot issues on a hard poweroutage im going to try the clone and reassign option and report back.

See my comments above, I was able to change it to VMWare Paravirtual.

yes same here, but the disk itself can then be set to sata? instead of ide?

hmm i did the cloning on esxi 7.0 and reconnected the cloned disk, and its booting as scsi :smiley:

For some reason Esxi&Hass.io official .vmdk is much slower than my old Ubuntu&HA in Docker. Bot has 4GB of memory.

First tab: Ubuntu&HA
Second tab: Hassio .vmdk

top is showing 0% cpu use and there is a lot of free memory.

Theoretically it should be faster, because it has slimmer host OS, in practice it is much slower and I don’t understand why.

Has anyone done a recovery of a “online” backed up VM?
Today i tried to restore a backup i did last week, and it could not be recovered.
Had absolutely no problem with offline backups.

Thanks for creating this guide. I used Esxi previously and decided to move back. This guide helped me remember the small things.

Can image from first post be used also for ESXi 7 ?

Hello - thanks for a great guide. I have been able to set this up on my ESXi 6.5.0 server and it seemed to run fine - I was able to complete the basic setup and integrate Ring, Sonos etc. and get that warm comfortable feeling of success.

But then disaster - I installed the File Editor add-on and not only did saving a file edit corrupt the disk of the VM but it crashed the ESXi host too. :boom: The box needed power-cycling to come back up and then the disk image needed repairing with

vmkfstools -x repair /vmfs/volumes/<datastorepath>/<vm name>/<vm name main base disk>.vmdk

Then I noticed a whole load of disk IO and DMA errors on the VM console - running “ha check” produces a whole load of them:

Any idea wth is going on there? It looks like a bad configuration somewhere in the VM disk setup, but where? I will upgrade the host to ESXi 7.0 and see if that is better.

Thanks for the guide. VM seems to be working fine from my ESXi local storage, but not from vSan.
I guess the vmdk is still using some legacy workstation type. If I get a chance I’d try to V2V it to native vSphere format. It’s a shame that there isn’t a proper OVA template for VMWare vsphere.

My esxi ha va is crashing after some hours since last upgrade 2017.1 is anybody having the same?
Trying to understand if it is related to the release

Ive got two VMs running 2017.X with no issues.

I have been using HA for a while in ESXI but each time i have an issue with the host my VM crashes and I need to do vmkfstools -x repair. What could the reason be? ONe time i had to rebuild it complety which is kind of a pain.

What can I check or could to for this not to come backk?

Anyone got it to work on ESXI 5.5? After the initial setup of the vm it works, but after a restart i get this error

I have tried the setup multiple times, even on different hosts, but still get the same error.

The only place where my setup deviates from the guide is in step 6 where i selected “Debian GNU/Linux 6 (64-bit)” because that was the highest version of Debian i could choose. I have allso tried “Other Linux” for the guest os.

I’ve got HA running on a Intel NUC with esxi 6.7u3 for about a year now incl Zigbee and ZWave USB device. I would like to build a new VM from scratch but was wondering if it is possible to restore a backup from my current HA VM. What about the add-in etc. Will these install automatically or do I have to install them by hand before restore?

Why not make a snapshot ? And restore the VM snapshot?