The Random Thoughts of a Geek heading for Banbury
The Random Thoughts of a Geek heading for Banbury
1 3 4 6 7 8 A B D E F G H I J K L M N P R S T
Pl Po Pr

Playing with Libvirt

As part of my Ansible set up; I installed Libvirt on Sandraudiga as part of the process; as Sandraudiga is going to be the metal that I run all my other machines on,

libvirt is an open-source API, daemon and management tool for managing platform virtualization. It can be used to manage KVM, Xen, VMware ESX, QEMU and other virtualization technologies. These APIs are widely used in the orchestration layer of hypervisors in the development of a cloud-based solution.

Reading through a Libvirt Networking Handbook I am trying to work out how to set up the networking.

The set up I want looks something like this for machines:

Thinking about the network settings a bit more; I think this as my initial setup would be sensible:

Hetzner were kind enough to sell me two extra ipV4 addresses, so with three in total; my plan can get off to a start

python hooks file – https://github.com/saschpe/libvirt-hook-qemu

json file –

“hackspace-ldap”: {
“public_ip”: “78.46.25.69”,
“private_ip”: “192.168.122.8”,
“port_map”: {
“tcp”: [
636,
[8028, 22],
80,
443,
389,
88,
464,
53
]
}

Related Articles