Get-NCAzClusterHealth
The Get-NCAzClusterHealth cmdlet retrieves the health status of the cache cluster, including the status of nodes, their connections, and the number of connected clients. This cmdlet is useful for monitoring the overall health of a cache cluster.
Get-NCAzClusterHealth -EnvName -CacheName [-Server] [-NoLogo]
Example
- This command displays the health status of the nodes and connected clients for the demoCache in the specified environment:
Get-NCAzClusterHealth -EnvName Production -CacheName demoCache
- This command displays the health status of the nodes and connected clients for the demoCache on 10.0.0.4 in the default environment:
Get-NCAzClusterHealth -EnvName Production -CacheName demoCache -Server 10.0.0.4
Properties
Note
Parameters marked with an asterisk (*) are required. All others are optional.
| Parameter | Data Type | Description | Default Value |
|---|---|---|---|
-EnvName* |
<String> |
Specifies the name of the environment for which the cluster health is being queried. | - |
-CacheName* |
<String> |
Specifies the name of the cache for which the cluster health is being retrieved. | - |
-Server |
<String> |
Specifies the server name for which cluster health is being retrieved. | Local Machine |
-NoLogo |
<SwitchParameter> |
Indicates whether to exclude logo details during client addition. | - |