ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Nginx VM

    IT Discussion
    nginx linux
    13
    78
    3.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch @brandon220
      last edited by

      @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

      brandon220B 1 Reply Last reply Reply Quote 2
      • brandon220B
        brandon220 @JaredBusch
        last edited by brandon220

        @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.

        1 Reply Last reply Reply Quote 0
        • brandon220B
          brandon220 @scottalanmiller
          last edited by brandon220

          @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.

          scottalanmillerS 2 Replies Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @brandon220
            last edited by

            @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.

            http://ostolc.org/kvm-move-guest-to-another-host.html

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @brandon220
              last edited by

              @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.

              brandon220B DashrenderD 2 Replies Last reply Reply Quote 0
              • brandon220B
                brandon220 @scottalanmiller
                last edited by

                @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.

                scottalanmillerS black3dynamiteB 2 Replies Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @brandon220
                  last edited by

                  @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.

                  brandon220B 1 Reply Last reply Reply Quote 0
                  • brandon220B
                    brandon220 @scottalanmiller
                    last edited by

                    @scottalanmiller Don't know. Never looked into it.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • brandon220B
                      brandon220
                      last edited by

                      Another question - Is there any reason NOT to use UEFI boot on all guests in KVM?

                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @brandon220
                        last edited by

                        @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.

                        brandon220B 1 Reply Last reply Reply Quote 0
                        • brandon220B
                          brandon220 @scottalanmiller
                          last edited by

                          @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.

                          scottalanmillerS black3dynamiteB 3 Replies Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @brandon220
                            last edited by

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • black3dynamiteB
                              black3dynamite @brandon220
                              last edited by

                              @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.

                              DustinB3403D 1 Reply Last reply Reply Quote 2
                              • DustinB3403D
                                DustinB3403 @black3dynamite
                                last edited by

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • black3dynamiteB
                                  black3dynamite @brandon220
                                  last edited by

                                  @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.

                                  brandon220B FATeknollogeeF 2 Replies Last reply Reply Quote 0
                                  • brandon220B
                                    brandon220 @black3dynamite
                                    last edited by

                                    @black3dynamite I noticed that too. Did not try command yet either.

                                    1 Reply Last reply Reply Quote 0
                                    • jmooreJ
                                      jmoore @scottalanmiller
                                      last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 1
                                      • black3dynamiteB
                                        black3dynamite @brandon220
                                        last edited by black3dynamite

                                        @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.

                                        brandon220B 1 Reply Last reply Reply Quote 0
                                        • brandon220B
                                          brandon220 @black3dynamite
                                          last edited by

                                          @black3dynamite I honestly don't know. I always use a normal user account and elevate privileges when necessary.

                                          1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender @scottalanmiller
                                            last edited by

                                            @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...

                                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post