registry.json file to track where model data is stored across multiple servers and their date ranges.
Registry Structure
Theregistry.json file is a JSON array with one object per server:
name: Server identifierconnection: Connector service host and port (8082)archive: Model names mapped to date ranges[start_date, end_date]static(optional): Static data identifiers (main server only)
- Empty end date (
"") = ongoing/current data - Date format: ISO format (e.g.,
"2024-07-01T00:00:00")
/data/archives/registry.json on main server
Archive Process
When the main server gets full, archive data to an archive server:Update Registry
Update
registry.json to reflect new data locations and date ranges. See Syncing Registry below.Running MAMS Archive
MAMS runs via cron every 3 hours:/modms/nc to /data/archives.
Syncing Registry
After moving data between servers, update the registry to match actual data distribution.Process
Get Date Ranges
For each server, determine date ranges for all models:
- Find first and last
.meta.jsonfiles in each model directory - Extract
runTimefrom both files to get the date range
Compare Servers
Identify:
- Fully moved: All data on archive server (remove from main entry)
- Partially moved: Data split between servers (update ranges on both)
- Only on main: Keep in main entry only
Update Entries
- Archive server: Add/update entry with all models and their date ranges
- Main server: Remove fully moved models, update ranges for split models
Update Rules
- Fully moved: Remove from main server entry
- Partially moved:
- Archive server: Date range of moved data
- Main server: Date range starting after archive end date (use
""for ongoing)
- Archive entry: Must list all models present with complete date ranges
Related Documentation
- MAMS Overview - MAMS system overview
- MAMS Deployment - Deployment configuration
- MAMS Connector - Connector service details

