If in VMware you find machines in the "Invalid" status, but there is no way to turn them on or off, change the settings, follow these steps:
1. Enable the SSH service on the ESXi host where the problem machine is currently located, and connect there.
2. To get the IDs of machines with the status "Invalid" do:
vim-cmd vmsvc/getallvms | grep invalid
For example, the output will be as follows:
Skipping invalid VM '2283'
where 2283 - virtual machine ID.
3. To restore functionality, do:
vim-cmd vmsvc/reload 2283
4. Update the VMware client interface to see the result.
1. Enable the SSH service on the ESXi host where the problem machine is currently located, and connect there.
2. To get the IDs of machines with the status "Invalid" do:
vim-cmd vmsvc/getallvms | grep invalid
For example, the output will be as follows:
Skipping invalid VM '2283'
where 2283 - virtual machine ID.
3. To restore functionality, do:
vim-cmd vmsvc/reload 2283
4. Update the VMware client interface to see the result.
No comments:
Post a Comment