Maintenance and Troubleshooting
VM maintenance and troubleshooting help administrators handle exceptions that occur while VMs are running. You can configure a VM failure handling policy so that the platform performs a predefined action when a VM exception is detected.
Before you configure a failure handling policy, make sure that the VM meets the runtime requirements for the policy to take effect, and evaluate the impact of the automatic action on services.
Configure a VM Failure Response Policy
A VM failure refers to a Windows VM blue screen or a Linux VM becoming unresponsive during operation due to excessive load or other issues. You can configure an automatic response policy for VM failures.
Before you begin
- Failure response policies are supported only for VMs that use the x86_64 CPU architecture.
- Before you configure a failure response policy, install VMTools on the VM and make sure that VMTools is running properly. For more information about VMTools, see Install and Use VMTools.
- The failure response policy takes effect immediately after configuration and does not require a VM restart.
Procedure
- In the navigation pane, choose .
- Select the target VM and click .
-
In the Modify VMTools Settings dialog, modify the VM failure response policy as needed.
- No Action (default): Keep the current state after the failure and take no action.
- Reboot: Automatically reboot the VM after the failure. By default, after five reboot attempts within 30 minutes, the system stops rebooting the VM and keeps it in the failed state.
- Shut Down: Automatically shut down the VM after the failure.
Note: For Linux VMs, after this feature is enabled, the kdumpmodule is disabled at the next startup. - Click OK.
