18.23. Configurar la migración en vivo de una máquina virtual
Red Hat Virtualization can migrate virtual machines between other servers running Red Hat Enterprise Linux 5.1 with Virtualization. Further, migration is performed in an offline method (using the
xm migrate
command). Live migration can be done from the same command. However there are some additional modifications that you must do to the xend-config
configuration file. This example identifies the entries that you must modify to ensure a successful migration:
(xend-relocation-server yes)
- The default for this parameter is 'no', which keeps the relocation/migration server deactivated (unless on a trusted network) and the domain virtual memory is exchanged in raw form without encryption.
(xend-relocation-port 8002)
- Este parámetro establece el puerto que
xend
utiliza para realizar la migración. Este valor es correcto, asegúrese, sin embargo, de borrar el comentario que va antes de éste. (xend-relocation-address )
- Este parámetro es la dirección desde la cual se escucha por conexiones de socket de reubicación una vez se active
xend-relocation-server
. Cuando esté escuchando se restringe la migración a una interfaz particular. (xend-relocation-hosts-allow )
- This parameter controls the host that communicates with the relocation port. If the value is empty, then all incoming connections are allowed. You must change this to a space-separated sequences of regular expressions (such as
xend-relocation-hosts-allow- '^localhost\\.localdomain$'
). A host with a fully qualified domain name or IP address that matches these expressions are accepted.
Una vez estos parámetros hayan sido configurados, usted debe reiniciar el anfitrión para que el componente de virtualización acepte los nuevos parámetros.