• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Change Cache Synchronization Modes (Active/Passive)

The ability to change cache synchronization modes enables you to control data replication roles in an NCache Bridge. By switching between Active and Passive modes, you can enable smooth Disaster Recovery (DR) operations, site maintenance, or load balancing between distant data centers. The active cache replicates all data changes to the Bridge, while the passive cache receives updates only, serving as a hot standby until promoted. Using the NCache Management Center, you can change the synchronization mode of the clustered cache connected to the Bridge.

Using the NCache Management Center

Using the NCache Management Center, you can convert a passive cache in a Bridge to an active cache and vice versa as discussed below:

Making an Active Cache as a Passive Cache

To convert an active cache in a Bridge to a passive cache, follow these steps:

  • Launch the NCache Management Center by browsing to http://localhost:8251 or <server-ip>:8251.

  • In the left navigation bar, click on Bridges. It will open up a list of pre-existing Bridges. From the list, select the Bridge Name and go to View Details.

Clustered Cache added to Bridge web

  • A new page opens up displaying the Bridge details. Under the Bridge Caches section, select the cache added to the Bridge.

  • Either click on the Make Passive button present at the top bar or click on the "..." button, and select the Make Passive option.

Make a Passive Cache as Active web

Making a Passive Cache as an Active Cache

To convert a passive cache in a Bridge to an active cache, either click the Make Active button present at the top bar, or click on the "..." button and select the Make Active option.

Make an Active Cache as Passive Web

Using PowerShell

The Set Bridge Cache Mode cmdlet enables users to change the mode of a cache participating in an NCache Bridge by setting it as Active or Passive.

  • This command changes the mode of clustered cache demoCache.WestCoast to active mode.
Set-BridgeCacheMode -Name demoBridge -Server 20.200.20.39 \
                    -CacheFullName demoCache.WestCoast -Mode Active
  • This command changes the mode of clustered cache demoCache.WestCoast to passive mode.
Set-BridgeCacheMode -Name demoBridge -Server 20.200.20.39 \
                    -CacheFullName demoCache.WestCoast -Mode Passive
  • This command changes the mode of clustered cache demoCache.WestCoast to active mode using security credentials.
Set-BridgeCacheMode -Name demoBridge -Server 20.200.20.39 \
                    -CacheFullName demoCache.WestCoast -Mode Active \
                    -Credentials(Get-Credential john_smith)
Note

The Set-BridgeCacheMode command can be used even when the load balancer is enabled.

See Also

Create Bridge
Configure Bridge Settings
Configure Conflict Resolver
Remove Cache from Bridge

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • 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 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top