New-Bridge
New-Bridge
cmdlet enables the users to create a new bridge on one or more cache server nodes.
New-Bridge [-Name] [-BridgePort] [-ConnectionRetryInterval] [-MaxQueueSize] [-Server] [-Port] [-QueueOptimized] [-QueueReplicationInterval] [-ReplicatorQueueSize] [-UserId] [-Password] [-NoLogo]
These properties are explained in detail in the Properties section.
Examples
- This command creates a new bridge demoBridge on server 20.200.20.11.
New-Bridge 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 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 replicator queue size of 100 MB.
New-Bridge 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. | - |
-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. | - |
-BridgePort |
<Int> |
Specifies the port of the server on which the server listens. | - |
-MaxQueueSize |
<Int> |
Specifies the bridge max queue size which is part of the cache size. | 2048 |
-ReplicatorQueueSize |
<Int> |
Specifies the bridge max queue size which is part of the cache size. | 2048 |
-QueueReplicationInterval |
<Int> |
Specifies the interval (in seconds) for bridge queue replication. | 2 |
-ConnectionRetryInterval |
<Int> |
Specifies the connection retry interval (in seconds) for bridge. | 5 |
-QueueOptimized |
<SwitchParameter> |
Specifies if optimized queue is to be used. | False |
-Port |
<Integer> |
Specifies the port on which the NCache bridge service is listening. | 8260 |
-UserId |
<String> |
Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. | - |
-Password |
<String> |
Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |