5 Essential Tips for Maximizing Your Experience at Nutanix .NEXT for Bloggers
With help of a bunch of great Nutanix people, here is the fix. Keep in mind this is FOR CE ONLY and for a SINGLE NODE scenario. This has NOTHING TO DO WITH PRODUCTION systems and should NOT be used with these. For that, open a case with Nutanix so they assist you with issues with real, production hardware.With that in mind…Fix for CVM that disappears after a power failureSSH into the AHV (I do hope you at least know the AHV IP...) Find the CVM name. ls -lah /var/log/libvirt/qemu ls -lah /var/log/libvirt/qemu You should see a log file named NTNX-<BLOCK_SERIAL>-<NODE>-CVM.log (i.e., NTNX-ae965403-A-CVM.log). This is the CVM VM name (of course, without the log extension). Run pwd just to make sure you are in the /root directory. Make a copy of the NTNX-VM.XML file cp NTNX-VM.xml NTNX-ae965403-A-CVM.xml (again, this is the name you got from the log file) Edit the file (you can use NANO or VI if you do hate yourself) and check if the name inside is correct (Second line that s
Ok no go. I tried the virsh undefine command after copying the NTNX-CVM.XML file to the /var/run/libvirt/qemu (modified it and copied with the proper name with the block/etc) and I get an error:Not sure what that means LOL. That said if that does not work, the virsh define also fails and I cannot start the CVM. The storage I think is there as I can at least see something with LSPCI:I assume this show the hardware can see that I have the two Samsung NVMes…CR
Just keeping this thread in parallel with the one on Reddit, since it’s the same issue. I don't think AHV is marking anything as bad, I think it just can't seem to locate the VM definition itself for the CVM (or it is corrupt). lspci will validate if CE can see the NVMe drives or not. The VM xml for the CVM is stored in /var/run/libvirt/qemu I believe (I'm travelling so don't have access to my CE cluster right now to doublecheck). It can be rebuilt if necessary. Ok I got a PDF that explains how to rebuild the XML file. I just did it and rebooted the Supermicro (E200-8D, 128GB RAM, 120GB WD SSD for AHV, two Samsung EVO 1TB for VMs/CVM/etc). Let's see what happens…CR
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.