Restart-AFCacheCluster

Restart-AFCacheCluster

Restarts the Caching Service on all cache hosts in the cluster.

Syntax

Parameter Set: Default
Restart-AFCacheCluster [-HostTimeoutSec <Int32> ] [-QuorumTimeoutSec <Int32> ] [ <CommonParameters>]


Parameters

-HostTimeoutSec<Int32>

The timeout value in seconds for the cache host to start. By default, this is 60 seconds.


Aliases

none

Required?

false

Position?

named

Default Value

60

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-QuorumTimeoutSec<Int32>

The timeout, in seconds, for the majority of lead hosts to restart. The default value is 120 seconds. This is applicable only when lead hosts management is enabled.


Aliases

none

Required?

false

Position?

named

Default Value

120

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Outputs

The output type is the type of the objects that the cmdlet emits.

  • List<Microsoft.Data.Caching.AdminApi.HostInfo>

Examples

PS C:\>

Related topics

Show: