Which cmdlet should you run?

Posted by: Pdfprep Category: 70-412 Tags: , ,

Your network contains an Active Directory domain named contoso.com. The domain contains two member servers named Server1 and Server2. All servers run Windows Server 2012 R2.

Server1 and Server2 have the Failover Clustering feature installed. The servers are configured as nodes in a failover cluster named Cluster1. Cluster1 contains a cluster disk resource.

A developer creates an application named App1. App1 is NOT a cluster-aware application. App1 runs as a service. App1 stores data on the cluster disk resource.

You need to ensure that App1 runs in Cluster1. The solution must minimize development effort.

Which cmdlet should you run?
A . Add-ClusterGenericServiceRole
B . Add-ClusterGenericApplicationRole
C . Add-ClusterScaleOutFileServerRole
D . Add-ClusterServerRole

Answer: B

Explanation:

Add-ClusterGenericApplicationRole

Configure high availability for an application that was not originally designed to run in a failover cluster.

If you run an application as a Generic Application, the cluster software will start the application, then periodically query the operating system to see whether the application appears to be running. If so, it is presumed to be online, and will not be restarted or failed over.

EXAMPLE 1.

Command Prompt: C:PS>

Add-ClusterGenericApplicationRole -CommandLine NewApplication.exe

Name OwnerNode State

—- ——— —–

cluster1GenApp node2 Online

Description

———–

This command configures NewApplication.exe as a generic clustered application. A default name will be used for client access and this application requires no storage.

Reference: Add-ClusterGenericApplicationRole

http://technet.microsoft.com/en-us/library/ee460976.aspx

Leave a Reply

Your email address will not be published.