Add-BridgeCache - Geo-Replication
This tool enables the users to add an existing clustered cache to a specified bridge for geo-replication.
Note
This feature is only available in NCache Enterprise.
Add-BridgeCache [-CacheName] [-Name] [-Environment] [-Server] [-CacheServer] [-Mode {Active | Passive}] [-Port] [-NoLogo] [-Credentials]
Examples of Add-BridgeCache - Geo-Replication
This command adds an existing clustered cache named demoCache to the bridge demoBridge running on 20.200.20.11 for geo-replication. The cache name will now be demoCache.WestCoast.
Add-BridgeCache -Name demoBridge -Server 20.200.20.11 -CacheName demoCache -CacheServer 20.200.20.12 -Environment WestCoast
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName* |
<String> |
Specifies the name of the clustered cache which is to be added to the bridge. | - |
-Name* |
<String> |
Specifies the name of the bridge registered on the server. | - |
-Environment* |
<String> |
Specifies the clustered cache environment. Cache name and environment act as a unique identifier of bridge cache. | - |
-Server |
<String> |
Specifies the server name where the NCache bridge Service is running and a bridge with the specified bridge-name is registered. | - |
-CacheServer |
<String> |
Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered. | - |
-Mode |
<BridgeCacheStateParam> |
Specifies the mode of the bridge. Can be either Active or Passive . |
Active |
-Port |
<Integer> |
Specifies the port on which the NCache bridge Service is listening. | 8260 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-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. | - |