Set-BridgeCacheMode - WAN Replication
This PowerShell Cmdlet tool enables the user to change the mode i.e., Active/Passive of bridge cache for WAN 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 - WAN Replication
- This command changes the mode of clustered cache demoCache.WestCoast to Active mode for WAN 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 with the appropriate permissions at the node. | - |