New-ReplicationRule

SYNOPSIS

Creates a replication rule on the PowerStore cluster.

SYNTAX

New-ReplicationRule [-Cluster] <Cluster> -Name <String> -RemoteSystem <String> -RPO {FiveMinutes | FifteenMinutes | ThirtyMinutes | OneHour | SixHours | TwelveHours | OneDay} [-AlertThreshold <Int32>] [-IsReadOnly] [<CommonParameters>]

DESCRIPTION

Creates a replication rule on the PowerStore cluster.

EXAMPLES

Example 1

PS C:\> New-ReplicationRule -Cluster $cluster -Name name1 -RemoteSystem remoteSystem1 -RPO Five_Minutes

Where $cluster is a PowerStore cluster instance. Creates a replication rule with name name1, remote system remoteSystem1 with five mintues interval of RPO and alert threshold.

Example 2

PS C:\> New-ReplicationRule -Cluster $cluster -Name name1 -RemoteSystem remoteSystem1 -RPO Five_Minutes -AlertThreshold 20

Where $cluster is a PowerStore cluster instance. Creates a replication rule with name name1, remote system remoteSystem1 with five mintues interval of RPO and 20 minutes of alert threshold.

PARAMETERS

-Cluster

The PowerStore cluster instance.

Type: Cluster
Parameter Sets: (All)
Aliases:

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

-Name

Replication rule name.

Type: String
Parameter Sets: (All)
Aliases:

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

-RemoteSystem

Remote System name.

Type: String
Parameter Sets: (All)
Aliases:

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

-RPO

Recovery point objective.

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: FiveMinutes, FifteenMinutes, ThirtyMinutes, OneHour, SixHours, TwelveHours, OneDay

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

-AlertThreshold

Alert threshold in minutes.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Alert threshold is set to provided RPO value.
Accept pipeline input: False
Accept wildcard characters: False

-IsReadOnly

Indicates whether this replication rule can be modified.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

None

OUTPUTS

Dell.PowerStore.Management.Model.ReplicationRule

NOTES