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
Cluster connectivity for different store types can be monitored by following the same steps as listed below.
- Please ensure that the time on your server machine and the machine where the NCache Management Center runs is synchronized with the World Clock Time.
- Ensure the NCache Service is started. If not, proceed with the following:
In the command line tool of your choice, enter the following command:
Start-Service -Name NCacheSvc
For .NET Core, make sure that you run the NCache Service as an administrator. Here are the steps to do so:
- Open the 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 NCacheSvc and choose the Restart option. Now your service will start running as an administrator.
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251on Windows and 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, that is fully connected.