• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Get-ClusterHealth

This PowerShell cmdlet retrieves the health status of all nodes registered in the specified NCache cluster. It reports node operational states, inter-node communication health, overall cluster view, and the number of connected clients. This cmdlet is used for monitoring cluster stability, validating high availability, troubleshooting node or connectivity issues, and verifying client load distribution in distributed cache environments.

  • Windows PowerShell
  • Linux CLI
Get-ClusterHealth -CacheName [-Server] [-Continuous] [-SampleInterval] [-NoLogo]

Examples

  • This command displays the nodes of the cache, status, connections among them and connected client count for the cache demoCache.
Get-ClusterHealth -CacheName demoCache
  • This command displays the nodes, status, connection information and connected clients on a specific server 20.200.20.11 for the cache demoCache.
Get-ClusterHealth -CacheName demoCache -Server 20.200.20.11
  • This command displays the nodes of the cache, status, connection information and connected clients for the cache demoCache continuously after every 3 seconds.
Get-ClusterHealth -CacheName demoCache -Continuous
  • This command displays the nodes of the cache, status, connection information and connected clients for the cache demoCache continuously after every 5 second interval.
Get-ClusterHealth -CacheName demoCache -Continuous -SampleInterval 5
  • This command displays the nodes of the cache, status, connections among them and connected client count for the cache demoCache, using security credentials.
Get-ClusterHealth -CacheName demoCache -Credentials (Get-Credential john_smith)

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-CacheName* <String> Specifies the name of the cache for which the cluster health needs to be displayed.
Note: The cache must already exist on the source server.
-
-Server <String> Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered for which cluster health needs to be displayed. IP of local machine
-Continuous <SwitchParameter> Specifies that statistics are retrieved continuously. -
-SampleInterval <Integer> Specifies the time between samples in seconds. Minimum value is 1 second. 3 seconds
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False
get-clusterhealth -cachename [-server] [-continuous] [-sampleinterval] [-nologo]

Examples

  • This command displays the nodes of the cache, status, connections among them and connected client count for the cache demoCache.
get-clusterhealth -cachename demoCache
  • This command displays the nodes, status, connection information and connected clients on a specific server 20.200.20.11 for the cache demoCache.
get-clusterhealth -cachename demoCache -server 20.200.20.11
  • This command displays the nodes of the cache, status, connection information and connected clients for the cache demoCache continuously after every 3 seconds.
get-clusterhealth -cachename demoCache -continuous
  • This command displays the nodes of the cache, status, connection information and connected clients for the cache demoCache continuously after every 5 second interval.
get-clusterhealth -cachename demoCache -continuous -sampleinterval 5
  • This command displays the nodes of the cache, status, connections among them and connected client count for the cache demoCache, using security credentials.
get-clusterhealth -cachename demoCache -userid john_smith -password pass123

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-cachename* <String> Specifies the name of the cache for which the cluster health needs to be displayed.
Note: The cache must already exist on the source server.
-
-server <String> Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered for which cluster health needs to be displayed. IP of local machine
-continuous <SwitchParameter> Specifies that statistics are retrieved continuously. -
-sampleinterval <Integer> Specifies the time between samples in seconds. Minimum value is 1 second. 3 seconds
-nologo <SwitchParameter> Suppresses display of the logo banner. False

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top