Start-BridgeStateTransfer
This enables the user to initiate state transfer between source and target caches.
Start-BridgeStateTransfer [-Name] -Server -SourceCache -TargetCache [-Port] [-credentials] [-NoLogo]
Example
This command initiates state transfer from source cache demoCache.WestCoast to target cache demoCache.EastCoast for bridge demoBridge running on 20.200.20.11.
Start-BridgeStateTransfer -Name demoBridge -Server 20.200.20.11 -SourceCache demoCache.WestCoast -TargetCache demoCache.EastCoast
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 server name where the NCache bridge Service is running and a bridge with the specified bridge-name is registered. |
- |
-SourceCache* |
<String> |
Specifies the full source cache name with environment name from which state transfer is to be initiated. |
- |
-TargetCache* |
<String> |
Specifies the full target cache name with environment name for state transfer. |
- |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. |
False |
-Port |
<Integer> |
Specifies the port on which the NCache bridge Service is listening. |
8260 |
-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. |
- |
start-bridgestatetransfer [-name] -server -sourcecache -targetcache [-port] [-userid] [-password] [-nologo]
Example
This command initiates state transfer from source cache demoCache.WestCoast to target cache demoCache.EastCoast for bridge demoBridge running on 20.200.20.11.
start-bridgestatetransfer -name demoBridge -server 20.200.20.11 -sourcecache demoCache.WestCoast -targetcache demoCache.EastCoast
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 server name where the NCache bridge Service is running and a bridge with the specified bridge-name is registered. |
- |
-sourcecache* |
<String> |
Specifies the full source cache name with environment name from which state transfer is to be initiated. |
- |
-targetcache* |
<String> |
Specifies the full target cache name with environment name for state transfer. |
- |
-nologo |
<SwitchParameter> |
Suppresses display of the logo banner. |
False |
-port |
<Integer> |
Specifies the port on which the NCache bridge Service is listening. |
8260 |
-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. |
- |