tips_and_howtos:virsh_multiple_server

Libvirtd multiple server / host enable

Interweb is full of guides on how to make your libvirtd with a single server (no need to make another here) but nobody is just simply stating what to put to your configuration files to enable easy live migrating between servers. So this is a quick reminder on this.

This is just a yellow paper to remind what I want to put to my configuration files. For virtualization how-tos please use Google.

And do remember the requirements for live migrating such as centralized / replicated storage, compatible architectures etc.

Also make note that this is an unencrypted, as-simple-as-it-gets example which needs very strict firewalling and co-location to be safe.

Give identical credentials to auth.conf, enable and open identical ports and add server IP to all of the servers.

LIBVIRTD_ARGS="--listen"
[mycredentialentry]
credname1=username
credname2=password
listen_tls=0
listen_tcp=1
tcp_port="16509"
listen_addr = "1.2.3.4"
auth_tcp="none"

All comments and corrections are welcome.

  • tips_and_howtos/virsh_multiple_server.txt
  • Last modified: 2021/10/24 13:51
  • (external edit)