Add-BridgeCache
Add-BridgeCache
cmdlet enables the users to add an existing clustered cache to a specified bridge.
Add-BridgeCache [-Name] [-CacheName] [-Environment] [-Server] [-CacheServer] [-Mode {Active | Passive}] [-Port] [-UserId] [-Password] [-NoLogo]
These properties are explained in detail in the Properties section.
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 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 |
-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 |