[one-users] Query on Clone in opennebula

Ruben S. Montero rubensm at dacya.ucm.es
Fri May 22 03:54:13 PDT 2009


Hi,

The save attribute can be only yes or no. Although your suggestion,
i.e specify the path to place the VM, is quite interesting...

If you want to save the image just shutdown the VM and those disks
with save=yes, will be copied back to the OpenNebula front-end in
$ONE_LOCATION/var/$VID as disk.0, disk.1... (being disk.0 the first
disk in the template and so on...).

Also, if you issue a onevm stop, the images are saved in the
$ONE_LOCATION. So you can also use it to "save" a modified image if
you have forgotten to put save="yes" in the disks...

Cheers

Ruben


On Fri, May 22, 2009 at 11:06 AM,  <prema.ramakrishnappa at wipro.com> wrote:
> Hi Ruben ,
>
> Once the vm is created using the below  template . May i know what operation
> need to be executed so that the vm goes to epilog state and save the vm
> image.
>
> NAME    = myVM
> CPU      = 0.5
> MEMORY   = 512
> OS=[bootloader="/usr/bin/pygrub"]
> DISK     = [source="/home/wipro/vm-image/ovm-wls-129.img",target="xvda",
> BOOT="true", readonly="no",clone="yes",save="/home/cloud/clonedimage"]
> NIC     = [NETWORK="10.101.102.112"]
> GRAPHICS = [ type    = "vnc", listen  = "0.0.0.0"]
>
> Thanks in Advance,
> Prema
>
>
>
> Please do not print this email unless it is absolutely necessary.
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should
> check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com



-- 
+---------------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Distributed System Architecture Group (http://dsa-research.org)

 URL:    http://dsa-research.org/doku.php?id=people:ruben
 Weblog: http://blog.dsa-research.org/?author=7

 GridWay, http://www.gridway.org
 OpenNebula, http://www.opennebula.org
+---------------------------------------------------------------+


More information about the Users mailing list