New-Bridge
This PowerShell cmdlet enables the users to create a new Bridge between one or more than one cache server nodes.
New-Bridge -Name -Server [-BridgePort] [-ConnectionRetryInterval] [-MaxQueueSize] [-NoLogo] [-Port] [-QueueOptimized] [-QueueReplicationInterval] [-ReplicatorQueueSize] [-Credentials]
Examples
- This command creates a new Bridge demoBridge on server 20.200.20.11.
New-Bridge -Name demoBridge -Server 20.200.20.11
- This command creates a new Bridge demoBridge on servers 20.200.20.11 (active mode) and 20.200.20.12 (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 (active mode) and 20.200.20.12 (passive mode) with a replicator 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 MB |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |
-Server* |
<String> |
Specifies the NCache server names 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 MB |
-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. | - |