This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vmware:troubleshooting [2021/01/07 11:03] – lunetikk | vmware:troubleshooting [2022/09/03 16:27] (current) – lunetikk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== VMware Troubleshooting ===== | + | ====== VMware Troubleshooting |
==== Cant apply or remediate a host profile ==== | ==== Cant apply or remediate a host profile ==== | ||
Line 121: | Line 121: | ||
__Fix:__ \\ | __Fix:__ \\ | ||
- | Connect to your ESX host via ssh and restart the management agents | + | Connect to your ESX host via SSH and restart the management agents |
< | < | ||
/ | / | ||
Line 129: | Line 129: | ||
You should be able to create or remove the snapshot afterwards | You should be able to create or remove the snapshot afterwards | ||
- | [[https:// | + | [[https:// |
+ | [[https:// | ||
+ | [[https:// | ||
==== No coredump target has been configured ==== | ==== No coredump target has been configured ==== | ||
Line 229: | Line 231: | ||
To fix the logrotate/ | To fix the logrotate/ | ||
- | ==== The operation is not allowed in the current state ==== | + | ==== Restore from different datastore |
- | Remove-Snapshot | + | A VM is broken and needs to be restored. To do so you need to copy the VM from the backup datastore to your productive one \\ |
__Reason:__ \\ | __Reason:__ \\ | ||
- | - | + | You dont want to run VMs from your backup datastore \\ |
__Fix:__ \\ | __Fix:__ \\ | ||
+ | Connect to your esx host via ssh and copy the files with " | ||
+ | Make sure you either rename your old .vmdk + flatfile to .old or your restore to something different (rename flat in .vmdk) | ||
+ | <code bash> | ||
+ | cp -a myvm.vmdk / | ||
+ | cp -a myvm-flat.vmdk / | ||
+ | </ | ||
- | Connect | + | With vmkfstools you dont need to edit the flat name inside .vmdk, |
- | + | < | |
- | < | + | vmkfstools -i myvm.vmdk |
- | /etc/init.d/hostd restart | + | |
- | /etc/init.d/vpxa restart | + | |
</ | </ | ||
- | [[https:// | + | \\ |
- | [[https:// | + | |
- | [[https:// | + |