Package com.morpheusdata.core.providers
Interface StorageProviderReplicationGroupFacet
public interface StorageProviderReplicationGroupFacet
Optional facet for
StorageProvider implementations whose arrays support
array-to-array replication groups. Paired with StorageProvider in the same
way as StorageProviderVolumeGroupsFacet.
This facet is limited to CRUD and discovery of replication groups. Operations
that act on an existing replication group's state (failover, failback, pause,
resume) live on StorageReplicationProvider.
A provider that does not implement this facet contributes nothing to the Replication tab. If no registered storage server implements it, the tab does not appear in the UI.
- Since:
- 1.5.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateReplicationGroup(StorageServer storageServer, StorageReplicationGroup group, Map opts) Create a replication relationship between two storage systems.deleteReplicationGroup(StorageServer storageServer, StorageReplicationGroup group, Map opts) Delete a replication relationship.updateReplicationGroup(StorageServer storageServer, StorageReplicationGroup group, Map opts) Update the policy (mode, interval, RPO target) of an existing replication group.
-
Method Details
-
createReplicationGroup
ServiceResponse<StorageReplicationGroup> createReplicationGroup(StorageServer storageServer, StorageReplicationGroup group, Map opts) Create a replication relationship between two storage systems.- Parameters:
storageServer- the localStorageServergroup- the group to create, including partner and policyopts- provider-specific options- Returns:
- ServiceResponse containing the persisted group on success
-
updateReplicationGroup
ServiceResponse<StorageReplicationGroup> updateReplicationGroup(StorageServer storageServer, StorageReplicationGroup group, Map opts) Update the policy (mode, interval, RPO target) of an existing replication group. The partner and volume group are fixed for the life of the relationship.- Parameters:
storageServer- the localStorageServergroup- the group with updated fieldsopts- provider-specific options- Returns:
- ServiceResponse containing the updated group on success
-
deleteReplicationGroup
ServiceResponse<StorageReplicationGroup> deleteReplicationGroup(StorageServer storageServer, StorageReplicationGroup group, Map opts) Delete a replication relationship. The caller decides what happens to the remote copy viaopts.deleteRemoteCopy.- Parameters:
storageServer- the localStorageServergroup- the group to deleteopts- provider-specific options- Returns:
- ServiceResponse indicating success or failure
-