Windows Upgrades and Patches
This section aims to help you achieve no downtime for your NCache deployment when applying Windows patches.
How to Apply Windows Patches on NCache Server
Please remember that you should always perform maintenance, patching, or upgrading activities one node at a time.
The required steps are:
1. Stop Cache
Stop the cache if this node is a part of multiple cache clusters. You need to stop this node from all the cache clusters. This will start the state transfer process and data will be re-adjusted on the other nodes available in the cluster.
If all caches on a particular node aren’t stopped for applying Windows or NCache patches, it could lead to a split brain scenario. In this case, you need to stop all server nodes so that the node gracefully leaves the cache cluster.
2. Stop NCache Service
Stop NCache Service on this server and change the service startup type from Automatic to Manual to manually start NCache Service after reboot. You can use our documentation to achieve this.
3. Apply Patch
Apply required patches/updates. Complete all the maintenance tasks running on this machine and then reboot the servers.
4. Restart NCache Service
After successful completion of step 3, now restart the NCache Service and also change the Service start-up type back to Automatic for normal usage.
5. Start Cache
Now start the cache manually from the NCache Management Centre if auto-start is not enabled.
Refresh cache cluster from the NCache Management Centre to view this node as active node in the cluster. Furthermore, you can see data being transferred to this lately added cache node by monitoring the cache through the NCache performance counters.
You can skip this step if auto-start is already enabled.
Perform the same steps for the other nodes in your environment. It is a good practice to start NCache Service manually once all the patches are fully applied and maintenance work has been completed on your server.