Virt-Manager on multiple pc's
-
@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 PITAGood point.
-
I read somewhere that you can copy the config in the dconf, I have not tried this!
-
Copying the contents in "Custom value" & pasting them in a new install works.
I still need to do some further testing. -
This post is deleted! -
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 -
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
-
@Emad-R said in Virt-Manager on multiple pc's:
Hmm interesting work with 50 VMs on it, good job. Whats the specs of the hypervisor ?
Not 50 vm's, 50 hosts.
-
@Emad-R said in Virt-Manager on multiple pc's:
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.htmlVirt-manager connections to individual VMs? What?
-
@FATeknollogee said in Virt-Manager on multiple pc's:
@Emad-R said in Virt-Manager on multiple pc's:
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:
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?
-
@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:
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:
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.
-
@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:
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:
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?
-
@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:
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:
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.
-
Anyone can make up stupid scenarios to make any solution look bad.
-
@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:
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:
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!
-
@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?
-
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
-
@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
-
@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
-
@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
-
@JaredBusch Who says the 50 hosts are at a single site?