Ce contenu n'est pas disponible dans la langue sélectionnée.

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

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.