Pegasi Wiki

This wiki acts as a memo for our own work so why not share them? Feel free to browse and use out notes and leave a note while at it.

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.

Note

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.

Configuration files

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

/etc/sysconfig/libvirtd

LIBVIRTD_ARGS="--listen"

/etc/libvirt/auth.conf

[mycredentialentry]
credname1=username
credname2=password

/etc/libvirt/libvirtd.conf

listen_tls=0
listen_tcp=1
tcp_port="16509"
listen_addr = "1.2.3.4"
auth_tcp="none"

Comments

All comments and corrections are welcome.

 stars  from 0 votes

Leave a comment

Enter your comment:
R᠎ V E V L
 

  //check if we are running within the DokuWiki environment if (!defined("DOKU_INC")){ die(); } //place the needed HTML source codes BELOW this line