• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Enable Split-Brain Auto Recovery

Note

This feature is only available in the NCache Enterprise Edition.

To cater to the Split-Brain issue, NCache provides an automatic recovery process, i.e., the Split-Brain Auto Recovery option. Data can be of various types and hold different sensitivity levels, you will find this option disabled by default.

Using the NCache Manager

Important

Ensures that the cache stops before proceeding.

  • Launch the NCache Manager by browsing to http://localhost:8251 or <server-ip>:8251 on Windows and Linux.

  • In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache to configure.

  • Against the cache name, click on View Details.

View Cache Details NCache

  • This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Cluster Settings in the left bar.

  • Under Split Brain Syndrome, configure Detection Interval to customize the default periodic interval for Split-Brain detection.

  • Check Enable Auto Recovery to enable automatic recovery.

Enable Split Brain NCache

  • Click on Save Changes to apply this configuration to the cache, and start the cache.

You can also monitor split brain and cluster connectivity using Monitor Cluster Connectivity.

Manually Editing NCache Configuration

Important

Make sure the cache is stopped before making any configuration changes.

  • Enable split brain recovery through the config.ncconf file by adding the <split-brain-recovery> tag under the <cache-settings> tag. You can then change the enable flag to true and set the detection interval for split brain (in seconds).
<cache-settings...>
  <split-brain-recovery enable="True" detection-interval="60"/>
</cache-settings>
  • Once changes are made, start the cache and restart the NCache service.

See Also

Split-Brain
Configuring Cache Cluster Settings
Monitor Cluster Connectivity

Back to top Copyright © 2017 Alachisoft