• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • OS Upgrades and Patches
  • Linux Upgrades and Patches
Show / Hide Table of Contents
  • Installation Guide
  • Planning
    • Edition Comparison
    • Capacity Specification
    • Requirements
    • Security Considerations
    • Firewalls & Ports
    • Multiple NCache Versions
  • .NET Edition
    • Prerequisites
    • Windows Installer
      • Windows Installer (Wizard)
      • Windows Installer (Command Line)
      • Network Installation with PowerShell
        • Remote Install NCache
        • Remote Uninstall NCache
    • Linux Installer
    • Docker
  • Java Edition
    • Prerequisites
    • Linux Installer
    • Docker
    • Windows Installer
      • Windows Installer (Wizard)
      • Windows Installer (Command Line)
  • Client Installation
    • .NET
    • Java
    • Python
    • Node.js
  • Evaluation Period Management
  • NCache Licenses
    • Licensing Model
    • License Management
      • Activate License
      • Reactivate License
      • Deactivate License
  • Upgrading NCache
    • Upgrade Servers and Clients
    • Upgrade Servers Only
    • Live Upgrade Servers
    • Apply Private NCache Patches
  • OS Upgrades and Patches
    • Windows Upgrades and Patches
    • Linux Upgrades and Patches
    • NCache Maintenance Mode
    • Disable Auto Restart

Linux Patches & Upgrades

This section aims to help you achieve no downtime for your NCache deployment when applying Linux patches.

How to Apply Linux Patches on NCache Server

Note

Please remember that you should always do a maintenance, patching, or upgrading activity, such as applying Linux patches, 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.

You can do this by navigating to the directory ncache_user\opt\ncache\bin\tools and running the following command:

./stop-cache democache
Note

If all caches on a particular node aren’t stopped for applying NCache or Linux patches, this could impact the availability of the cluster.

2. Stop NCache Service

Stop NCache Service on this server. You can do this by navigating to the directory ncache_user\opt\ncache\bin\tools and running the following command, which changes the service start-up type of the NCache Service to disabled using the following command:

sudo systemctl disable ncached.service

After which you will actually stop the NCache Service as follows:

sudo systemctl stop ncached.service

3. Apply Patch

Apply the required Linux 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 change the service start-up type of the NCache Service to enabled using the command below.

sudo systemctl enable ncached.service

Then restart the NCache Service using the following command:

sudo systemctl start ncached.service

5. Start Cache

Now start the cache manually if auto-start is not enabled.

./start-cache democache

Refresh the cache cluster from NCache Management Centre to view this node as active node in the cluster. Furthermore, you can see the data being transferred to this lately added cache node by monitoring the cache through the NCache performance counters.

Note

You can skip this step if auto-start is already enabled.

Perform the same steps for other nodes in your environment. It is a good practice to start the NCache Service manually once all the patches are fully applied and the maintenance work has been completed on your server.

See Also

Upgrade NCache Versions
NCache Licenses

In This Article
  • How to Apply Linux Patches on NCache Server
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top