SetMode-RDFProtection

SYNOPSIS

Sets RDF mode of operation for a PowerMax storage group.

SYNTAX

SetMode-RDFProtection [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-StorageGroupId] <String>
 [-RDFGroup] <Int32> [-Mode] {SYNCHRONOUS | ASYNCHRONOUS | ACTIVE | ADAPTIVECOPYDISK | ADAPTIVECOPYWP}
 [-Bypass <Boolean>] [-Consistent <Boolean>] [-Skew <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]

DESCRIPTION

Sets RDF mode of operation for a PowerMax storage group.

EXAMPLES

Example 1

PS C:\> SetMode-RDFProtection -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId SG-ABC -RDFGroup 22 -Mode SYNCHRONOUS

Where $unisphere is a Unisphere server instance. Sets Synchronous mode for RDF pairs belonging to storage group SG-ABC on RDF group 22.

PARAMETERS

-Unisphere

The Unisphere server object.

Type: UnisphereServer
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-ArrayId

The PowerMax array ID.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-StorageGroupId

The storage group ID.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-RDFGroup

RDF group number.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Mode

Sets the SRDF mode for one or more SRDF pairs to synchronous, asynchronous, adaptive copy disk mode or adaptive copy write pending mode. Note: The skew cannot be used with the async value. The consistent option is only allowed with the sync value.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: SYNCHRONOUS, ASYNCHRONOUS, ACTIVE, ADAPTIVECOPYDISK, ADAPTIVECOPYWP

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Bypass

Bypasses any existing PowerMax exclusive locks during an SRDF operation. WARNING: Only use this flag if you are certain no other RDF operation is in progress at the local and/or remote PowerMax arrays.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Consistent

Transitions from async to sync mode.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Skew

Sets the skew factor for the adaptive copy mode. Possible values range from 0 to 65,534 tracks. For devices larger than 2 GB, a value of 65,535 can be specified to target all the tracks of any given drive.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Dell.PowerMax.Management.Model.UnisphereServer

System.String

System.Int32

OUTPUTS

Dell.PowerMax.Management.Model.StorageGroupRdfGroup

NOTES