Instructions on how to setup your environment for migration of data to JASMIN Elastic Tape as part of the UM workflow.
Before you can use the JDMA to migrate data to Elastic Tape you must install the jdma client on JASMIN and initialise some user settings.
module load jaspy/2.7
virtualenv ~/jdma_venv_py2
source ~/jdma_venv_py2/bin/activate
pip install git+https://github.com/cedadev/jdma_client
You need to configure your ssh settings to connect to the Jasmin sci nodes, in order to submit the JDMA requests.
~/.ssh/config
file on PUMA:# JASMIN
Host login2
Hostname login2.jasmin.ac.uk
User <jasmin_username>
IdentityFile ~/.ssh/<jasmin-ssh-key>
ForwardAgent yes
ControlMaster auto
ControlPath /tmp/ssh-socket-%r@%h-%p
ControlPersist yes
Host sci? cylc1
Hostname %h.jasmin.ac.uk
Host sci* cylc*
User <jasmin_username>
IdentityFile ~/.ssh/<jasmin-ssh-key>
ForwardAgent yes
ProxyCommand ssh -Y login2 -W %h:%p
ControlMaster auto
ControlPath /tmp/ssh-socket-%r@%h-%p
ControlPersist yes
ssh-add ~/.ssh/<jasmin-ssh-key>
ssh sci3.jasmin.ac.uk
~/.bash_profile
on JASMIN:if [[ $(hostname) = sci*.jasmin.ac.uk || $(hostname) = cylc*.jasmin.ac.uk ]]; then
# Rose/cylc on jasmin-sci & Lotus nodes
export PATH=/apps/jasmin/metomi/bin:$PATH
fi