...
The SQL schema for V2 and V3 are identical.
Procedures
Adding Files to EWOK_STATIC_DATA to HPC environments
Requirements:
- Access to Orion since files are synced from there, although this can be worked around.
- Access to
jedi-para
orjedipara
orrole-jcsda
on HPCs
...
- Log into Orion and sudo to the
role-jcsda
account. - Copy static files from staging location to the decided $EWOK_STATIC_DATA location. The staging location is usually given in the work ticket and is the location where the JCSDA team member has placed the data. File names can be renamed if needed. Make sure to match the permissions as the other files in $EWOK_STATIC_DATA directory (hint: chmod 644).
- Run the
rsync
from the other HPCs. There is a script located inside jedipara's~/bin
directory the can be used to perform the rsync. Make sure the username is yours instead of the most recent team members. If you get an ssh error, you can remove the machine from known hosts and try again. An example of the script on Discover is located at /home/jedipara/bin/rsync-ewok-static-from-orion.sh. - Check off each machine in the R2D2-data ticket as you sync.
Adding Files to EWOK_STATIC_DATA to the AWS bucket
Execute /path/to/aws s3 sync --size-only --profile=jcsda-usaf-aws-us-east-2 /work2/noaa/jcsda/role-jcsda/static/ s3://r2d2.static.s3.us-east-2/
Installing the r2d2 v3 server
...