Nginx VM
-
@brandon220 said in Nginx VM:
I had a heck of a battle last night with KVM. I converted to VMs built in HV 2019 to KVM on Fedora 29. Had to use dracut and reload the kernel to get them to boot. Took a while as I am not an expert by any means with KVM. I am upgrading a server tonight and still am on the fence about which hypervisor to go with on the new build. I like KVM because it is "lightweight" and has not given me any grief on guests that were built on the host and not migrated to it. I have a handful of HV hosts and no issues either. This new install will only be running Fedora guests. Leaning more towards KVM. I wish there was an "export" feature built into virt-manager.
When you migrate, you always have to rebuild that.
https://mangolassi.it/topic/8351/updating-the-linux-boot-image-before-migrating-from-vmware-to-hyper-v -
@JaredBusch I did have to research it. None of the guides I followed for conversion mentioned it though. I was skeptical that it would work without intervention. It was definitely a learning exercise.
-
@scottalanmiller I'll say it again - I wish KVM had an export function that was a "one-step" process. I know I can do a clone in virt-manager but I want to be able to move the image to a new host, or for just a crude backup. Seems like every other hypervisor has that built in.
What is the proper method to move to another host without shared storage? I know you can create the xml and tar a copy but there has to be an "easier" way.
-
@brandon220 said in Nginx VM:
@scottalanmiller I'll say it again - I wish KVM had an export function that was a "one-step" process.
I think KVM lacks "one step" because it's so simple that no one bothers? You could write a script in 30 minutes to make it one step if you wanted.
-
@brandon220 said in Nginx VM:
I know you can create the xml and tar a copy but there has to be an "easier" way.
That's so easy, I'm not sure what an "easier way" would really look like.
-
@scottalanmiller You are right. It is simple. I just worry that I will mistype a command and corrupt the guest. I worry a lot and over-think things way to often.
-
@brandon220 said in Nginx VM:
@scottalanmiller You are right. It is simple. I just worry that I will mistype a command and corrupt the guest. I worry a lot and over-think things way to often.
I see. Yeah, it's not a GUI.
Does oVirt not offer that? I don't use that to know.
-
@scottalanmiller Don't know. Never looked into it.
-
Another question - Is there any reason NOT to use UEFI boot on all guests in KVM?
-
@brandon220 said in Nginx VM:
@scottalanmiller Don't know. Never looked into it.
What system are you using to "make KVM easy"? oVirt is probably the easiest overall and is where most of the "easy features" come from. Cockpit is by far the easiest for the extreme basics, but lacks enough to be problematic for most.
If you are doing everything manually from the command line, that's why it would seem harder. Compare to Hyper-V from PowerShell only. Both are fine that way, but I bet you'll find KVM way easier.
Then if you are using Hyper-V GUI tools, compare to oVirt as KVM's easy cluster management tool. I bet KVM is again, easier.
-
@scottalanmiller I've just been using virt-manager and some ssh. I have Cockpit running on the host but haven't used it for management. It doesn't seem to reflect the guests that are running in the Cockpit gui. The cockpit-machines package is installed.
-
@brandon220 said in Nginx VM:
It doesn't seem to reflect the guests that are running in the Cockpit gui. The cockpit-machines package is installed.
No, you have to either configure them for that, or build them through Cockpit for them to be seen there.
-
@brandon220 said in Nginx VM:
@scottalanmiller You are right. It is simple. I just worry that I will mistype a command and corrupt the guest. I worry a lot and over-think things way to often.
Same thing could happen if you mistype a PowerShell command on Hyper-V.
-
@black3dynamite said in Nginx VM:
@brandon220 said in Nginx VM:
@scottalanmiller You are right. It is simple. I just worry that I will mistype a command and corrupt the guest. I worry a lot and over-think things way to often.
Same thing could happen if you mistype a PowerShell command on Hyper-V.
This is also why backups are mandatory.
-
@brandon220 said in Nginx VM:
Another question - Is there any reason NOT to use UEFI boot on all guests in KVM?
I wasn't able to create snapshots with UEFI VMs but that was from the GUI. I haven't using tried creating snapshots via command.
-
@black3dynamite I noticed that too. Did not try command yet either.
-
@scottalanmiller I'll concur about Windows here. I use a Win 10 vm made from virt-manager and its smooth as silk. Much better performance than using something like Virtualbox or hyper-V in my opinion.
-
@brandon220 said in Nginx VM:
@scottalanmiller I've just been using virt-manager and some ssh. I have Cockpit running on the host but haven't used it for management. It doesn't seem to reflect the guests that are running in the Cockpit gui. The cockpit-machines package is installed.
There are two sessions, when creating VMs:
(QEMU/KVM) qemu:///system
and(QEMU/KVM user session) qemu:///session
Are you log in with a user that is apart of the libvirt group?
Users that is not apart of the libvirt group will not see any VMs created in the system session. -
@black3dynamite I honestly don't know. I always use a normal user account and elevate privileges when necessary.
-
@scottalanmiller said in Nginx VM:
@brandon220 said in Nginx VM:
I know you can create the xml and tar a copy but there has to be an "easier" way.
That's so easy, I'm not sure what an "easier way" would really look like.
That is NOT as easy as one step. Period...