VMware Cloud Community
chipperjonesrul
Contributor
Contributor

VM not reporting correctly to vcenter after storage issue

vcenter 6.0 (moving to 7 in couple of weeks)

had a storage issue over the weekend, once that was resolved all VMs came back up, but having problem with one VM still.

although VM is powered on and accessible via network,  on Vcenter it shows that it needs to be powered on.

from CLI ran 

[vim-cmd solo/registervm /vmfs/volumes//servername/servername.vmx
(vim.fault.AlreadyExists) {
faultCause = (vmodl.MethodFault) null,
name = "36",
msg = "The specified key, name, or identifier '36' already exists."

then ran: vim-cmd vmsvc/getallvms |grep servername
Skipping invalid VM '36'


and then ran : vim-cmd vmsvc/power.getstate 36
Retrieved runtime info
Powered off

do I just need to unregister VM '36' and register it again?

Reply
0 Kudos
0 Replies