Skip to content

Commit 94f284e

Browse files
committed
Documentation related to Persistent domainXML
1 parent 052fae8 commit 94f284e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

source/adminguide/virtual_machines/importing_unmanaging_vms.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,22 @@ Preserving unmanaged Instance NICs
362362
The zone setting: unmanage.vm.preserve.nics can be used to preserve Instance NICs and its MAC addresses after unmanaging them. If set to true, the Instance NICs (and their MAC addresses) are preserved when unmanaging it. Otherwise, NICs are removed and MAC addresses can be reassigned.
363363

364364

365+
KVM Specific: Persistent Domain XML when unmanaging Instances
366+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367+
368+
Since 4.22, domain XML will be made persistent when Instance is unmanaged from CloudStack. This will allow to manage the Instance outside of CloudStack using virsh or other libvirt tools. The domain XML will be stored in directory /etc/libvirt/qemu.
369+
370+
Domain XML is taken from Instance but varies based on their state:
371+
372+
- Running Instance
373+
- Domain XML is contructed from the Instance and persisted on the Host where the Instance is running
374+
- Stopped Instance
375+
- Domain XML is constructed from the Instance details available in CloudStack database
376+
- Domain XML will pe persisted on the last host where the Instance was running before stopping it
377+
378+
.. note:: We recommend Unmanaging Instance in Running state to preserve the exact domain XML. There is potential to loose some information when unmanaging in Stopped state.
379+
380+
365381
Unmanaging Instance actions
366382
~~~~~~~~~~~~~~~~~~~~~~~~~~~
367383

0 commit comments

Comments
 (0)