To unsubscribe from VM to host offline

Hello

We're tyring to make this scenario on my organization:

  • Virtual MACHINE created in a host of our datacenter and stored in a volume of our storage
  • This virtual machine host disconnects
  • Register the virtual computer on a different host to continue its use until the fixing of the problem of the host offline

As vmx and vmdk files are stored in a storage volume, they are available for use on another host that has this volume related to this right?

We tried to use the PowerCLI command below:

$VMXFile= "[mydatastore] SERVER01/SERVER01.vmx"
$ESXHost= "VMHost01.local
New-VM-VMFilePath$VMXFile-VMHost$ESXHost

Foto.png

We could create another virtual machine using the vmdk on storage, but beyond the fact that he must choose a different name for the virtual machine, it creates another structure (folder, vmx and vmdk) VM in the same amount of storage.

Is it possible to cancel the registration of a VM of the inventory when the host is offline?

Hey guys,.

Figured it out!

Because the host is offline, I removed it datacenter inventory... so the VMs inside where the removed too.

Then I could save this VM on a different host.

Is the best way to do it? Don't know...

In any case... Thank you very much!

Tags: VMware

Similar Questions

Maybe you are looking for