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

Start-BridgeStateTransfer

This PowerShell cmdlet enables the user to initiate a state transfer between the source and target caches connected through an existing NCache Bridge. It triggers on-demand data synchronization from a specified source cache to a target cache within a WAN replication topology, ensuring data consistency across distributed sites. The Start-BridgeStateTransfer cmdlet requires the bridge name, bridge server, and fully qualified source and target cache names. It is commonly used for initial cache population, resynchronization after network outages or node downtime, onboarding new caches or nodes, and enforcing data consistency in disaster recovery or multi-region deployments. The cmdlet also supports secure clusters through credential-based authentication.

  • Windows PowerShell
  • Linux CLI
Start-BridgeStateTransfer -Name -Server -SourceCache -TargetCache [-Port] [-Credentials] [-NoLogo]

Examples

  • This command initiates state transfer from source cache demoCache.WestCoast to target cache demoCache.EastCoast for demoBridge running on 20.200.20.11.
Start-BridgeStateTransfer -Name demoBridge -Server 20.200.20.11 -SourceCache demoCache.WestCoast -TargetCache demoCache.EastCoast
  • This command initiates state transfer from source cache demoCache.WestCoast to target cache demoCache.EastCoast for demoBridge running on 20.200.20.11 using security credentials.
Start-BridgeStateTransfer -Name demoBridge -Server 20.200.20.11 -SourceCache demoCache.WestCoast -TargetCache demoCache.EastCoast -Credentials (Get-Credential john_smith)

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-Name* <String> Specifies the name of the Bridge registered on the server. -
-Server* <String> Specifies the server name where the NCache Bridge Service is running and a Bridge with the specified Bridge-name is registered. -
-SourceCache* <String> Specifies the full source cache name with environment name from which state transfer is to be initiated. -
-TargetCache* <String> Specifies the full target cache name with environment name for state transfer. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False
-Port <Integer> Specifies the port on which the NCache Bridge Service is listening. 8260
-Credentials <pscredential> Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the node. -
start-bridgestatetransfer -name -server -sourcecache -targetcache [-port] [-userid] [-password] [-nologo]

Examples

  • This command initiates state transfer from source cache demoCache.WestCoast to target cache demoCache.EastCoast for demoBridge running on 20.200.20.11.
start-bridgestatetransfer -name demoBridge -server 20.200.20.11 -sourcecache demoCache.WestCoast -targetcache demoCache.EastCoast
  • This command initiates state transfer from source cache demoCache.WestCoast to target cache demoCache.EastCoast for demoBridge running on 20.200.20.11 using security credentials.
start-bridgestatetransfer -name demoBridge -server 20.200.20.11 -sourcecache demoCache.WestCoast -targetcache demoCache.EastCoast -userid john_smith -password pass123

Properties

Note

The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-name* <String> Specifies the name of the Bridge registered on the server. -
-server* <String> Specifies the server name where the NCache Bridge Service is running and a Bridge with the specified Bridge-name is registered. -
-sourcecache* <String> Specifies the full source cache name with environment name from which state transfer is to be initiated. -
-targetcache* <String> Specifies the full target cache name with environment name for state transfer. -
-nologo <SwitchParameter> Suppresses display of the logo banner. False
-port <Integer> Specifies the port on which the NCache Bridge Service is listening. 8260
-userid <String> Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory user id. -
-password <String> Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. -

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