Nginx VM
-
@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...
-
@Dashrender said in Nginx VM:
@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...
Just because there are fewer steps doesn't make those steps easier. So how much easier is it?
-
Is any platform really just one step? There is a lot of detail needed to move a VM from one machine to another. A single step can't account for all of that. I don't think Hyper-V or ESXi offer that, either.
-
@black3dynamite said in Nginx VM:
@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.
In KVM, you can't snapshot UEFI VM's.
-
@FATeknollogee said in Nginx VM:
@black3dynamite said in Nginx VM:
@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.
In KVM, you can't snapshot UEFI VM's.
That's just poop.
-
@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.
oVirt provides a mechanism for moving VMs between the hosts.
https://www.ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html
Look under "Exporting and Importing Virtual Machines"
-
@FATeknollogee said in Nginx VM:
@black3dynamite said in Nginx VM:
@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.
In KVM, you can't snapshot UEFI VM's.
Do you know why?
-
@black3dynamite said in Nginx VM:
@FATeknollogee said in Nginx VM:
@black3dynamite said in Nginx VM:
@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.
In KVM, you can't snapshot UEFI VM's.
Do you know why?
On the IRC user group, I asked & was told it's a feature that has not been enabled.
-
@black3dynamite Found the thread, it was on the virt-tools-list not IRC.
https://www.redhat.com/archives/virt-tools-list/2017-September/msg00008.html -
@scottalanmiller said in Nginx VM:
Is any platform really just one step? There is a lot of detail needed to move a VM from one machine to another. A single step can't account for all of that. I don't think Hyper-V or ESXi offer that, either.
OK, that's true - but really - please type out all of the exact steps to do it in KVM.
I've done it a few times (my first time actually) over the last few days in Hyper-V. it's all point and click in the GUI - and I'm sure with the commandline it would be like 100 characters .
-
@Dashrender said in Nginx VM:
@Pete-S said in Nginx VM:
I think 20GB is outrageously large. 8GB or preferably 4GB.
Thin provision though - so what does it really matter?
Not much but it increases the risk of starving other VMs if one or several VMs goes crazy since storage is overcommitted on thin provisioning.
A VM with ngnix reverse proxy and ssh goes in under 1 GB (on debian) so with 4GB storage there are already several GBs worth of unused space. What more do you possibly need?
That's why I think going to 20GB is just too much without any benefit. We are not running a desktop or windows are we?
If you want to do something completely different with the VM that requires more space you can just make a new one.
-
@Dashrender said in Nginx VM:
OK, that's true - but really - please type out all of the exact steps to do it in KVM.
Part of the issue is that it is not a hypervisor task. So asking about a hypervisor doesn't really make sense. It's in the hypervisor management set. And I provided two simple ways to do it already, all typed out, in links.
-
@Dashrender said in Nginx VM:
I've done it a few times (my first time actually) over the last few days in Hyper-V. it's all point and click in the GUI - and I'm sure with the commandline it would be like 100 characters .
Point and click in KVM too.
-
@Pete-S said in Nginx VM:
@Dashrender said in Nginx VM:
@Pete-S said in Nginx VM:
I think 20GB is outrageously large. 8GB or preferably 4GB.
Thin provision though - so what does it really matter?
Not much but it increases the risk of starving other VMs if one or several VMs goes crazy since storage is overcommitted on thin provisioning.
A VM with ngnix reverse proxy and ssh goes in under 1 GB (on debian) so with 4GB storage there are already several GBs worth of unused space. What more do you possibly need?
That's why I think going to 20GB is just too much without any benefit. We are not running a desktop or windows are we?
If you want to do something completely different with the VM that requires more space you can just make a new one.
So with a 4GB vDisk and no swap?