Monitor Cluster Connectivity
A cluster should be in a stable form to perform optimally and give maximum output. Partially connected scenarios call for immediate handling. NCache provides the following methods to keep a check on cluster connectivity:
- NCache Monitor
- Email Alerts
- Event Viewer
Pre-Requisite
- Please make sure that the time of your server machine and the machine where NCache Web Mnager is running is synced with the World Clock Time.
- Make sure NCache Service is started. If it is not started, do the following:
In PowerShell, enter the following command:
Start-Service -Name NCacheSvc
For .NET Core, make sure that you run NCache service as an administrator. Here are the steps to do so:
- Open Services window and look for NCache in the list.
- Right click on NCacheSvc from the list and choose Properties.
- Go to the Log On tab and click on the Browse button.
- In the object name field, type Administrator and click on the Check Names button.
- It will pick the appropriate Administrator, then click OK.
- Now, set a Password and click OK.
- Right click on the NCache service and choose the Restart option. Now your service will start running as administrator.
NCache Web Monitor
Launch NCache Web Manager by browsing to
http://localhost:8251
(Windows) or<server-ip>:8251
(Windows + Linux).In the left navigation bar, click on the Clustered Caches or Local Caches, based on your requirement.
- Click on the "..." button on the right corner against the cache name and click on Monitor Cluster. Make sure that the cache is already running.
- In the new tab, a new browser window will pop open showing the Server Dashboard with the Cluster Health tab.
- The image shows the cluster connectivity of a two node cluster which is fully connected.
Email Alerts
NCache provides another option for monitoring as email alerts. Email alerts can be configured through NCache Web Manager. Whenever a split-brain (partial connectivity) occurs, the user is emailed an NCache alert based on the email address configured.
See Also
Monitor Caches using NCache Monitor
Monitor Bridge
Monitor Caches using NCache Web Manager
Troubleshooting NCache Monitoring