Hello, Raj

There currently is no API to quiesce/unquiesce a VM. As you mentioned, there are a few snapshot APIs that enable users to do it, but it is done alongside the snapshot process.

Since libvirt has APIs specifically to freeze/thaw a VM's filesystem (see https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainFSFreeze), this should not be too hard to implement for KVM. I'm not sure about Xen or VMware though.

You could raise an issue on the Github to request this feature. Also, I believe that there is still to apply your idea to GSoC.

Best regards,

João Jandre.

On 3/7/25 08:41, Rajasekar P wrote:
Hello Apache CloudStack Community,

I am currently working with Apache CloudStack version 4.20 and need some
clarification regarding controlling the quiesced state of a running VM.
Specifically, I'm looking for a way to:

1. Quiesce a VM (i.e., flush filesystem activity or pause relevant
operations) without stopping it.
2. Later, unquiesce the VM to resume its normal operations.

I’m not referring to snapshot-related operations, which internally Queisce
and UnQuiesce, rather a standalone feature to manage the quiesced state of
a VM for purposes of storage vendor based backup procedures.

Could you please let me know if there is any API support for directly
quiescing and unquiescing VMs, or if there is a recommended best practice
to achieve this functionality using Apache CloudStack API?

Thank you for your assistance.

Best regards,
Raj.

Reply via email to