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

    Manage KVM through Cockpit

    IT Discussion
    fedora kvm ovirt virtualization hypervisor management cockpit
    12
    116
    30.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.
    • CCWTechC
      CCWTech @CCWTech
      last edited by

      @Obsolesce The file is on a USB Drive if that matters.

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

        @ccwtech said in Manage KVM through Cockpit:

        @Obsolesce The file is on a USB Drive if that matters.

        The ISO might need to have the correct SELinux context. Try copying it to your /var/lib/libvirt/images directory and see if it lets you install that way.

        CCWTechC 1 Reply Last reply Reply Quote 1
        • CCWTechC
          CCWTech @stacksofplates
          last edited by

          @stacksofplates said in Manage KVM through Cockpit:

          /var/lib/libvirt/images

          That's the trick, thanks!

          1 Reply Last reply Reply Quote 1
          • CCWTechC
            CCWTech
            last edited by

            Now the next issue... Appears as if Server 2012 R2 needs a driver to see the filesystem...

            0_1529279480486_Screenshot from 2018-06-17 17-50-35.png

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

              @ccwtech said in Manage KVM through Cockpit:

              Now the next issue... Appears as if Server 2012 R2 needs a driver to see the filesystem...

              0_1529279480486_Screenshot from 2018-06-17 17-50-35.png

              I'm guessing you need to set the qcow2 disk to IDE instead of virtio. Then in the VM install the virtio drivers and you can change it back.

              1 Reply Last reply Reply Quote 3
              • JaredBuschJ
                JaredBusch
                last edited by

                I've never installed 2012 R2 in KVM yet. But Windows 10 automatically sets up as IDE when done from virt-manager

                1 Reply Last reply Reply Quote 1
                • CCWTechC
                  CCWTech
                  last edited by

                  I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                  I think I just need to mount the ISO for the VM but not sure how to do that.

                  JaredBuschJ stacksofplatesS 2 Replies Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @CCWTech
                    last edited by

                    @ccwtech said in Manage KVM through Cockpit:

                    I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                    I think I just need to mount the ISO for the VM but not sure how to do that.

                    I run Fedora on my desktop as well as my KVM server. so I just use Virtual Machine Manager most of the time.

                    0_1529282199009_75025d4d-c1a7-4fe6-b9ba-28d6af524ab0-image.png

                    CCWTechC 1 Reply Last reply Reply Quote 2
                    • CCWTechC
                      CCWTech @JaredBusch
                      last edited by

                      @jaredbusch Any idea how to do it in command line?

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

                        @ccwtech said in Manage KVM through Cockpit:

                        I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                        I think I just need to mount the ISO for the VM but not sure how to do that.

                        Easiest for a first timer is virt-manager. Just click the IDE CDROM device and then click connect. You can pick your ISO from the browser.

                        CCWTechC 1 Reply Last reply Reply Quote 0
                        • CCWTechC
                          CCWTech @stacksofplates
                          last edited by

                          @stacksofplates said in Manage KVM through Cockpit:

                          @ccwtech said in Manage KVM through Cockpit:

                          I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                          I think I just need to mount the ISO for the VM but not sure how to do that.

                          Easiest for a first timer is virt-manager. Just click the IDE CDROM device and then click connect. You can pick your ISO from the browser.

                          Can you use virt-manager on a headless install?

                          JaredBuschJ stacksofplatesS 3 Replies Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @CCWTech
                            last edited by

                            @ccwtech said in Manage KVM through Cockpit:

                            @stacksofplates said in Manage KVM through Cockpit:

                            @ccwtech said in Manage KVM through Cockpit:

                            I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                            I think I just need to mount the ISO for the VM but not sure how to do that.

                            Easiest for a first timer is virt-manager. Just click the IDE CDROM device and then click connect. You can pick your ISO from the browser.

                            Can you use virt-manager on a headless install?

                            You use virt-manager locally.

                            CCWTechC 1 Reply Last reply Reply Quote 0
                            • CCWTechC
                              CCWTech @JaredBusch
                              last edited by

                              @jaredbusch said in Manage KVM through Cockpit:

                              @ccwtech said in Manage KVM through Cockpit:

                              @stacksofplates said in Manage KVM through Cockpit:

                              @ccwtech said in Manage KVM through Cockpit:

                              I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                              I think I just need to mount the ISO for the VM but not sure how to do that.

                              Easiest for a first timer is virt-manager. Just click the IDE CDROM device and then click connect. You can pick your ISO from the browser.

                              Can you use virt-manager on a headless install?

                              You use virt-manager locally.

                              I get this error in terminal in cockpit as well as locally.

                              (virt-manager:5847): Gtk-WARNING **: 18:44:07.397: cannot open display:

                              1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @CCWTech
                                last edited by

                                @ccwtech said in Manage KVM through Cockpit:

                                a headless install?

                                Also, I fucking hate this phrase.

                                WTF is that supposed to mean? FFS, an install is an install. Ever single modern Linux distro runs just find without a KVM attached.

                                I installed Fedora Server 28 Minimal. and then disconnected the KVM and never hooked it back up. That makes it headless. But I did not choose some stupid "headless" version of the install.

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

                                  @ccwtech said in Manage KVM through Cockpit:

                                  @stacksofplates said in Manage KVM through Cockpit:

                                  @ccwtech said in Manage KVM through Cockpit:

                                  I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                                  I think I just need to mount the ISO for the VM but not sure how to do that.

                                  Easiest for a first timer is virt-manager. Just click the IDE CDROM device and then click connect. You can pick your ISO from the browser.

                                  Can you use virt-manager on a headless install?

                                  Yeah. You can either X11 forward from the remote system or use a local install and SSH/HTTP/HTTPS for the QEMU connection.

                                  Sadly virt-manager is the easiest for some things like attaching ISOs. The domain has to be running to attach an ISO however you can't hotplug an IDE device. So you're left with editing the XML for the domain. It's not hard just virsh edit vmname but still annoying.

                                  CCWTechC 1 Reply Last reply Reply Quote 1
                                  • CCWTechC
                                    CCWTech @stacksofplates
                                    last edited by

                                    @stacksofplates said in Manage KVM through Cockpit:

                                    @ccwtech said in Manage KVM through Cockpit:

                                    @stacksofplates said in Manage KVM through Cockpit:

                                    @ccwtech said in Manage KVM through Cockpit:

                                    I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                                    I think I just need to mount the ISO for the VM but not sure how to do that.

                                    Easiest for a first timer is virt-manager. Just click the IDE CDROM device and then click connect. You can pick your ISO from the browser.

                                    Can you use virt-manager on a headless install?

                                    Yeah. You can either X11 forward from the remote system or use a local install and SSH/HTTP/HTTPS for the QEMU connection.

                                    Sadly virt-manager is the easiest for some things like attaching ISOs. The domain has to be running to attach an ISO however you can't hotplug an IDE device. So you're left with editing the XML for the domain. It's not hard just virsh edit vmname but still annoying.

                                    Like this example:

                                    <disk type='file' device='cdrom'>
                                    <driver name='file'/>
                                    <source file='/usr/share/xenpv-win-32bit/xenpv-win-32bit.iso'/>
                                    <target dev='hdb'/>
                                    <readonly/>
                                    </disk>

                                    CCWTechC 1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by DustinB3403

                                      @scottalanmiller "there is no backup API or CBT on KVM" these are big items to not have out of the gate.

                                      So being forced to used a 3rd party appliance (even if it were Veeam or UrBackup) would be more that needs to be managed.

                                      That lack of feature alone makes me question if KVM is production ready and would remove it from my shortlist for 2018.

                                      Youtube Video – [09:27..]

                                      CCWTechC stacksofplatesS 3 Replies Last reply Reply Quote 1
                                      • CCWTechC
                                        CCWTech @DustinB3403
                                        last edited by CCWTech

                                        @dustinb3403 said in Manage KVM through Cockpit:

                                        @scottalanmiller "there is no backup API or CBT on KVM" these are big items to not have out of the gate.

                                        So being forced to used a 3rd party appliance (even if it were Veeam or UrBackup) would me more that needs to be managed.

                                        That's lack of feature alone makes me question if KVM is production ready and would remove it from my shortlist for 2018.

                                        Youtube Video – [09:27..]

                                        @scottalanmiller is the person who suggested I should use KVM... But if you have an agent based backup it doesn't really matter.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • CCWTechC
                                          CCWTech @CCWTech
                                          last edited by

                                          @ccwtech said in Manage KVM through Cockpit:

                                          @stacksofplates said in Manage KVM through Cockpit:

                                          @ccwtech said in Manage KVM through Cockpit:

                                          @stacksofplates said in Manage KVM through Cockpit:

                                          @ccwtech said in Manage KVM through Cockpit:

                                          I think I have it figured out but don't know how to actually implement it. I'm running Fedora Server 28 Headless - so I have the ISO file for the drivers in /usr/share/virtio-win

                                          I think I just need to mount the ISO for the VM but not sure how to do that.

                                          Easiest for a first timer is virt-manager. Just click the IDE CDROM device and then click connect. You can pick your ISO from the browser.

                                          Can you use virt-manager on a headless install?

                                          Yeah. You can either X11 forward from the remote system or use a local install and SSH/HTTP/HTTPS for the QEMU connection.

                                          Sadly virt-manager is the easiest for some things like attaching ISOs. The domain has to be running to attach an ISO however you can't hotplug an IDE device. So you're left with editing the XML for the domain. It's not hard just virsh edit vmname but still annoying.

                                          Like this example:

                                          <disk type='file' device='cdrom'>
                                          <driver name='file'/>
                                          <source file='/usr/share/xenpv-win-32bit/xenpv-win-32bit.iso'/>
                                          <target dev='hdb'/>
                                          <readonly/>
                                          </disk>

                                          So that worked, I have the CD mounted and can browse to the drivers, however none of them work. I have tried to change the Virtual disk from SCSI to Sata, SCSI and VirtIO but can't seem to get any drivers to allow me to actually install the OS.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @CCWTech
                                            last edited by

                                            @ccwtech said in Manage KVM through Cockpit:

                                            @dustinb3403 said in Manage KVM through Cockpit:

                                            @scottalanmiller "there is no backup API or CBT on KVM" these are big items to not have out of the gate.

                                            So being forced to used a 3rd party appliance (even if it were Veeam or UrBackup) would me more that needs to be managed.

                                            That's lack of feature alone makes me question if KVM is production ready and would remove it from my shortlist for 2018.

                                            Youtube Video – [09:27..]

                                            @scottalanmiller is the person who suggested I should use KVM... But if you have an agent based backup it doesn't really matter.

                                            Agent based totally matters for people like you that have no idea what they are doing.

                                            It matters even for people like Scott because of the many reasons that @StorageNinja listed in the last 24 hours. Scott just refuses to listen to reason when it comes to his current favorite shiny thing.

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