Here are the PowerCLI commands that relate to managing vVols Array based replication with storage policies. Each command has a brief explanation about what the command does. If further information is needed, please run get-help and then the name of the command that you want more information about.
|
Name/Concept |
Explanation |
|
Get-SpbmFaultDomain |
Retrieves fault domains based on name or ID filter - Prints the Name of the FaultDomain and the VASA Provider managing it. |
|
|
|
Get-SpbmReplicationGroup |
Retrieves the replication groups queried from the VASA Providers - Prints the Name and State of the replication groups. |
|
|
|
Get-SpbmReplicationPair |
Retrieves the relation of replication groups in a pair of source & target replication group. The Source replication group is printed as the FlashArray:pgroup-name and the target will print with the ID. |
|
|
|
Get-SpbmPointInTimeReplica |
Retrieves the point in time replicas (array based snapshots) for a provided replication group. Scheduled pgroup snapshots will not have a name or description. |
|
|
|
Get-SpbmStoragePolicy |
Retrieves the Storage Policies from the connect vCenter Servers. |
|
|
|
Sync-SpbmReplicationGroup |
Triggers an on demand snapshot replication job. This is ran against the target replication group and initiated from the target FlashArray. |
Note:
This type of error is an expected outcome for a syncReplicationGroup Task. The key here is that the "error" is saying that there is an "ongoing task". This means that a replication job was started and is now in progress. syncReplicationGroup is an async task and the Pure VASA provider will provide a task ID for async task. The cmdlet for syncReplicationGroup in PowerShell does not process task IDs or to query the VASA Provider for the task progress. |
|
|
Start-SpbmReplicationTestFailover |
Performs a test failover against the target replication group - upon completion the replication group is in an INTEST state. |
|
|
|
Start-SpbmReplicationPromote |
Promotes a target replication group from InTest to FailedOver state. |
|
Stop-SpbmReplicationTestFailover |
Stops the test failover on the specified replication groups and performs a cleanup on the target site. |
|
|
|
Start-SpbmReplicationPrepareFailover |
Prepares the specified replication groups to failover - this is ran against the source replication group. |
|
|
|
Start-SpbmReplicationFailover |
Performs a failover of the devices in the specified replication groups. |
|
|
|
Start-SpbmReplicationReverse |
Initiates reverse replication, this will reverse the state of the replication groups from source to target and target to source. |
|
|
Now that we have the Commands that can be used let's see how a Failover workflow would look like.