70-659 · Question #21
You use Hyper-V Server 2008 R2 and failover clustering to host several virtual machines (VMs). You need to place a disk in maintenance mode. Which Windows PowerShell cmdlet should you run?
The correct answer is A. Suspend-ClusterResource. Suspend-ClusterResource: Turn on maintenance for a disk resource or Cluster Shared Volume so that you can run a disk maintenance tool without triggering failover. Block-ClusterAccess: Prevent the specified user or users from accessing a failover cluster. Stop- Cluster: Stop the…
Question
You use Hyper-V Server 2008 R2 and failover clustering to host several virtual machines (VMs). You need to place a disk in maintenance mode. Which Windows PowerShell cmdlet should you run?
Options
- ASuspend-ClusterResource
- BStop-ClusterResource
- CSet-ClusterResourceDependency
- DBlock-ClusterAccess
How the community answered
(50 responses)- A84% (42)
- B8% (4)
- C6% (3)
- D2% (1)
Explanation
Suspend-ClusterResource: Turn on maintenance for a disk resource or Cluster Shared Volume so that you can run a disk maintenance tool without triggering failover. Block-ClusterAccess: Prevent the specified user or users from accessing a failover cluster. Stop- Cluster: Stop the Cluster service on all nodes in a failover cluster, which will stop all services and applications configured in the cluster. Add-ClusterResourceDependency : Add a resource to the list of resources that a particular resource depends on (using AND as the connector) within a failover cluster. Existing dependencies will remain in the list. Set-ClusterResourceDependency : Specify the resources that a particular resource depends on within a failover cluster. Existing dependencies will be overwritten by the dependencies that you Suspend-ClusterResource [-InputObject <psobject>] [[-Name] <string>] [-Cluster <string>] [- Force] [-RedirectedAccess] [-VolumeName <string>] [<CommonParameters>] Detailed Description This cmdlet applies to disks and Cluster Shared Volumes only. For Cluster Shared Volumes, turning on maintenance takes dependent resources offline, which interrupts client access. For other disks (LUNs) in cluster storage, turning on maintenance leaves dependent resources Stop-Cluster cluster1 This command stops the Cluster service on all nodes in cluster1, which will stop all services and applications configured in the cluster.
Topics
Community Discussion
No community discussion yet for this question.