The NCache Distributed Cache with Persistence allows you to back up data to a persistence store. NCache allows you to modify the connection string for your configured persistence store, in case its location changes.
You can modify store information for NCache persistence in the following ways.
Using the NCache Management Center
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 Clustered Caches or Local Caches, based on the cache for which you need to configure the settings. Against the cache name, click on View Details.
Ensure the cache stops before proceeding.
This opens the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Persistence Settings in the left bar.
Click on the Modify button and you will be redirected to a new page to update the connection information.
- On the Modify Connection String page, you can modify the connection information of your store. In particular, you can specify the UNC Path, User Name, and Password and then click Test Connection. If the connection to your persistence store has been successfully tested, you will receive a success notification.
- Click Finish and you will be prompted for confirmation. Click Ok and the connection string of your persistence store will be modified.
- Click on Save Changes to apply this configuration to your cache.
- Start the cache to resume operations.