You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Alex Kendi Adati <al...@gmail.com> on 2019/04/03 17:36:36 UTC

Shutdown VM

Hello,

I need help from the community.
I need to know if it's possible to shut down a VM Windows Server guest OS
by the user on the operating system? (for example, by the command line
shutdown -s or by the shutdown in the menu start)
When the VM is turned off this way, it shuts off but after a few seconds,
the VM is started automatically by CloudStack.

Thank you.

RE: Shutdown VM

Posted by Andrija Panic <an...@shapeblue.com>.
No. CloudStack is not aware that you did shutdown VM from inside OS - CloudStack will consider a VM crashed, and will start it again.

Best
Andrija

andrija.panic@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


-----Original Message-----
From: Alex Adati <al...@brascloud.com.br> 
Sent: 05 April 2019 13:25
To: users@cloudstack.apache.org
Subject: Re: Shutdown VM

Hello,

I'm using a computational offering with HA enabled, and would like to know if there is any way to shut down the VM by the operating system.

Thank's.

Em sex, 5 de abr de 2019 às 04:54, Riepl, Gregor (SWISS TXT) < Gregor.Riepl@swisstxt.ch> escreveu:

> > You should be using a computer offering with HA enabled.
> > When you’re using this option, cloudstack will start vm until you
> shutdown it by cloudstack interface (UI or api).
>
> I think you meant: You should NOT be using a compute offering with HA 
> enabled, right?
>


--

Re: Shutdown VM

Posted by Rakesh Venkatesh <ww...@gmail.com>.
Disable the HA for the vm by changing filed in vm_instance table and
shutdown the vm. The cloudstack wont restart it. That worked for me

On Fri, Apr 5, 2019 at 1:25 PM Alex Adati <al...@brascloud.com.br> wrote:

> Hello,
>
> I'm using a computational offering with HA enabled, and would like to know
> if there is any way to shut down the VM by the operating system.
>
> Thank's.
>
> Em sex, 5 de abr de 2019 às 04:54, Riepl, Gregor (SWISS TXT) <
> Gregor.Riepl@swisstxt.ch> escreveu:
>
> > > You should be using a computer offering with HA enabled.
> > > When you’re using this option, cloudstack will start vm until you
> > shutdown it by cloudstack interface (UI or api).
> >
> > I think you meant: You should NOT be using a compute offering with HA
> > enabled, right?
> >
>
>
> --
>


-- 
Thanks and regards
Rakesh venkatesh

Re: Shutdown VM

Posted by Alex Adati <al...@brascloud.com.br>.
Hello,

I'm using a computational offering with HA enabled, and would like to know
if there is any way to shut down the VM by the operating system.

Thank's.

Em sex, 5 de abr de 2019 às 04:54, Riepl, Gregor (SWISS TXT) <
Gregor.Riepl@swisstxt.ch> escreveu:

> > You should be using a computer offering with HA enabled.
> > When you’re using this option, cloudstack will start vm until you
> shutdown it by cloudstack interface (UI or api).
>
> I think you meant: You should NOT be using a compute offering with HA
> enabled, right?
>


--

Re: Shutdown VM

Posted by "Riepl, Gregor (SWISS TXT)" <Gr...@swisstxt.ch>.
> You should be using a computer offering with HA enabled.
> When you’re using this option, cloudstack will start vm until you shutdown it by cloudstack interface (UI or api).

I think you meant: You should NOT be using a compute offering with HA enabled, right?

Re: Shutdown VM

Posted by Matheus Fontes <ma...@ghz.com.br>.
Hi,
You should be using a computer offering with HA enabled.
When you’re using this option, cloudstack will start vm until you shutdown it by cloudstack interface (UI or api).



> On 3 Apr 2019, at 14:36, Alex Kendi Adati <al...@gmail.com> wrote:
> 
> Hello,
> 
> I need help from the community.
> I need to know if it's possible to shut down a VM Windows Server guest OS
> by the user on the operating system? (for example, by the command line
> shutdown -s or by the shutdown in the menu start)
> When the VM is turned off this way, it shuts off but after a few seconds,
> the VM is started automatically by CloudStack.
> 
> Thank you.