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

    Linux OS advice for building a SAM-SD

    SAM-SD
    13
    81
    12.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
      last edited by JaredBusch

      Install Fedora 26
      Install virtualization
      Install virtual machine manager on a Fedora based desktop (or Fedora based VM on your Windows desktop)

      Done.

      1 Reply Last reply Reply Quote 6
      • magicmarkerM
        magicmarker
        last edited by

        @Tim_G Just posted Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi. This looks like it could be the answer to using KVM with a GUI interface that doesn't require too much Linux knowledge.

        1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates @magicmarker
          last edited by

          @magicmarker said in Linux OS advice for building a SAM-SD:

          @scottalanmiller I only used the Virt-Adapter GUI tool. Where I was having trouble was making KVM see my drive volume on my hardware RAID controller. I then added a network bridge. I was at the point where I was creating a new VM and KMV didn't like my network bridge. Rebooted my KVM host and she wouldn't come out of recovery. I didn't like Hyper-V when I was testing it out a few months ago. Thanks for making me aware of Scale. I will check that out.

          I assume you're talking about Virt-Manager?

          None of this is needed. Out of the box after an install you can select macvtap for the interface instead of NAT. You don't need a full bridge at all.

          0_1502125864458_macvtap.png

          Now a bridge makes it a little more flexible but only in host/guest communication. You can do an ovs bridge also, but that's more complicated. Seriously, starting out, install Fedora/CentOS, check the hypervisor role, and that's it.

          1 Reply Last reply Reply Quote 1
          • stacksofplatesS
            stacksofplates
            last edited by

            @dustinb3403 said in Linux OS advice for building a SAM-SD:

            @scottalanmiller said in Linux OS advice for building a SAM-SD:

            words of encouragement to re-direct my focus back to the KVM Hypervisor.

            I found KVM to be quite a bit easier than Hyper-V. Did the KVM GUI tools not work for you?

            The issue is a bit of the same issue I have with KVM. It's completely build it yourself. (unless you're using Scale). Which means bringing in a gui interface, selecting a dom0 etc etc.

            It's a lot to plan and implement from the get-go for someone who is expecting a XenServer or ESXi type solution. Single ISO, install it to the hardware and download a command center of sorts.

            There really isn't any more to plan/implement. Run ISO for install. Pick hypervisor role. Done.

            Virt-Manager runs on the client for a GUI which is just a package install.

            With XenServer you need either XenCenter or XenOrchestra. XenCenter requires a Windows machine. XenOrchestra has to be installed with Git. Sure you made a script but that script is the work it takes to install it vs dnf install virt-manager.

            The only piece that isnt fully done is backup. And that can be done a few different ways and isn't a single solution for everyone.

            magicmarkerM 1 Reply Last reply Reply Quote 1
            • magicmarkerM
              magicmarker @stacksofplates
              last edited by

              @stacksofplates The way you are describing it, makes it feel more like a Type 2 Hypervisor. I was attempting to install Fedora as a minimal install and add the KVM role through the cli. I then was able to successfully launch Virt-Manager from a Windows box using Xming and Putty. I was having trouble on the Linux admin side understanding how to add a volumes for VM data storage and how to properly setup the networking within the Virt-Manager which is not documented well. My host has multiple nic's and I'm used to setting up a Virtual Switch.

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

                @magicmarker said in Linux OS advice for building a SAM-SD:

                @stacksofplates The way you are describing it, makes it feel more like a Type 2 Hypervisor.

                It what sense?

                B magicmarkerM 2 Replies Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates @magicmarker
                  last edited by stacksofplates

                  @magicmarker said in Linux OS advice for building a SAM-SD:

                  @stacksofplates The way you are describing it, makes it feel more like a Type 2 Hypervisor. I was attempting to install Fedora as a minimal install and add the KVM role through the cli. I then was able to successfully launch Virt-Manager from a Windows box using Xming and Putty. I was having trouble on the Linux admin side understanding how to add a volumes for VM data storage and how to properly setup the networking within the Virt-Manager which is not documented well. My host has multiple nic's and I'm used to setting up a Virtual Switch.

                  it's all type 1, there is no type 2 for KVM. Default volume for guests is /var/lib/libvirt/images. You can literally just create a directory and use that as a volume. There is nothing special for ISOs or guest images at all. For multiple NICs you can just pick which one it should be using. So VM1 can use macvtap on em2 and VM2 can use macvtap on em3 (or whatever the NIC is called on your system).

                  black3dynamiteB 1 Reply Last reply Reply Quote 0
                  • B
                    bnrstnr @scottalanmiller
                    last edited by

                    @scottalanmiller said in Linux OS advice for building a SAM-SD:

                    It what sense?

                    I'm sure it feels like type-2 in the same sense that everybody else gets confused about Hyper-V as a role. If you're installing something after the OS install, it feels like it's "on top"

                    1 Reply Last reply Reply Quote 0
                    • magicmarkerM
                      magicmarker @scottalanmiller
                      last edited by

                      @scottalanmiller said in Linux OS advice for building a SAM-SD:

                      @magicmarker said in Linux OS advice for building a SAM-SD:

                      @stacksofplates The way you are describing it, makes it feel more like a Type 2 Hypervisor.

                      It what sense?

                      Installing the Linux Server OS with a desktop, then adding the KVM package. It reminds of installing Windows Server OS, and then adding the Hypervisor role. Maybe I'm making this harder on myself. I was doing a Fedora minimal install (no pretty GUI) and installing the KVM packages via the cli to keep the overhead to a minimum. If I were to install Fedora with a desktop package like Gnome I would probably have an easier time working with KVM.

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

                        @magicmarker said in Linux OS advice for building a SAM-SD:

                        Installing the Linux Server OS with a desktop, then adding the KVM package. It reminds of installing Windows Server OS, and then adding the Hypervisor role.

                        Right, The Hyper-V process was modeled after the Xen process. All type-1 hypervisors installed this way (until recently ESXi changed and is the first to have a different process after a decade of doing it this way.) This is how type-1 has always been installed.

                        Youtube Video

                        1 Reply Last reply Reply Quote 0
                        • KellyK
                          Kelly
                          last edited by

                          Why the preference of Fedora over CentOS. It seems like you'd want the more stable release cycle for your dom0.

                          magicmarkerM scottalanmillerS black3dynamiteB ObsolesceO 4 Replies Last reply Reply Quote 0
                          • magicmarkerM
                            magicmarker @Kelly
                            last edited by

                            @kelly Both @scottalanmiller and @JaredBusch recommended Fedora.

                            KellyK 1 Reply Last reply Reply Quote 0
                            • KellyK
                              Kelly @magicmarker
                              last edited by

                              @magicmarker said in Linux OS advice for building a SAM-SD:

                              @kelly Both @scottalanmiller and @JaredBusch recommended Fedora.

                              Yeah, that is why I have my question. I respect both of their opinions, but they have been wrong in the past.

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

                                @kelly said in Linux OS advice for building a SAM-SD:

                                Why the preference of Fedora over CentOS. It seems like you'd want the more stable release cycle for your dom0.

                                That's one theory. I don't believe that CentOS is more stable. I've not seen that. Stability is certainly of concern, but does being "old" really constitute more stability? I think that it used to, long ago when technology was quite different, but I'm not convinced that it does today. CentOS is stable in terms of "package versions", but that's not the same as stable. Fedora gets more updates, more advances, more security, more quickly than CentOS does. All things that you want in your hypervisor.

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

                                  Fedora has a better upgrade path as well. Moving from CentOS X to CentOS Y tends to be high risk and relatively painful. Moving from Fedora X to Fedora Y happens many times more often, but tends to be painless and trivial.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • KellyK
                                    Kelly @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in Linux OS advice for building a SAM-SD:

                                    @kelly said in Linux OS advice for building a SAM-SD:

                                    Why the preference of Fedora over CentOS. It seems like you'd want the more stable release cycle for your dom0.

                                    That's one theory. I don't believe that CentOS is more stable. I've not seen that. Stability is certainly of concern, but does being "old" really constitute more stability? I think that it used to, long ago when technology was quite different, but I'm not convinced that it does today. CentOS is stable in terms of "package versions", but that's not the same as stable. Fedora gets more updates, more advances, more security, more quickly than CentOS does. All things that you want in your hypervisor.

                                    I was using stability in the context of release cycles, not functionality. On the face of it, I would think you'd want to be running on something less likely to make significant changes. That is my inclination personally. Seeing people post about release changes on Fedora leaves me mistrustful of my ability to rely on it for a subsystem like a VM host.

                                    DustinB3403D scottalanmillerS JaredBuschJ 3 Replies Last reply Reply Quote 1
                                    • stacksofplatesS
                                      stacksofplates @magicmarker
                                      last edited by

                                      @magicmarker said in Linux OS advice for building a SAM-SD:

                                      @scottalanmiller said in Linux OS advice for building a SAM-SD:

                                      @magicmarker said in Linux OS advice for building a SAM-SD:

                                      @stacksofplates The way you are describing it, makes it feel more like a Type 2 Hypervisor.

                                      It what sense?

                                      Installing the Linux Server OS with a desktop, then adding the KVM package. It reminds of installing Windows Server OS, and then adding the Hypervisor role. Maybe I'm making this harder on myself. I was doing a Fedora minimal install (no pretty GUI) and installing the KVM packages via the cli to keep the overhead to a minimum. If I were to install Fedora with a desktop package like Gnome I would probably have an easier time working with KVM.

                                      You don't need a desktop unless it's on a workstation. Literally during the install instead of picking minimal pick hypervisor role. It's done, that's it. Then just use Virt-Manager to control it.

                                      magicmarkerM 1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @Kelly
                                        last edited by

                                        @kelly said in Linux OS advice for building a SAM-SD:

                                        @scottalanmiller said in Linux OS advice for building a SAM-SD:

                                        @kelly said in Linux OS advice for building a SAM-SD:

                                        Why the preference of Fedora over CentOS. It seems like you'd want the more stable release cycle for your dom0.

                                        That's one theory. I don't believe that CentOS is more stable. I've not seen that. Stability is certainly of concern, but does being "old" really constitute more stability? I think that it used to, long ago when technology was quite different, but I'm not convinced that it does today. CentOS is stable in terms of "package versions", but that's not the same as stable. Fedora gets more updates, more advances, more security, more quickly than CentOS does. All things that you want in your hypervisor.

                                        I was using stability in the context of release cycles, not functionality. On the face of it, I would think you'd want to be running on something less likely to make significant changes. That is my inclination personally. Seeing people post about release changes on Fedora leaves me mistrustful of my ability to rely on it for a subsystem like a VM host.

                                        I saw the same thing about @scottalanmiller as he changes his tune on a solution every month or so. Look at the life of ML and the topic about the different Hypervisors. It was "omg XS is the only reasonable tool" then it went to Scale, and then to Hyper-V and then to KVM.

                                        Stability is based around the support you get, investing in a platform needs to be carefully considered and not abandoned just because something else has a good feature.

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

                                          @stacksofplates said in Linux OS advice for building a SAM-SD:

                                          @magicmarker said in Linux OS advice for building a SAM-SD:

                                          @stacksofplates The way you are describing it, makes it feel more like a Type 2 Hypervisor. I was attempting to install Fedora as a minimal install and add the KVM role through the cli. I then was able to successfully launch Virt-Manager from a Windows box using Xming and Putty. I was having trouble on the Linux admin side understanding how to add a volumes for VM data storage and how to properly setup the networking within the Virt-Manager which is not documented well. My host has multiple nic's and I'm used to setting up a Virtual Switch.

                                          it's all type 1, there is no type 2 for KVM. Default volume for guests is /var/lib/libvirt/images. You can literally just create a directory and use that as a volume. There is nothing special for ISOs or guest images at all. For multiple NICs you can just pick which one it should be using. So VM1 can use macvtap on em2 and VM2 can use macvtap on em3 (or whatever the NIC is called on your system).

                                          Also Qemu/KVM User session default volume is /home/username/.local/share/libvirt/images

                                          1 Reply Last reply Reply Quote 0
                                          • magicmarkerM
                                            magicmarker @stacksofplates
                                            last edited by

                                            @stacksofplates said in Linux OS advice for building a SAM-SD:

                                            @magicmarker said in Linux OS advice for building a SAM-SD:

                                            @scottalanmiller said in Linux OS advice for building a SAM-SD:

                                            @magicmarker said in Linux OS advice for building a SAM-SD:

                                            @stacksofplates The way you are describing it, makes it feel more like a Type 2 Hypervisor.

                                            It what sense?

                                            Installing the Linux Server OS with a desktop, then adding the KVM package. It reminds of installing Windows Server OS, and then adding the Hypervisor role. Maybe I'm making this harder on myself. I was doing a Fedora minimal install (no pretty GUI) and installing the KVM packages via the cli to keep the overhead to a minimum. If I were to install Fedora with a desktop package like Gnome I would probably have an easier time working with KVM.

                                            You don't need a desktop unless it's on a workstation. Literally during the install instead of picking minimal pick hypervisor role. It's done, that's it. Then just use Virt-Manager to control it.

                                            I don't remember that being an option with Fedora. That sounds like a good deal. What distro gives you that option?

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