404507
From d52ae79470eb8725b63a6470e393149b48f508da Mon Sep 17 00:00:00 2001
404507
Message-Id: <d52ae79470eb8725b63a6470e393149b48f508da@dist-git>
404507
From: Jiri Denemark <jdenemar@redhat.com>
404507
Date: Fri, 8 Dec 2017 10:31:38 +0100
404507
Subject: [PATCH] migration.html: Clarify configuration file handling docs
404507
404507
Migration never removes any configuration files on the destination host.
404507
Thus when the domain is already defined on the destination, it will stay
404507
persistent even after migration without --persist.
404507
404507
https://bugzilla.redhat.com/show_bug.cgi?id=1514930
404507
404507
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
404507
(cherry picked from commit 2c01e4febcd161226ce707892d8e53f4e66f708f)
404507
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
404507
---
404507
 docs/migration.html.in | 34 +++++++++++++++++-----------------
404507
 1 file changed, 17 insertions(+), 17 deletions(-)
404507
404507
diff --git a/docs/migration.html.in b/docs/migration.html.in
404507
index de7d4def75..7c345b65b7 100644
404507
--- a/docs/migration.html.in
404507
+++ b/docs/migration.html.in
404507
@@ -206,14 +206,14 @@
404507
     

Configuration file handling

404507
 
404507
     

404507
-      There are two types of virtual machine known to libvirt. A transient
404507
+      There are two types of virtual machines known to libvirt. A transient
404507
       guest only exists while it is running, and has no configuration file stored
404507
       on disk. A persistent guest maintains a configuration file on disk
404507
       even when it is not running.
404507
     

404507
 
404507
     

404507
-      By default, a migration operation will not attempt to change any configuration
404507
+      By default, a migration operation will not attempt to modify any configuration
404507
       files that may be stored on either the source or destination host. It is the
404507
       administrator, or management application's, responsibility to manage distribution
404507
       of configuration files (if desired). It is important to note that the /etc/libvirt
404507
@@ -230,14 +230,14 @@
404507
         host and removed on the original.
404507
       
404507
       
  • Centralized configuration files outside libvirt, in a database. A data center
  • 404507
    -        management application may not storage configuration files at all. Instead it
    404507
    +        management application may not store configuration files at all. Instead it
    404507
             may generate libvirt XML on the fly when a guest is booted. It will typically
    404507
             use transient guests, and thus not have to consider configuration files during
    404507
             migration.
    404507
           
    404507
           
  • Distributed configuration inside libvirt. The configuration file for each
  • 404507
             guest is copied to every host where the guest is able to run. Upon migration
    404507
    -        the existing config merely needs to be updated with any changes
    404507
    +        the existing config merely needs to be updated with any changes.
    404507
           
    404507
           
  • Ad-hoc configuration management inside libvirt. Each guest is tied to a
  • 404507
             specific host and rarely migrated. When migration is required, the config
    404507
    @@ -246,7 +246,7 @@
    404507
         
    404507
     
    404507
         

    404507
    -      As mentioned above, libvirt will not touch configuration files during
    404507
    +      As mentioned above, libvirt will not modify configuration files during
    404507
           migration by default. The virsh command has two flags to
    404507
           influence this behaviour. The  --undefine-source flag
    404507
           will cause the configuration file to be removed on the source host
    404507
    @@ -265,12 +265,12 @@
    404507
               After migration
    404507
             
    404507
             
    404507
    -          Guest type
    404507
    +          Source type
    404507
               Source config
    404507
               Dest config
    404507
               --undefine-source
    404507
               --persist
    404507
    -          Guest type
    404507
    +          Dest type
    404507
               Source config
    404507
               Dest config
    404507
             
    404507
    @@ -325,9 +325,9 @@
    404507
               Y
    404507
               N
    404507
               N
    404507
    -          Transient
    404507
    -          N
    404507
    +          Persistent
    404507
               N
    404507
    +          Y
    (unchanged dest config)
    404507
             
    404507
             
    404507
               Transient
    404507
    @@ -335,9 +335,9 @@
    404507
               Y
    404507
               Y
    404507
               N
    404507
    -          Transient
    404507
    -          N
    404507
    +          Persistent
    404507
               N
    404507
    +          Y
    (unchanged dest config)
    404507
             
    404507
             
    404507
               Transient
    404507
    @@ -347,7 +347,7 @@
    404507
               Y
    404507
               Persistent
    404507
               N
    404507
    -          Y
    404507
    +          Y
    (replaced with source)
    404507
             
    404507
             
    404507
               Transient
    404507
    @@ -357,7 +357,7 @@
    404507
               Y
    404507
               Persistent
    404507
               N
    404507
    -          Y
    404507
    +          Y
    (replaced with source)
    404507
             
    404507
     
    404507
             
    404507
    @@ -411,7 +411,7 @@
    404507
               N
    404507
               Persistent
    404507
               Y
    404507
    -          Y
    404507
    +          Y
    (unchanged dest config)
    404507
             
    404507
             
    404507
               Persistent
    404507
    @@ -421,7 +421,7 @@
    404507
               N
    404507
               Persistent
    404507
               N
    404507
    -          Y
    404507
    +          Y
    (unchanged dest config)
    404507
             
    404507
             
    404507
               Persistent
    404507
    @@ -431,7 +431,7 @@
    404507
               Y
    404507
               Persistent
    404507
               Y
    404507
    -          Y
    404507
    +          Y
    (replaced with source)
    404507
             
    404507
             
    404507
               Persistent
    404507
    @@ -441,7 +441,7 @@
    404507
               Y
    404507
               Persistent
    404507
               N
    404507
    -          Y
    404507
    +          Y
    (replaced with source)
    404507
             
    404507
           
    404507
         
    404507
    -- 
    404507
    2.15.1
    404507