Virt-Manager on multiple pc's
-
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?
-
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
-
@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?
-
@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.