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

    Virt-Manager on multiple pc's

    Scheduled Pinned Locked Moved IT Discussion
    kvmfedoravirt-managerwindows
    29 Posts 8 Posters 2.2k Views
    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.
    • Emad RE
      Emad R @FATeknollogee
      last edited by Emad R

      @FATeknollogee

       sudo apt install dconf-cli
      
      dconf dump /org/virt-manager/
      

      the above for all virt manager settings, if you just want connections

      dconf dump /org/virt-manager/virt-manager/connections/
      

      I cant believe linux has registry like shit to hide your settings in it.
      to summarize:

      dconf dump /org/virt-manager/virt-manager/connections/ > backup.txt
      dconf load /org/virt-manager/virt-manager/connections/ < backup.txt
      
      
      1 Reply Last reply Reply Quote 0
      • FATeknollogeeF
        FATeknollogee @Emad R
        last edited by

        @Emad-R said in Virt-Manager on multiple pc's:

        @FATeknollogee

        Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

        Not 50 vm's, 50 hosts.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @Emad R
          last edited by

          @Emad-R said in Virt-Manager on multiple pc's:

          @FATeknollogee

          Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

          try looking here

          /etc/dconf/db/database.d/
          https://developer.gnome.org/dconf/unstable/dconf-overview.html

          Virt-manager connections to individual VMs? What?

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

            @FATeknollogee said in Virt-Manager on multiple pc's:

            @Emad-R said in Virt-Manager on multiple pc's:

            @FATeknollogee

            Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

            Not 50 vm's, 50 hosts.

            @FATeknollogee said in Virt-Manager on multiple pc's:

            @Emad-R said in Virt-Manager on multiple pc's:

            @FATeknollogee

            Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

            Not 50 vm's, 50 hosts.

            You have 50 virtualization platforms?

            FATeknollogeeF 1 Reply Last reply Reply Quote 0
            • FATeknollogeeF
              FATeknollogee @scottalanmiller
              last edited by

              @scottalanmiller said in Virt-Manager on multiple pc's:

              @FATeknollogee said in Virt-Manager on multiple pc's:

              @Emad-R said in Virt-Manager on multiple pc's:

              @FATeknollogee

              Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

              Not 50 vm's, 50 hosts.

              @FATeknollogee said in Virt-Manager on multiple pc's:

              @Emad-R said in Virt-Manager on multiple pc's:

              @FATeknollogee

              Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

              Not 50 vm's, 50 hosts.

              You have 50 virtualization platforms?

              No, it was just an example to illustrate what a PITA it would be to enter xx number of connections everytime you have a new instance ot virt-manager.

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

                @FATeknollogee said in Virt-Manager on multiple pc's:

                @scottalanmiller said in Virt-Manager on multiple pc's:

                @FATeknollogee said in Virt-Manager on multiple pc's:

                @Emad-R said in Virt-Manager on multiple pc's:

                @FATeknollogee

                Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

                Not 50 vm's, 50 hosts.

                @FATeknollogee said in Virt-Manager on multiple pc's:

                @Emad-R said in Virt-Manager on multiple pc's:

                @FATeknollogee

                Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

                Not 50 vm's, 50 hosts.

                You have 50 virtualization platforms?

                No, it was just an example to illustrate what a PITA it would be to enter xx number of connections everytime you have a new instance ot virt-manager.

                I’m not seeing the issue here. Where would you be that would have that kind of infrastructure and no automation for SSH key authentication?

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

                  @JaredBusch said in Virt-Manager on multiple pc's:

                  @FATeknollogee said in Virt-Manager on multiple pc's:

                  @scottalanmiller said in Virt-Manager on multiple pc's:

                  @FATeknollogee said in Virt-Manager on multiple pc's:

                  @Emad-R said in Virt-Manager on multiple pc's:

                  @FATeknollogee

                  Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

                  Not 50 vm's, 50 hosts.

                  @FATeknollogee said in Virt-Manager on multiple pc's:

                  @Emad-R said in Virt-Manager on multiple pc's:

                  @FATeknollogee

                  Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

                  Not 50 vm's, 50 hosts.

                  You have 50 virtualization platforms?

                  No, it was just an example to illustrate what a PITA it would be to enter xx number of connections everytime you have a new instance ot virt-manager.

                  I’m not seeing the issue here. Where would you be that would have that kind of infrastructure and no automation for SSH key authentication?

                  I think he's saying that if he had to replace his laptop he'd have to manually add those 50 connections back into Virt-Manager.

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

                    Anyone can make up stupid scenarios to make any solution look bad.

                    FATeknollogeeF 1 Reply Last reply Reply Quote 1
                    • FATeknollogeeF
                      FATeknollogee @stacksofplates
                      last edited by

                      @stacksofplates said in Virt-Manager on multiple pc's:

                      @JaredBusch said in Virt-Manager on multiple pc's:

                      @FATeknollogee said in Virt-Manager on multiple pc's:

                      @scottalanmiller said in Virt-Manager on multiple pc's:

                      @FATeknollogee said in Virt-Manager on multiple pc's:

                      @Emad-R said in Virt-Manager on multiple pc's:

                      @FATeknollogee

                      Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

                      Not 50 vm's, 50 hosts.

                      @FATeknollogee said in Virt-Manager on multiple pc's:

                      @Emad-R said in Virt-Manager on multiple pc's:

                      @FATeknollogee

                      Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?

                      Not 50 vm's, 50 hosts.

                      You have 50 virtualization platforms?

                      No, it was just an example to illustrate what a PITA it would be to enter xx number of connections everytime you have a new instance ot virt-manager.

                      I’m not seeing the issue here. Where would you be that would have that kind of infrastructure and no automation for SSH key authentication?

                      I think he's saying that if he had to replace his laptop he'd have to manually add those 50 connections back into Virt-Manager.

                      Yes, thanks!

                      1 Reply Last reply Reply Quote 0
                      • FATeknollogeeF
                        FATeknollogee @JaredBusch
                        last edited by

                        @JaredBusch said in Virt-Manager on multiple pc's:

                        Anyone can make up stupid scenarios to make any solution look bad.

                        I have a desktop & 2 laptops, what's so stupid about that?

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

                          Anyone check the man page for virt-manager?
                          Make a creative script to automatically add all your kvm servers.
                          And its even easier when using SSH keys.

                          virt-manager -c qemu+ssh://user@ip-address/system
                          
                          black3dynamiteB 1 Reply Last reply Reply Quote 1
                          • JaredBuschJ
                            JaredBusch @FATeknollogee
                            last edited by

                            @FATeknollogee said in Virt-Manager on multiple pc's:

                            @JaredBusch said in Virt-Manager on multiple pc's:

                            Anyone can make up stupid scenarios to make any solution look bad.

                            I have a desktop & 2 laptops, what's so stupid about that?

                            50 KVM hosts with no centralized management already planned

                            Emad RE FATeknollogeeF 2 Replies Last reply Reply Quote 0
                            • Emad RE
                              Emad R @JaredBusch
                              last edited by Emad R

                              @JaredBusch said in Virt-Manager on multiple pc's:

                              @FATeknollogee said in Virt-Manager on multiple pc's:

                              @JaredBusch said in Virt-Manager on multiple pc's:

                              Anyone can make up stupid scenarios to make any solution look bad.

                              I have a desktop & 2 laptops, what's so stupid about that?

                              50 KVM hosts with no centralized management already planned

                              I think it is valid question, maybe 50 is too much but the idea is to backup the connection list, so you can quickly set it up if your virt manager software got corrupted and you dont want it to be VM.

                              Okay no one has 50 hosts, but maybe 10 or more or so. who cares it, I label it valid .Court Adjourned

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

                                @black3dynamite said in Virt-Manager on multiple pc's:

                                Anyone check the man page for virt-manager?
                                Make a creative script to automatically add all your kvm servers.
                                And its even easier when using SSH keys.

                                virt-manager -c qemu+ssh://user@ip-address/system
                                

                                Here's an example:

                                #!/bin/bash
                                
                                kvm_host=(
                                    10.0.0.1
                                    10.0.0.2
                                    10.0.0.3
                                )
                                
                                add-kvm-host(){
                                    for i in ${kvm_host[@]}
                                    do
                                        virt-manager -c qemu+ssh://user@$i/system
                                    done
                                }
                                
                                add-kvm-host
                                unset kvm_host
                                
                                1 Reply Last reply Reply Quote 0
                                • FATeknollogeeF
                                  FATeknollogee @JaredBusch
                                  last edited by

                                  @JaredBusch Who says the 50 hosts are at a single site?

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    dyasny
                                    last edited by

                                    When you have more than just a few hosts, even spread out across multiple sites, managing them with virt-manager can be painful. You definitely should start looking at something a bit more scalable, like RHV/oVirt

                                    FATeknollogeeF 1 Reply Last reply Reply Quote 1
                                    • FATeknollogeeF
                                      FATeknollogee @dyasny
                                      last edited by

                                      @dyasny said in Virt-Manager on multiple pc's:

                                      When you have more than just a few hosts, even spread out across multiple sites, managing them with virt-manager can be painful. You definitely should start looking at something a bit more scalable, like RHV/oVirt

                                      What if all the hosts are all standalone instances?

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        dyasny @FATeknollogee
                                        last edited by

                                        @FATeknollogee if you have an ovirt-engine somewhere central, that can reach to all the other locations, you can create a datacentre per location and place standalone hosts in there, using local storage. You will still have a single pane of glass to manage it all from a single address, a centralized VM configuration store, and the option to scale to additional sites or add hosts in a specific DC. I've run a RHV setup with ~300 hosts spread out across the world like this, and it was much easier than dealing with entirely standalone machines.

                                        FATeknollogeeF scottalanmillerS 2 Replies Last reply Reply Quote 2
                                        • FATeknollogeeF
                                          FATeknollogee @dyasny
                                          last edited by

                                          @dyasny That's def interesting...
                                          What was the connectivity between most of those 300 hosts? Was DNS used or just IP addresses?

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            dyasny @FATeknollogee
                                            last edited by

                                            @FATeknollogee VPN based intranet, DNS working internally. Latency always under 150ms

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post