Este contenido no está disponible en el idioma seleccionado.

4.4.2. Additional Options for the virsh migrate Command


In addition to --live, virsh migrate accepts the following options:
  • --direct - used for direct migration
  • --p2p - used for peer-to-peer migration
  • --tunnelled - used for tunneled migration
  • --persistent - leaves the domain in a persistent state on the destination host physical machine
  • --undefinesource - removes the guest virtual machine on the source host physical machine
  • --suspend - leaves the domain in a paused state on the destination host physical machine
  • --change-protection - enforces that no incompatible configuration changes will be made to the domain while the migration is underway; this option is implicitly enabled when supported by the hypervisor, but can be explicitly used to reject the migration if the hypervisor lacks change protection support.
  • --unsafe - forces the migration to occur, ignoring all safety procedures.
  • --verbose - displays the progress of migration as it is occurring
  • --abort-on-error - cancels the migration if a soft error (such as an I/O error) happens during the migration process.
  • --migrateuri - the migration URI which is usually omitted.
  • --domain [string]- domain name, id or uuid
  • --desturi [string]- connection URI of the destination host physical machine as seen from the client(normal migration) or source(p2p migration)
  • --migrateuri - migration URI, usually can be omitted
  • --timeout [seconds]- forces a guest virtual machine to suspend when the live migration counter exceeds N seconds. It can only be used with a live migration. Once the timeout is initiated, the migration continues on the suspended guest virtual machine.
  • --dname [string] - changes the name of the guest virtual machine to a new name during migration (if supported)
  • --xml - the filename indicated can be used to supply an alternative XML file for use on the destination to supply a larger set of changes to any host-specific portions of the domain XML, such as accounting for naming differences between source and destination in accessing underlying storage. This option is usually omitted.
Refer to the virsh man page for more information.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.