Cisco Network Function Virtualization Infrastructure Software Configuration Guide, Release 26.2 and Later

PDF

Cisco Network Function Virtualization Infrastructure Software Configuration Guide, Release 26.2 and Later

VM graceful stop

Want to summarize with AI?

Log in

Describes the process of safely shutting down a virtual machine by allowing running processes to complete and properly close before terminating the VM instance.



Graceful VM stop

A graceful stop is a VM power management option that

  • sends an ACPI signal to the operating system within the VM

  • allows services and applications to terminate in an orderly manner before the VM powers off, and

  • contrasts with forceful shutdown, which immediately cuts power to the VM.

Key features and behavior

  • Default Behavior: When initiating a VM shutdown, the Graceful stop checkbox is selected by default for VMs deployed with type as OTHER.

  • Timeout: The graceful stop operation has a timeout period of 20 minutes.

  • Error State: If the VM does not shut down gracefully within the 20-minute timeout, it will transition to an error state.

  • Forceful Fallback: If a graceful stop fails or the VM enters an error state, you can uncheck the Graceful stop option to perform a forceful shutdown.


Perform a graceful stop

Perform a graceful stop to safely shut down a VM while allowing running processes to complete and prevent data loss.

Use a graceful stop when you need to shut down a VM while ensuring that all running processes complete properly and the system shuts down cleanly. This method is the recommended approach for routine VM shutdowns.

Procedure

1.

From the Manage Deployments page, click the Switch Power icon for the VM that you want to stop or shutdown.

The Graceful stop checkbox is selected by default for VMs deployed with type as OTHER.

2.

Click OK to confirm VM shutdown.

The graceful shutdown process begins in the background.

3.

Monitor the VM status in the management interface.

If the VM does not shut down within 20 minutes, it will automatically move to an error state. In this case, you may need to perform a forceful shutdown by repeating this procedure and unchecking the Graceful stop option.

The VM status transitions from active to shutdown, indicating the graceful stop was successful.