Suspend-NCacheDataPersistence
Note
This feature is only available in NCache Enterprise Edition.
The Suspend-NCacheDataPersistence
cmdlet enables the user to temporarily halt data persistence to the persistence store.
Suspend-NCacheDataPersistence [-CacheName <string>] [-Servers <string>] [-Port <int>]
These properties are explained in detail in the Properties section.
Examples
- This command halts data persistence of the cache demoCache to the persistence store.
Suspend-NCacheDataPersistence -CacheName demoCache
- This command halts data persistence of the cache demoCache to the persistence store on the server 20.200.21.11.
Suspend-NCacheDataPersistence -CacheName demoCache -Servers 20.200.21.11
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 cache to suspend persistence. It should be a running cache with persistence. | - |
-Servers |
<String> |
Specifies the NCache server IPs where Cache is configured, separated by commas e.g. 20.200.21.11, 20.200.21.12 | - |
-Port |
<Int> |
Specifies the port on which NCache server is listening. | 8250 |