Skip to content
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

first steps in migration notes #1061

Merged
merged 4 commits into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions assets/misc/legacy_migration_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
1. Learn about the NERSC sshproxy app, which generates 24-hour password-less keys: https://www.nersc.gov/assets/Uploads/Using-sshproxy.pdf
2. Download the NERSC's `sshproxy` app with the `scp` command on page 5 of the PDF. One caveat: the documentation recommends getting the app from `cori.nersc.gov`, which has been retired. So use `perlmutter.nersc.gov` or `dtn01.nersc.gov`.
3. Create a NERSC ssh key with the `sshproxy` command that was just downloaded. Use the `-u` option unless your NERSC username is identical to your local username. For examples, my local username is "XYZ" but my NERSC username is "xyz", so I enter `.sshproxy -u xyz`
4. Create an ssh tunnel from your local computer, through `dtn01.nersc.gov` to the (production) MongoDB on mongo-loadbalancer.nmdc.production. Note that I am recommending tunneling the MongoDB port to local port 27777. Other NMDC poeple may recommend other ports. `ssh -i ~/.ssh/nersc -L27777:mongo-loadbalancer.nmdc.production.svc.spin.nersc.org:27017 -o ServerAliveInterval=60 <NERSC USERNAME>@dtn01.nersc.gov`
Loading