Book Image

VMware vCenter Cookbook

By : Kostantin Kuminsky
Book Image

VMware vCenter Cookbook

By: Kostantin Kuminsky

Overview of this book

Table of Contents (15 chapters)
VMware vCenter Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Automating tasks with a scheduler


vCenter has a task scheduler that allows scheduling certain tasks to run in future, either once or multiple times. A task is an event or activity that takes some time to complete. Examples of such events are powering on or off, shutting down, cloning, deploying, or migrating a virtual machine; adding a host; changing the resource pool or VM settings, and so on.

Unfortunately, a vCenter scheduler does not have the ability to schedule tasks for multiple objects. If a few virtual machines have to be turned off, a separate task has to be created for each VM.

Once a scheduled task runs, it stays in the list and can be scheduled to run again by modifying its properties.

Getting ready

If vCenter Client is used, it has to be connected to the vCenter Server before a task can be scheduled.

The user creating a task has to be granted the Scheduled Task.Create Tasks privilege.

How to do it...

To schedule a task in Web Client, execute the following steps:

  1. Select an object the...