New-Bridge - Geo-Replication
This tool enables the users to create a new bridge on one or more than one cache server nodes for geo-replication.
Note
This feature is only available in NCache Enterprise.
New-Bridge [-Name] [-BridgePort] [-ConnectionRetryInterval] [-MaxQueueSize] [-NoLogo] [-Server] [-Port] [-QueueOptimized] [-QueueReplicationInterval] [-ReplicatorQueueSize] [-Credentials]
Examples of New-Bridge - Geo-Replication
- This command creates a new bridge demoBridge on server 20.200.20.11 for geo-replication.
New-Bridge -Name demoBridge -Server 20.200.20.11
- This command creates a new bridge demoBridge on servers 20.200.20.11 (in active mode) and 20.200.20.12 (in passive mode).
New-Bridge -Name demoBridge -Server "20.200.20.11,20.200.20.12"
- This command creates a new bridge demoBridge on servers 20.200.20.11 (in active mode) and 20.200.20.12 (in passive mode) with a geo-replication queue size of 100 MB.
New-Bridge -Name demoBridge -Server "20.200.20.11,20.200.20.12" -ReplicatorQueueSize 100
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. | - |
-BridgePort |
<Integer> |
Specifies the port of the server on which the server listens. | - |
-ConnectionRetryInterval |
<Integer> |
Specifies the connection retry interval (in seconds) for bridge. | 5 |
-MaxQueueSize |
<Integer> |
Specifies the max bridge queue size which is part of the cache size. | 2048 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Server* |
<String> |
Specifies the NCache server names/IPs where Bridge should be configured, separated by commas, e.g., 20.200.20.11,20.200.20.12. The server specified first will be added as bridge active node. | - |
-Port |
<Integer> |
Specifies the port on which the NCache bridge service is listening. | 8260 |
-QueueOptimized |
<SwitchParameter> |
Specifies if optimized queue is to be used. | False |
-QueueReplicationInterval |
<Integer> |
Specifies the interval (in seconds) for bridge queue replication. | 2 |
-ReplicatorQueueSize |
<Integer> |
Specifies the bridge max queue size which is part of the cache size. | 2048 |
-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. | - |