Seite 1 von 1

ungültige Einträge für virtuelle Maschinen löschen

Verfasst: 17.08.2018, 05:55
von rprengel
Hallo,

ich habe aus einem ESX 6.5 eine defekte Platte ausbauen müssen und habe jetzt im Webinterface 2 ungültige Einträge für virtuelle Maschinen.
Über den Browser habe ich offenbar keine Optionen die Einträge los zu werden.
Könnte mir jemand einen Tip geben wie ich das auf der Konsole löse. Ich bin da leider nicht so routiniert.

Gruss und Dank

Ralf

Re: ungültige Einträge für virtuelle Maschinen löschen

Verfasst: 17.08.2018, 08:17
von ~thc
In einem Community-Thread befinden sich zwei Ansätze:
This worked for me



vim-cmd /vmsvc/getallvms to list all registered VMs

get the ID of the VM you removed the files for (the first column of output). Mine said invalid vm skipped but showed the ID

vim-cmd /vmsvc/unregister <id> to unregister that VM.

oder
Select the check box of the one "you want to delete" and a "powered on VM" select Actions on top, it should be something you can finally select now. Now select unregister it will notify you that both vms will be removed. But actually only the one vm (or path of that vm\.vmx at the end of the naming convention) you want will be removed because it is powered off. Let me know if this works for you. Or to be safe stand up a test VM and leave it powered on as your second VM. Good luck, let me know if this works for you.

Re: ungültige Einträge für virtuelle Maschinen löschen

Verfasst: 17.08.2018, 08:39
von rprengel
~thc hat geschrieben:In einem Community-Thread befinden sich zwei Ansätze:
This worked for me



vim-cmd /vmsvc/getallvms to list all registered VMs

get the ID of the VM you removed the files for (the first column of output). Mine said invalid vm skipped but showed the ID

vim-cmd /vmsvc/unregister <id> to unregister that VM.

oder
Select the check box of the one "you want to delete" and a "powered on VM" select Actions on top, it should be something you can finally select now. Now select unregister it will notify you that both vms will be removed. But actually only the one vm (or path of that vm\.vmx at the end of the naming convention) you want will be removed because it is powered off. Let me know if this works for you. Or to be safe stand up a test VM and leave it powered on as your second VM. Good luck, let me know if this works for you.


Tip 1 hat gepasst
Tip 2 zieht nicht da ich keinerlei Optionen für den Eintrag angezeigt bekomme

Gruss und Dank

Ralf