Enable VMotion

Procedure

  1. Set the following parameters in nova.conf on all compute nodes. Ensure that instances_path and restorecon are same for all compute nodes.
    Note

    Note

    This setting allows VNC clients from any IP address to connect to instance consoles. Ensure to take additional measures to secure networks.
    vncserver_listen = 0.0.0.0
    instances_path = /var/lib/nova/instances
    restorecon = /etc/hosts
  2. Enable password-less SSH.
    The libvirt daemon that runs as root uses SSH protocol to copy the instance to the destination.
  3. Configure the firewalls to allow libvirt to communicate with compute nodes.
    The default libvirt TCP port range is 49152 to 49261 for copying memory and disk contents.