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 date 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
Explanation:
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.http://technet.microsoft.com/en-us/library/ee460976.aspxc
I think it’s A
The questions says “…App1 runs as a service”
http://technet.microsoft.com/en-us/library/ee460966.aspx
“Configure high availability for a service 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
Agreed.
This is a tricky question, however, all research points to A being the correct answer due to the simple fact that the question states “App1” will be running as a service not as an application.
Good work gents, I agree with A as the answer.
I also think A is correct
Got different versions of this question.
in this version i think A is correct
got the same question minus app1 running as a service…be careful with this one
what kind of question you got.. shall we know?
I must say that I would go with answer B.
The question states that App1 is the element that runs some sort of a service. It’s not a installed service feature that needs to be highly available, it’s the app itself that needs to be highly available to run a service. So if the app is not running the service wouldn’t be running. So IMO you really should focus on the app to be highly available not the service that the app is running. Please correct me if I’m wrong!
If you think about it, all services are applications, so this one should not be treated any differently. It should be ‘A’.
Confused the question state a “none cluster aware application” therefor i would suspect the correct answer is “B”
Yeah agree with Patrick, it has to be B due to the wording of the question.
Having gone through this question again I read it as this, the ‘NOT a cluster-aware application’ simply indicates that you need to add a cluster generic application (as stated in study materials etc.) but in the case of this question I think because it says ‘App1 runs as a service’ the answer has to be A.
It’s A. It runs as a service, so the cluster needs to check if a service is running.
https://technet.microsoft.com/en-us/library/cc753938.aspx
Generic Service
The cluster software will start the service, then periodically query the Service Controller (a feature of the operating system) to determine whether the service appears to be running. If so, it is presumed to be online, and will not be restarted or failed over.
Microsoft has gotten smarter in wording their sentences. There is a massive difference in the two sentences : “Appl1 runs as a service ” and “App1 runs a service”
in the former the cluster needs to query in the service is running.
Answer seems to be = A
Explanation
Generic Application
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.
Note that in comparison with a cluster-aware application, a Generic Application has fewer ways of communicating its precise state to the cluster software. If a Generic Application enters a problematic state but nonetheless appears to be running, the cluster software does not have a way of discovering this and taking an action (such as restarting the application or failing it over).
Generic Service
The cluster software will start the service, then periodically query the Service Controller (a feature of the operating system) to determine whether the service appears to be running. If so, it is presumed to be online, and will not be restarted or failed over.
Note that in comparison with a cluster-aware service, a Generic Service has fewer ways of communicating its precise state to the cluster software. If a Generic Service enters a problematic state but nonetheless appears to be running, the cluster software does not have a way of discovering this and taking an action (such as restarting the service or failing it over).
I would go with ‘A’ after considering the “app1 run as a service ” and reading the explanation given by all those who said answer is A.
I also think A as it runs as a service.
An Application that runs as a service means that it automaticly starts after boot or reboot. That the app runs even when you are not logged in. etc. etc…… It runs 24×7!!
But nothingtheless it stays an app.
So I think its B.
I believe is A because :
1. The developper creates an application which run as a service and you can create a service windows
https://msdn.microsoft.com/en-us/library/9k985bc9%28v=vs.110%29.aspx
2. If you look the difference between Add-ClusterGenericApplicationRole and Add-ClusterGenericServiceRole you see :
*Add-ClusterGenericApplicationRole
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.
*Add-ClusterGenericServiceRole
The cluster software will start the service, then periodically query the Service Controller (a feature of the operating system) to determine whether the service appears to be running.
3.The powershell command to ServiceRole is :
Add-ClusterGenericServiceRole -ServiceName Service1
4. you have the a other question which don’t require a service application :
http://www.aiotestking.com/microsoft/which-cmdlet-should-you-run-85/
Correct Answer: A
The questions says “…App1 runs as a service”
http://technet.microsoft.com/en-us/library/ee460966.aspx
“Configure high availability for a service 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
Agreed. App1 run as a service. (A) if the question doesnt state App1 run as a service then it should be Add-ClusterGenericApplicationRole