New-RDFProtection
SYNOPSIS
Creates RDF protection for a PowerMax storage group.
SYNTAX
New-RDFProtection [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-StorageGroupId] <String>
[-RemoteArrayId] <String> [-RemoteStorageGroupId] <String> [-Mode] {SYNCHRONOUS | ASYNCHRONOUS | ACTIVE | ADAPTIVECOPYDISK | ADAPTIVECOPYWP}
[-RDFGroup <Int32>] [-NewRDFGroup <Boolean>] [-Establish <Boolean>] [-MetroBias <Boolean>] [-Confirm] [-WhatIf]
[<CommonParameters>]
DESCRIPTION
Creates RDF protection for a PowerMax storage group. The user will be able to either specify an existing RDF group, create a new RDF group or let the underlying implementation decide. This cmdlet will: a) Create a storage group on the remote array with the supplied ID. b) For each volume in the source storage group, a corresponding target volume will be created in the remote storage group. c) The RDF pairs will be created for the given replication mode and supplied option flags.
EXAMPLES
Example 1
PS C:\> New-RDFProtection -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId SG-ABC -RemoteArrayId 000987654321 -RemoteStorageGroupId SG-DEF -Mode Synchronous
Where $unisphere is a Unisphere server instance. Creates corresponding target volumes on storage group SG-DEF belonging to remote PowerMax array 000987654321 and then creates SYNCHRONOUS RDF protection for storage group SG-ABC volumes. If a suitable RDF group is not found, a new RDF group will be created.
Example 2
PS C:\> New-RDFProtection -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId SG-ABC -RemoteArrayId 000987654321 -RemoteStorageGroupId SG-DEF -Mode ACTIVE -NewRDFGroup true -MetroBias false
Where $unisphere is a Unisphere server instance. Creates corresponding target volumes on storage group SG-DEF belonging to remote PowerMax array 000987654321 and then creates ACTIVE RDF protection for storage group SG-ABC volumes. A new RDF group will be created and witness will be used as bias is set to false.
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
-RemoteArrayId
The remote PowerMax array ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-RemoteStorageGroupId
The remote storage group ID.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Mode
RDF replication mode.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: SYNCHRONOUS, ASYNCHRONOUS, ACTIVE, ADAPTIVECOPYDISK, ADAPTIVECOPYWP
Required: True
Position: 5
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-RDFGroup
RDF group number.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NewRDFGroup
Forces the creation of a new RDF Group.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Establish
Specifies if the pairs are to be established on creation.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MetroBias
When replication mode is set to ACTIVE, this flag specifies to use bias when creating a pair. If set to false, Witness will be used.
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.