Set-BridgeCacheMode - Geo-Replication
This tool enables the user to change the mode i.e., Active/Passive of bridge cache for geo-replication.
Note
This feature is only available in NCache Enterprise.
Set-BridgeCacheMode [-Name] -CacheFullName -Mode {Active | Passive} [-Server] [-Port] [-Credentials] [-NoLogo]
Examples of Set-BridgeCacheMode - Geo-Replication
- This command changes the mode of clustered cache demoCache.WestCoast to Active mode for geo-replication.
Set-BridgeCacheMode -Name demoBridge -Server 20.200.20.11 -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.11 -CacheFullName demoCache.WestCoast -Mode Passive
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. | - |
-CacheFullName* |
<String> |
Specifies the name of the clustered cache with environment name which is to be added to the bridge. | - |
-Mode* |
<BridgeCacheStateParam> |
Specifies the mode of the bridge. Can be either Active or Passive . |
Active |
-Server |
<String> |
Specifies the server name where the NCache bridge Service is running and a bridge with the specified bridge-name is registered. | - |
-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 who has appropriate permissions at the node. | - |