Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

Using Dynamic Resource Scheduling


In the preceding examples, for Lab Cluster, DRS is not enabled. So, first we will enable DRS for this cluster. In the following example, we have enabled DRS and the default automation level is FullyAutomated:

Next, we will change the automation level using the DrsAutomationLevel property. The valid values that we can use are as follows:

  • FullyAutomated

  • Manual

  • PartiallyAutomated

In this example, we will change the value to PartiallyAutomated:

We can use the Get-DrsRecommendation cmdlet to get the DRS recommendations for a cluster. For example, to get the DRS recommendation, we can run the following command:

PS C:\> Get-DrsRecommendation -Cluster 'Lab Cluster' -Refresh

This will refresh the cluster and show the recommendations, as shown in the following example:

Next, we will discuss the advanced settings of a DRS cluster.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath