-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test metadig-engine on k8s against a hashstore #453
Comments
Update: The
Next Steps:
To Do List:
For reference: # How to produce a text file with just the first level of hashstore folders to rsync
mok@dev:~/testing$ sudo find /var/metacat/hashstore -mindepth 1 -maxdepth 1 > mc_hs_dir_list.txt
mok@dev:~/testing$ cat mc_hs_dir_list.txt
/var/metacat/hashstore/objects
/var/metacat/hashstore/metadata
/var/metacat/hashstore/refs
/var/metacat/hashstore/hashstore.yaml
# How to use rsync with a list of folders
mok@dev:~/testing$ cat mc_hs_dir_list.txt | parallel --eta sudo rsync -aHAX {} /mnt/tdg-repos/dev/metacat/hashstore/ # First get the list of files found under `/hashstore`
mok@dev:~/testing$ sudo find /var/metacat/hashstore -type f -printf '%P\n' > mc_obj_list.txt
# How to feed a single command at a time for a file to rsync
# The /./ between `metacat` and `hashstore` instructs rsync to copie folders from hashstore (and omits the previous directories) into the desired folder
mok@dev:~/testing$ parallel --eta sudo rsync -aHAXR /var/metacat/./hashstore/{} /mnt/tdg-repos/dev/metacat :::: mc_obj_list.txt
|
Metacat on
|
Testing locally has gone well but it would be nice to test the engine against a hashstore on the dev cluster
to that end I've mounted the
tdg
subvolume on metadig-worker, and that subvolume was mounted ondev.nceas
where there is a hashstore metacat running. Seehelm/metadig-worker/pv.yaml
andhelm/metadig-worker/pvc.yaml
for details on the existing mounts.In order to actually test though the following steps are needed:
metacat/hashstore
to/mnt/tdg-repos/dev
via parallel Rsyncmetacat.properties
store.store_path
field to bevar/data/respos/dev/hashstore
metadig-engine
to the test clusterdev.nceas
(via metacatUI or any other client)The text was updated successfully, but these errors were encountered: