On 06/07 08:59, Roy Smith wrote:
> I've got a VM (spi-tools-host-1) that I'm not actively using right now.  I 
> could shut it down to release the CPU resources, but I want to be able to 
> start it back up again at some point in the future with the same 
> configuration.  On AWS I would just back up all the storage and shut down the 
> VM.  Is there some way to do that in this environment?
> 
> I suspect the answer may include, "Yo, dummy, you should have used puppet 
> instead of just installing things manually with apt-get".  If that's the 
> case, feel free to say that :-)

You should be able to just turn it off, and whenever you want, just start it up 
again, that will preserve the current
status of the hard drive.

There's actually several ways:
* pause -> will preserve the current running status, with whatever is on ram. 
It will store the VM ram info on the
  hypervisor RAM, so it will stay on the current hypervisor but will be fast to 
start.
* suspend -> similar as above, but storing the VM ram on disk.
* shut off -> will turn the OS on the VM off, same as turning off a bare metal, 
the VM OS will stop any processes and
  such, and will have to boot when turning it on (slower, but allows moving the 
VM easily).

If you don't really care about stopping the current running processes, I'd 
recommend shutting the VM off, and then
whenever you need to, turning it on.

In any case I do recommend though using puppet xd.

> 
> Or, is the VM so small that it's not worth worrying too much about the 
> resources it's wasting?

Your VM is quite small, so it's not much of a problem, though if it's not an 
issue would be nice to save the resources
:)

Thanks a lot for being mindful!

> _______________________________________________
> Cloud mailing list -- [email protected]
> List information: 
> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

-- 
David Caro
SRE - Cloud Services
Wikimedia Foundation <https://wikimediafoundation.org/>
PGP Signature: 7180 83A2 AC8B 314F B4CE  1171 4071 C7E1 D262 69C3

"Imagine a world in which every single human being can freely share in the
sum of all knowledge. That's our commitment."

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Cloud mailing list -- [email protected]
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to