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

    Virt-Manager on multiple pc's

    IT Discussion
    kvm fedora virt-manager windows
    8
    29
    1.8k
    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.
    • dafyreD
      dafyre @FATeknollogee
      last edited by

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

      That means having to re-enter those connections every time you have a new device?
      If you only have a few hosts, no big deal.
      If you have like 50, that's a real PITA

      Good point.

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

        I read somewhere that you can copy the config in the dconf, I have not tried this!
        dconf.png

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

          Copying the contents in "Custom value" & pasting them in a new install works.
          I still need to do some further testing.

          dconf.png

          1 Reply Last reply Reply Quote 0
          • Emad RE
            Emad R @FATeknollogee
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Emad RE
              Emad R @FATeknollogee
              last edited by

              @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

              FATeknollogeeF JaredBuschJ 2 Replies Last reply Reply Quote 0
              • 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
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post