PowerShell Logo Small

Add-ClusterGenericServiceRole



This is the built-in help made by Microsoft for the command 'Add-ClusterGenericServiceRole', 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 a service that was not originally designed to run in a failover cluster.

SYNTAX


Add-ClusterGenericServiceRole [[-Name] <String>] [-CheckpointKey <StringCollection>] [-Cluster <String>] [-IgnoreNetwork <StringCollection>] [-InputObject <PSObject>]
[-StaticAddress <StringCollection>] [-Storage <StringCollection>] [-Wait <Int32>] -ServiceName <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-ClusterGenericServiceRole cmdlet configures high availability for a service that was not originally designed to run in a failover cluster. 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, 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=321009
Add-ClusterGenericApplicationRole
Add-ClusterGenericScriptRole
Get-ClusterGroup
Move-ClusterGroup
Remove-ClusterGroup
Start-ClusterGroup
Stop-ClusterGroup

REMARKS

<

Examples


Example 1

PS C:\>Add-ClusterGenericServiceRole -ServiceName Service1
Name OwnerNode State
---- --------- -----
cluster1GenSvc node1 Online



This example configures Service1 as a generic clustered service, using defaults for the name and IP address, and does not assign a disk.




Example 2

PS C:\>Add-ClusterGenericServiceRole -ServiceName Service1 -Storage "Cluster Disk 6"
Name OwnerNode State
---- --------- -----
cluster1GenSvc node1 Online



This example configures Service1 as a generic clustered service using Cluster Disk 6, and assigns defaults for the name and IP address.