Add Bridge Cache
This enables the users to add an existing clustered cache to a specified bridge.
Add-BridgeCache [-CacheName] [-Name] [-Environment] [-Server] [-CacheServer] [-Mode {Active | Passive}] [-Port] [-NoLogo] [-Credentials]
Examples
This command adds an existing clustered cache named demoCache to the bridge demoBridge running on 20.200.20.11. 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. |
- |
add-bridgecache [-cachename] [-name] [-environment] [-server] [-cacheserver] [-mode {active | passive}] [-port] [-nologo] [-userid] [-password]
Examples
This command adds an existing clustered cache named demoCache to the bridge demoBridge running on 20.200.20.11. 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 |
-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 user id. |
- |
-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. |
- |