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. |
- |
new-bridge -name -server [-bridgeport] [-connectionretryinterval] [-maxqueuesize] [-nologo] [-port] [-queueoptimized] [-queuereplicationinterval] [-replicatorqueuesize] [-userid] [-password]
Examples
- This command creates new Bridge named demoBridge on server 20.200.20.11.
new-bridge -name demoBridge -server 20.200.20.11
- This command creates new Bridge named demoBridge on server 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 new Bridge named demoBridge on server 20.200.20.11 (active mode) and 20.200.20.12 (passive node) with a replicator queue of size 100MB.
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 |
-userid |
<String> |
Specifies the user id used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This user id must be the active directory. |
- |
-password |
<String> |
Specifies the password of the user that is used to authorize the user for this operation. It is required in case security is enabled on Cache Server. This password must be the same as the active directory user password. |
- |