Auto Start Cache on Boot
Using NCache Manager
NCache provides the ease of automatically starting specified cache(s) on system startup.
Note
For secured caches, you need to write the user credentials in Alachisoft.NCache.Service.exe.config file using the configurenodesecurity tool(for .NET Core installation, the file name is Alachisoft.NCache.Service.dll.config ). This is to ensure that the credentials are fetched from the file automatically during cache startup, without any user intervention to login.
By default, Auto-start cache option is off. You can enable/disable this option through NCache Manager:
- Go to Main tab and select the option Auto start this cache on service startup.
Select this option for each cache you want to automatically start at NCache service startup. This is the recommended way for enabling auto-startup option.
Apply configuration by right clicking on the cache name in Cache Explorer and selecting Apply Configuration option.
Whenever NCache service will be restarted, all caches which are set to auto start will automatically start after specified delay time interval.
Manually Editing NCache Configuration
Important
Make sure the cache is stopped before making any configuration changes.
- To enable auto start of cache, set the
auto-start
tag to true within the<cache-settings>
tag in config.ncconf of EACH your cache server:
<cache-config ...>
<cache-settings auto-start="True" ...>
</cache-config>
Note
Repeat this step for all server nodes.
- Once changes are made, start the cache and restart NCache service.
See Also
Heartbeat
Bind Cluster and Client/Server IP with Multiple NICs
Communication Reliability
Nagle's Algorithm