NAME

Enable-DcsServerWriteCache

SYNOPSIS

Enables write caching for the specified server.

SYNTAX

Enable-DcsServerWriteCache   -Server <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Enables write caching for the specified server. When enabled, all write operations from client hosts will be acknowledged and then written to the back-end storage.

PARAMETERS

-Server<Object>
ServerHostData object, computer name, or ID that identifies the server. The computer name must be unique or the name must be fully qualified.

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Connection<String>
Alias representing the connection to the server group. If not specified, the default connection will be used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

ServerHostData : Object that identifies and describes the server.

OUTPUTS

ServerHostData : Object that identifies and describes the server.

NOTES

Also see Disable-DcsServerWriteCache.

EXAMPLES


-------------- Example 1 Enables write caching on a server specified by name (caption) --------------
Enable-DcsServerWriteCache -Server SSV1
		

Enables write caching on the server named "SSV1".

GroupId:626ad5ae-8297-4068-832c-7c476fe32abf
RegionNodeId:ExecutiveNode:A6EA4E77-BBFF-4F48-91CD-3987E81C1CB3
CacheSize:0.00 B
State:Online
SupportState:Idle
SnapshotMapStoreId:
SnapshotMapStorePoolId:
InstallPath:C:\Program Files\DataCore\SANsymphony
ProductName:DataCore SANsymphony
ProductType:Standard
ProductVersion:8.1
OsVersion:Windows Server 2008 R2 x64 Edition, Service Pack 1
ProcessorInfo:DataCore.Executive.ProcessorInformation
ProductBuild:13.1.0.798
BuildType:Release
DiagnosticMode:Enabled
LicenseRemaining:22374000000000
ReplicationBufferFolder:
TotalSystemMemory:1,023.56 MiB
AvailableSystemMemory:46.37 MiB
LogStatus:Operational
LicenseSettings:DataCore.Executive.LicenseSettings
IsLicensed:True
StorageUsed:0.00 B
PowerState:ACOnline
CacheState:WritebackGlobal
BackupStorageFolder:C:\Program Files\DataCore\SANsymphony\Backups\
IpAddresses:{172.20.17.63, fe80::ac9f:4abc:8e7:447a, 13.0.0.31, fe80::2de4:e3b4:87d0:b299...}
Description:
HostName:SSV1.datacoresoftware.com
Id:A6EA4E77-BBFF-4F48-91CD-3987E81C1CB3
Caption:SSV1
ExtendedCaption:SSV1 in Ft. Lauderdale
Internal:False
   

-------------- Example 2 Enables write caching on all servers in the server group by piping objects --------------
Get-DcsServer | Enable-DcsServerWriteCache
		

The cmdlet Get-DcsServer is used to obtain the server objects which are piped to Enable-DcsServerWriteCache resulting in write caching being enabled on both servers (SSV1 and SSV2) in the server group.

GroupId:626ad5ae-8297-4068-832c-7c476fe32abf
RegionNodeId:ExecutiveNode:A6EA4E77-BBFF-4F48-91CD-3987E81C1CB3
CacheSize:0.00 B
State:Online
SupportState:Idle
SnapshotMapStoreId:
SnapshotMapStorePoolId:
InstallPath:C:\Program Files\DataCore\SANsymphony
ProductName:DataCore SANsymphony
ProductType:Standard
ProductVersion:8.1
OsVersion:Windows Server 2008 R2 x64 Edition, Service Pack 1
ProcessorInfo:DataCore.Executive.ProcessorInformation
ProductBuild:13.1.0.798
BuildType:Release
DiagnosticMode:Enabled
LicenseRemaining:22374000000000
ReplicationBufferFolder:
TotalSystemMemory:1,023.56 MiB
AvailableSystemMemory:45.64 MiB
LogStatus:Operational
LicenseSettings:DataCore.Executive.LicenseSettings
IsLicensed:True
StorageUsed:0.00 B
PowerState:ACOnline
CacheState:WritebackGlobal
BackupStorageFolder:C:\Program Files\DataCore\SANsymphony\Backups\
IpAddresses:{172.20.17.63, fe80::ac9f:4abc:8e7:447a, 13.0.0.31, fe80::2de4:e3b4:87d0:b299...}
Description:
HostName:SSV1.datacoresoftware.com
Id:A6EA4E77-BBFF-4F48-91CD-3987E81C1CB3
Caption:SSV1
ExtendedCaption:SSV1 in Ft. Lauderdale
Internal:False
   
GroupId:626ad5ae-8297-4068-832c-7c476fe32abf
RegionNodeId:ExecutiveNode:781D998D-3920-46BB-9F26-88BC591772B6
CacheSize:0.00 B
State:Online
SupportState:Idle
SnapshotMapStoreId:
SnapshotMapStorePoolId:
InstallPath:C:\Program Files\DataCore\SANsymphony
ProductName:DataCore SANsymphony
ProductType:Standard
ProductVersion:8.1
OsVersion:Windows Server 2008 R2 x64 Edition, Service Pack 1
ProcessorInfo:DataCore.Executive.ProcessorInformation
ProductBuild:13.1.0.798
BuildType:Release
DiagnosticMode:Enabled
LicenseRemaining:22410000000000
ReplicationBufferFolder:
TotalSystemMemory:1,023.56 MiB
AvailableSystemMemory:247.05 MiB
LogStatus:Operational
LicenseSettings:DataCore.Executive.LicenseSettings
IsLicensed:True
StorageUsed:0.00 B
PowerState:ACOnline
CacheState:WritebackGlobal
BackupStorageFolder:C:\Program Files\DataCore\SANsymphony\Backups\
IpAddresses:{172.20.17.157, fe80::2920:ddc6:93a7:45df, 13.0.0.35, fe80::6181:9311:6644:c8d2...}
Description:
HostName:SSV2.datacoresoftware.com
Id:781D998D-3920-46BB-9F26-88BC591772B6
Caption:SSV2
ExtendedCaption:SSV2 in Ft. Lauderdale
Internal:False