This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vmware:troubleshooting [2019/10/11 14:48] – 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 228: | Line 230: | ||
| To fix the logrotate/ | To fix the logrotate/ | ||
| + | |||
| + | ==== Restore from different datastore ==== | ||
| + | |||
| + | 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:__ \\ | ||
| + | You dont want to run VMs from your backup datastore \\ | ||
| + | |||
| + | __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 / | ||
| + | </ | ||
| + | |||
| + | With vmkfstools you dont need to edit the flat name inside .vmdk, the tool does this for you if you choose another name | ||
| + | <code bash> | ||
| + | vmkfstools -i myvm.vmdk / | ||
| + | </ | ||
| + | |||
| + | \\ | ||