VM tasks

A VM task is used to execute operations on VMs as scheduled. Supported operations include staring VMs, shutting down VMs, restarting VMs, creating snapshots for VMs, and restoring VMs by using snapshots.

VM startup and VM shutdown tasks are applicable to services that do not require full-time running. This feature ensures the availability of services in the specified time range timely release of resources in other time ranges.

Configuration workflow

  1. Create a VM task—Create a VM task to execute operations (such as start, shut down, restart, and restore) on VM.

  1. Execute a VM task

  1. Manage VM tasks—Edit or delete a VM task, or edit VMs in a VM task.

Restrictions and guidelines

Create a VM task

Procedure

  1. From the left navigation pane, select System > Advanced Settings > Scheduled Tasks.

  1. Click Create.

  1. Select VM for the Execute On field, and configure VM task parameters as described in "Parameters."

  1. Click Next, and then select VMs on which the task is executed.

  1. Click Next, and review the configuration.

  1. Click OK.

Parameters

Execute a VM task

  1. From the left navigation pane, select System > Advanced Settings > Scheduled Tasks.

  1. Click Execute in the Actions column for a VM task.

  1. In the dialog box that opens, click OK. The system will execute the task immediately. If you click Cancel, the system will execute the task as planned in the task.

Manage VM tasks

Remove a VM from a VM task

  1. From the left navigation pane, select System > Advanced Settings > Scheduled Tasks.

  1. In the VM list for a task, click Delete in the Actions column for a VM.

  1. In the dialog box that opens, click OK.

Edit a VM task

  1. From the left navigation pane, select System > Advanced Settings > Scheduled Tasks.

  1. Click More in the Actions column for a VM task, and then select Edit.

  1. Configure the VM task parameters as described in "Parameters."

  1. Click Next, and then select or clear VMs.

  1. Click Next, and review the configuration.

  1. Click OK.

Delete a VM task

  1. From the left navigation pane, select System > Advanced Settings > Scheduled Tasks.

  1. Click More in the Actions column for a VM task, and then select Delete.

  1. In the dialog box that opens, click OK.