Swap-RDFProtection
SYNOPSIS
Swaps SRDF device designations for a PowerMax storage group.
SYNTAX
Swap-RDFProtection [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-StorageGroupId] <String>
[-RDFGroup] <Int32> [-Bypass <Boolean>] [-HalfSwap <Boolean>] [-RefreshR1 <Boolean>] [-RefreshR2 <Boolean>]
[-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
Swaps the SRDF device designations for a PowerMax storage group. It changes source (R1) devices to target (R2) devices and target (R2) devices to source (R1) devices.
EXAMPLES
Example 1
PS C:\> Swap-RDFProtection -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId SG-ABC -RDFGroup 22
Where $unisphere is a Unisphere server instance. Swaps SRDF designations for volumes 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
-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
-HalfSwap
Swaps the SRDF personality of one-half of the designated dynamic SRDF pair. Source R1 devices become target R2 devices, and target R2 devices become source R1 devices.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RefreshR1
Marks the source (R1) devices to refresh from the remote mirror.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RefreshR2
Marks the target (R2) devices to refresh from the remote mirror.
Type: Boolean
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.