NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
28 stars 13 forks source link

Move arcticdata.io (Production) to Kubernetes #1954

Open artntek opened 3 months ago

artntek commented 3 months ago

Similar to #1932;

checklist:

Follow the Quick Reference: Metacat K8s Installation Steps. Supplementary TODOs below...

Persistent Volumes

MetacatUI setup

Metacat Config

First Deployment

ATTENTION: Still To Do Before Final Deployment

Testing - see Matt's comment below

mbjones commented 1 month ago

For the Testing section, here's a quick rundown:

Get the R package dataone installed

Run the tests against standard nodes

To run tests against a different node

artntek commented 1 week ago

hashstore conversion notes

First conversion (with errors) took almost exactly 48 hours

artntek commented 3 days ago

11/19/24: Second conversion (comprising only the failed objects from last time) took 42 minutes (Douglas Adams would approve)

see https://github.com/NCEAS/metacat/issues/1964#issuecomment-2484552430 for error analysis

artntek commented 3 days ago

11/19/24: Did another rsync and clean hashstore conversion

brooke@arctica:~$ time sudo rsync -aHAX --delete /var/lib/postgresql/ /mnt/ceph/repos/$NAME/postgresql/
real    60m57.679s
user    1m5.106s
sys 4m33.743s

time sudo rsync -rltDHX --stats --human-readable /var/metacat/data/ /mnt/ceph/repos/$NAME/metacat/data/
real    29m29.133s
user    1m56.979s
sys 6m45.844s

time sudo rsync -rltDHX --stats --human-readable /var/metacat/dataone/ /mnt/ceph/repos/$NAME/metacat/dataone/
real    0m10.742s
user    0m0.037s
sys 0m0.018s

time sudo rsync -rltDHX --stats --human-readable /var/metacat/documents/ /mnt/ceph/repos/$NAME/metacat/documents/
real    0m16.327s
user    0m0.490s
sys 0m1.014s

time sudo rsync -rltDHX --stats --human-readable /var/metacat/logs/ /mnt/ceph/repos/$NAME/metacat/logs/
real    0m0.101s
user    0m0.025s
sys 0m0.016s

hashstore conversion started: Wed Nov 20 22:55:15 UTC 2024