I need a copy of cinder volume, so that only hostname is changed with the same contents of as of the existing cinder volume?
Asked
Active
Viewed 6,452 times
4
-
you can take snapshot of a VM and then clone it from that snapshot image. http://docs.openstack.org/user-guide/cli_use_snapshots_to_migrate_instances.html – Aravind Jun 27 '16 at 10:20
-
Thanks for reply Aravind, I am looking for a clone and not snapshot :( – Shree Jun 28 '16 at 10:16
3 Answers
0
I assume that you have an instance that's boot from volume? You can create an image using Cinder backup, and from that image create another volume, and boot your instance from that volume.

Yip Wai Peng
- 86
- 3
0
You can try to use this tool to replicate VMs. It works with both local or bootable volumes: https://github.com/sapcc/cyclone

kay
- 693
- 2
- 7
- 13
0
You can take a snapshot of your original VM and create a second instance booting up from that snapshot. The hostname can be changed using cloud-init (or manually after the first boot).

Mandrappa
- 31
- 5