PowerShell Logo Small

Add-ClusterGenericApplicationRole



This is the built-in help made by Microsoft for the command 'Add-ClusterGenericApplicationRole', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

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

SYNTAX


Add-ClusterGenericApplicationRole [[-Name] <String>] [-CheckpointKey <StringCollection>] [-Cluster <String>] [-IgnoreNetwork <StringCollection>] [-InputObject <PSObject>]
[-Parameters <String>] [-StaticAddress <StringCollection>] [-Storage <StringCollection>] [-Wait <Int32>] -CommandLine <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-ClusterGenericApplicationRole cmdlet configures high availability for an application that was not originally designed to run in a failover cluster.


If an application is run 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, then it is presumed to be online and will not be restarted or failed over.


Note: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321007
Add-ClusterGenericScriptRole
Add-ClusterGenericServiceRole
Get-ClusterGroup
Move-ClusterGroup
Remove-ClusterGroup
Start-ClusterGroup
Stop-ClusterGroup

REMARKS

<

Examples


Example 1

PS C:\>Add-ClusterGenericApplicationRole -CommandLine NewApplication.exe
Name OwnerNode State
---- --------- -----
cluster1GenApp node2 Online



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




Example 2

PS C:\>Add-ClusterGenericApplicationRole -CommandLine NewApplication.exe -Storage "Cluster Disk 4" -Name NewApplication
Name OwnerNode State
---- --------- -----
NewApplication node2 Online



This example configures NewApplication.exe as a generic clustered application using Cluster Disk 4, and assigns the name NewApplication.




Example 3

PS C:\>Add-ClusterGenericApplicationRole -CommandLine NewApplication.exe -Wait 0
Name OwnerNode State
---- --------- -----
cluster1GenApp node2 Pending



This example configures NewApplication.exe as a generic clustered application and assigns the name NewApplication. The cmdlet completes without waiting for all resources to
come online.