VMware Cloud Community
twashington17
Enthusiast
Enthusiast

migrate host to identical hardware

My ESXi 6.5 host boots from a USB flash drive and the VMs are on a iSCSI datastore with MPIO. I have another machine that is identical to my current host - same exact make/model, CPU, mobo and on-board NIC. If I bring over all the memory, all the PCI-E & PCI cards (dual NIC, TV tuner & graphics card) and put them in the same exact slots as the 1st host, will the 2nd host and the VMs boot without any problems and maintain the configuration? If not, is there something I have to do to get them all to boot successfully and keep the config intact?

0 Kudos
3 Replies
DavoudTeimouri
Virtuoso
Virtuoso

I think, if you have passthru devices, you have to reconfigure your machines but there is no problem about booting machines.

Also it's better to install fresh ESXi on second host and restore configuration on that.

The below links are useful for create backup and restore configuration:

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=20421...

http://www.virtuallyghetto.com/2013/02/how-to-backup-restore-free-esxi-host.html

http://www.vladan.fr/free-esxi-configuration-backup-tool/

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/
0 Kudos
thecloudxpert
Enthusiast
Enthusiast

You might find it advantageous to remove the VMs from inventory on your current host (so they stay on the iSCS datastore).  Migrate your hardware, configure esxi, configure the iSCSI datastore and then import the VMs from the datastore.  They are "just" files afterall.

0 Kudos
twashington17
Enthusiast
Enthusiast

Before I saw the first reply I went ahead and migrated everything over (didn't backup+restore config, just straight up moved everything over). ESXi booted, it retained static IP, retained datastores (which means it retained iSCSI/MPIO config) and VMs booted (they prompted me with that moved or copy question upon starting). So it looks like it does just work for the most part on identical hardware. I couldn't verify anything else (like the directpath/passthru stuff) as the host produced a PSOD (related to an isolated issue I'm currently troubleshooting, not this switcharoo/migration).

0 Kudos