cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yiping Zhang <>
Subject Re: How exactly does CloudStack stop a VM?
Date Wed, 06 Jun 2018 22:58:07 GMT
We are using XenServers with our CloudStack instances.

On 6/6/18, 3:11 PM, "Jean-Francois Nadeau" <> wrote:

    On KVM,  AFAIK the shutdown is the equivalent of pressing the power
    button.  To get the Linux OS to catch this and initiate a clean shutdown,
    you need the ACPID service running in the guest OS.
    On Wed, Jun 6, 2018 at 6:01 PM, Yiping Zhang <> wrote:
    > Hi, all:
    > We have a few VM instances which will hang when issue a Stop command from
    > CloudStack web UI or thru API calls, due to the app’s own startup/stop
    > script in guest OS was not properly invoked.  The app’s startup/stop script
    > works properly if we issue shutdown/reboot command in guest OS directly.
    > Hence here is my question:  when CloudStack tries to stop a running VM
    > instance, what is the exact command it sends to VM to stop it, with or
    > without forced flag?  What are the interactions between the CloudStack, the
    > hypervisor and the guest VM?
    > Yiping

View raw message