Re: Restore a VM from template

2013-01-05 Thread Kelceydamage@bbits
Yup, that's it, thanks. That helps clarify the issue, and Trevor should be happy :) Sent from my iPhone On Jan 5, 2013, at 6:17 AM, Nitin Mehta wrote: > Hi Kelcey / Trevor - I think you got confused between 2 apis we have in > Cloudstack - restoreVirtualMachine and recoverVirtualMachine. >

Re: Restore a VM from template

2013-01-05 Thread Nitin Mehta
Hi Kelcey / Trevor - I think you got confused between 2 apis we have in Cloudstack - restoreVirtualMachine and recoverVirtualMachine. restore vm api restores a new volume for the vm keeping the IP address and other attributes intact. This action is available only when the vm is stopped or runni

Re: Restore a VM from template

2013-01-04 Thread Kelceydamage@bbits
We discussed this, but RestoreVM is for resurrecting a VM in status 'Destroyed' before its expunged. Trevor wants to re-image an existing VM. You could also look it at snapshot rollback. Being able to restore a VM to a previous state. Most importantly Trevor needs a solution that does not chan

RE: Restore a VM from template

2013-01-04 Thread Koushik Das
Take a look at restoreVirtualMachine API (com.cloud.api.commands.RestoreVMCmd) -Koushik From: Trevor Francis [mailto:trevor.fran...@tgrahamcapital.com] Sent: Saturday, January 05, 2013 2:08 AM To: cloudstack-dev@incubator.apache.org Subject: Restore a VM from template Is there a way to restore a

Re: Restore a VM from template

2013-01-04 Thread Marcus Sorensen
age - > From: "Marcus Sorensen" > To: cloudstack-dev@incubator.apache.org > Sent: Saturday, January 5, 2013 7:45:07 AM > Subject: Re: Restore a VM from template > > > > You provide the IP you want, the hostname you want, and template you want > to deploy

Re: Restore a VM from template

2013-01-04 Thread jerry jiang . 蒋维
Hello Marcus, Please correct me if I am wrong. Can we specify a static IP address when we deploy a new instanace via API? Jerry - Original Message - From: "Marcus Sorensen" To: cloudstack-dev@incubator.apache.org Sent: Saturday, January 5, 2013 7:45:07 AM Subject: Re: Re

Re: Restore a VM from template

2013-01-04 Thread Marcus Sorensen
You provide the IP you want, the hostname you want, and template you want to deploy from when you call deployVirtualMachine. The previous vm needs to be fully expunged though, or the IP won't be available. On Jan 4, 2013 4:25 PM, "Trevor Francis" wrote: > Is there a way to restore a VM from a tem

RE: Restore a VM from template

2013-01-04 Thread Kelcey Damage (BT)
Not restore, but you can re-instance. Make a call to provision a VM from the template catalog. It will be a new sequenced clone, not a restore. With CS you don’t really use VMs, the term ‘instance’ is actually quite correct. They are ‘stateless’ to the hypervisor, and exist only in the DB. So in