You have a cluster named Cluster1 that contains two nodes.
Both nodes run Windows Server 2012 R2.
Cluster1 hosts a virtual machine named VM1 that runs Windows Server 2012 R2.
You configure a custom service on VM1 named Service1.
You need to ensure that VM1 will be moved to a different node if Service1 fails.
Which cmdlet should you run on Cluster1?
A.
Add-ClusterVmMonitoredItem
B.
Set-ClusterResourceDependency
C.
Enable- VmResourceMetering
D.
Add-ClusterGenericServiceRole
Explanation:
* The Add-ClusterVMMonitoredItem cmdlet configures monitoring for a service or an Event
Tracing for Windows (ETW) event so that it is monitored on a virtual machine. If the service fails
or the event occurs, then the system responds by taking an action based on the failover
configuration for the virtual machine resource.
For example, the configuration might specify that the virtual machine be restarted or failover.
* The decision on whether to failover or restart on the same node is configurable and determined
by the failover properties for the virtual machine.