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 Details

    • createReplicationGroup

      ServiceResponse<StorageReplicationGroup> createReplicationGroup(StorageServer storageServer, StorageReplicationGroup group, Map opts)
      Create a replication relationship between two storage systems.
      Parameters:
      storageServer - the local StorageServer
      group - the group to create, including partner and policy
      opts - 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 local StorageServer
      group - the group with updated fields
      opts - 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 via opts.deleteRemoteCopy.
      Parameters:
      storageServer - the local StorageServer
      group - the group to delete
      opts - provider-specific options
      Returns:
      ServiceResponse indicating success or failure