Set-CacheHostConfig
Set-CacheHostConfig
Updates the configuration settings for a Cache host to the specified values.
Syntax
Parameter Set: HostParameters
Set-CacheHostConfig [-HostName] <String> [-CachePort] <Int32> [-ArbitratorPortNumber <Int32> ] [-CacheSize <Int64> ] [-ClusterPortNumber <Int32> ] [-HighWatermark <Int32> ] [-LowWatermark <Int32> ] [-ReplicationPortNumber <Int32> ] [ <CommonParameters>]
Parameters
-ArbitratorPortNumber<Int32>
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-CachePort<Int32>
The Cache port number of the cache host.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-CacheSize<Int64>
Amount of RAM allocated to the cache host measured in MB.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-ClusterPortNumber<Int32>
The Cluster port number of the cache host.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
cache port number + 1 |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-HighWatermark<Int32>
The high watermark percentage of memory, when eviction should begin evicting objects that have not yet expired.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-HostName<String>
The name of the cache host.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-LowWatermark<Int32>
The low watermark percentage of memory. After reaching the high watermark of memory, objects that have not yet expired are evicted until memory reaches this low watermark.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
-ReplicationPortNumber<Int32>
The new Replication port number of the cache host.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.Data.Caching.Commands.HostConfig