cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: Support of Shelve like Nova in OpenStack?
Date Sat, 30 Sep 2017 10:37:50 GMT
You mean to stop a VM, take a snapshot and delete it afterwards?

Not all in a single feature. You could do that with a script though. We
have snapshots and recurrent snapshots that you could use (even with a
running VM). When a VM is stopped, we also “remove”/free the amount of
resource it was allocating from the hypervisor (so, the resources
“allocated” for a VM are not always reserved). And of course, you can
delete a VM. If you are some sort of administrator, you delete and expunge
it immediately, otherwise, it goes through the normal deletion process,
which may take some time (for security reasons).

On Sat, Sep 30, 2017 at 5:22 AM, Leo Juan <leo.v.juan@gmail.com> wrote:

> Hi All,
>
>     Does anyone know whether CloudStack support shelve function like
> nova shelve in OpenStack or not?
>
>     "Shelving stops the instance and takes a snapshot of it. Then
> depending on the value of the shelved_offload_time config option, the
> instance is deleted from the hypervisor (0), never deleted (-1), or
> deleted after some period of time (> 0). Note that it's just
> destroying the backing instance on the hypervisor, the actual instance
> in the nova database is not deleted. Then you can later unshelve the
> instance"
>
>     So that the resource of some unused VM can be released.
>
>    Regards,
>
>   Leo Juan
>



-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message