James Slagle 8ec4cae920 Initial import of TripleO docs
Co-Authored-By: Ana Krivokapic <akrivoka@redhat.com>
Co-Authored-By: Ben Nemec <bnemec@redhat.com>
Co-Authored-By: Ben Nemec <cybertron@nemebean.com>
Co-Authored-By: Brad P. Crochet <brad@redhat.com>
Co-Authored-By: Crag Wolfe <cwolfe@redhat.com>
Co-Authored-By: Dan Sneddon <dsneddon@redhat.com>
Co-Authored-By: David Kranz <dkranz@redhat.com>
Co-Authored-By: Derek Higgins <derekh@redhat.com>
Co-Authored-By: Dimitri Savineau <dsavinea@redhat.com>
Co-Authored-By: Dmitry Tantsur <divius.inside@gmail.com>
Co-Authored-By: Dmitry Tantsur <dtantsur@redhat.com>
Co-Authored-By: Dougal Matthews <dougal@redhat.com>
Co-Authored-By: François Charlier <francois.charlier@redhat.com>
Co-Authored-By: Giulio Fidente <gfidente@redhat.com>
Co-Authored-By: Imre Farkas <ifarkas@redhat.com>
Co-Authored-By: James Slagle <jslagle@redhat.com>
Co-Authored-By: Jan Provaznik <jprovazn@redhat.com>
Co-Authored-By: Jaromir Coufal <jcoufal@redhat.com>
Co-Authored-By: Jay Dobies <jason.dobies@redhat.com>
Co-Authored-By: Jeff Peeler <jpeeler@redhat.com>
Co-Authored-By: Jiri Stransky <jistr@redhat.com>
Co-Authored-By: Jiri Tomasek <jtomasek@redhat.com>
Co-Authored-By: John Trowbridge <trown@redhat.com>
Co-Authored-By: Lennart Regebro <regebro@gmail.com>
Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com>
Co-Authored-By: Marek Aufart <maufart@redhat.com>
Co-Authored-By: Ronelle Landy <rlandy@redhat.com>
Co-Authored-By: Sasha Chuzhoy <sasha@redhat.com>
Co-Authored-By: Sasha Chuzhoy <sashac88@hotmail.com>
Co-Authored-By: Steven Hardy <shardy@redhat.com>
Co-Authored-By: Zane Bitter <zbitter@redhat.com>
Co-Authored-By: marios <marios@redhat.com>
2015-09-01 21:14:49 -04:00

997 B

Import/Export of VM Snapshots

Create a snapshot of a running server

Create a new image by taking a snapshot of a running server and download the image.

nova image-create instance_name image_name
glance image-download image_name --file exported_vm.qcow2

Import an image into Overcloud and launch an instance

Upload the exported image into glance in Overcloud and launch a new instance.

glance image-create --name imported_image --file exported_vm.qcow2 --disk-format qcow2 --container-format bare
nova boot --poll --key-name default --flavor m1.demo --image imported_image --nic net-id=net_id imported

Note

Warning: disadvantage of using glance image for export/import VMs is that each VM disk has to be copied in and out into glance in source and target clouds. Also by making snapshot qcow layering system is lost.