Start, Shutdown, Remove, or Interrupt a VM Instance
Using the Virtual machines (VM) page in the web console, Cockpit administrators can choose to start, shutdown, reboot, pause, remove, or interrupt an existing VM instance on the managed host system.
What Do You Need?
- The Cockpit web console must be installed and accessible.
For details, see these topics: Install and Enable Cockpit and Log in to the Cockpit Web Console.
- The
Cockpit-machines
add-on application must be installed in the web console and the Oracle Linux virtualization packages must be installed and enabled on the host system.For more information, see Install Cockpit-Machines and Enable Virtualization.
- One or more virtual machine instances must exist on the host system and appear in the Virtual machines page.
Steps
Using the Cockpit web console, follow these steps to remove a VM instance or to change its operating state.
- In the navigation pane, click Virtual machines.
The Virtual machines page appears.
-
In the Virtual machines page, navigate to the name of the virtual machine of interest and click the actions menu [⋮], and then select one of the following:
Start When the VM is shut down, you can click Start to start the VM. Pause When a VM is running, you can click Pause to suspend the VM state. In this state, the VM continues to consume system RAM, but the VM disk and network I/O processes are suspended. Resume When a VM is paused, you can click Resume to reset the guest VM state without invoking a shut down. Note:
Resuming a virtual machine doesn't apply pending VM configuration changes. Pending changes only take effect after a complete shut down and restart of the VM.Shut down or Force Shut down Perform one of the following: - Click Shut down to exit the VM instance.
- Click Force Shut down to forcibly shut down the VM instance as if you had pulled the power plug.
Reboot or Force Reboot Note:
VM must be in a running state.- Click Reboot to restart the VM guest.
- Click Force Reboot to forcibly restart the VM guest if it appears to be unresponsive.
Send Non Maskable Interrupt (NMI) When a VM instance is unresponsive, select Send (NMI) to promote the system to respond or shut down. Delete Requirements: - The VM instance must be shut down before removing it.
- Any existing snapshots of the VM instance must be removed before removing the VM instance.
- Click Delete.
- In the confirmation dialog, click Delete to remove a VM instance from the host system.