Skip to content

CDLUC3/mrt-replic

Repository files navigation

Merritt Replication Service

This microservice is part of the Merritt Preservation System.

Purpose

This microservice performs ensures that every new file added to a primary cloud storage node within the Merritt Preservation System is replicated to secondary cloud storage nodes.

The work that this service performs is determined by querying the Merritt Inventory Database.

Original System Specifications

Component Diagram

%%{init: {'theme': 'neutral', 'securityLevel': 'loose', 'themeVariables': {'fontFamily': 'arial'}}}%%
graph TD
  RDS[(Inventory DB)]
  REPLIC(Replication)
  click REPLIC href "https://github.com/CDLUC3/mrt-replic" "source code"

  subgraph flowchart
    subgraph cloud_storage
      CLOUD(("Cloud Storage - Primary Node"))
      click CLOUD href "https://github.com/CDLUC3/mrt-cloud" "source code"
      CLDS3[/AWS S3/]
      CLDSDSC[/SDSC Minio/]
      CLDWAS[/Wasabi/]
      CLDGLC[/Glacier/]
    end

    RDS --> |acquire work| REPLIC
    CLOUD --> |retrieve files| REPLIC
    REPLIC --> |copy files| CLDS3
    REPLIC --> |copy files| CLDGLC
    REPLIC --> |copy files| CLDWAS
    REPLIC --> |copy files| CLDSDSC
    REPLIC -.-> |record copy| RDS
  end
  style CLOUD fill:#77913C
  style CLDS3 fill:#77913C
  style CLDGLC fill:#77913C
  style CLDSDSC fill:#77913C
  style CLDWAS fill:#77913C
  style RDS fill:#F68D2F

  style REPLIC stroke:red,stroke-width:4px
Loading

Dependencies

This code depends on the following Merritt Libraries.

For external audiences

This code is not intended to be run apart from the Merritt Preservation System.

See Merritt Docker for a description of how to build a test instnce of Merritt.

Build instructions

This code is deployed as a war file. The war file is built on a Jenkins server.

Test instructions

Internal Links

Deployment and Operations at CDL

https://github.com/CDLUC3/mrt-doc-private/blob/main/uc3-mrt-replic.md

About

Replication server

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages