NCache provides you with the feature to automatically start your cache at NCache service startup. For example, you have a running three-node cache cluster. For some reason, one of the machines from the cache cluster restarts (planned or unplanned). When this happens, that machine will leave the cache cluster and you’ll manually have to start that node when it comes back online. Manual steps are not a good idea in production environments and you can end up running your cache with less capacity until this step is taken.
The auto-start cache option feature resolves this problem by automatically starting your caches when the host machine restarts. By default, the auto-start cache option is disabled. You can enable/disable this option using the NCache Web Manager in the following ways:
NCache Web Manager is shipped with NCache Enterprise and Professional editions. You can launch/access the NCache Web Manager through your web browser via the 8251 port on the localhost. To enable automatic cache(s) start on service startup at the time of cache creation, follow the steps below:
You can also enable/disable the auto-start cache on the service startup option for caches that have been already created. Just follow the steps below:
You can also verify if the auto-start feature is enabled/disabled through configuration files shipped with NCache installation. This is done by following the steps below:
<cache-config ...>
<cache-settings auto-start="True" ...>
</cache-config>
You can verify if your cache automatically starts on machine restart by following these steps below: