Unified Model
Migration of UM Data to JASMIN Elastic Tape
These instructions assume that your suite is already setup to use the correct version of Postproc. See the Post-Processing page.
Setup and initialise JDMA on JASMIN
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.
- Install JDMA client software:
- Login to a JASMIN sci machine
- Create a virtual environment in your home directory:
python3 -m venv ~/jdma_venv - Activate the virtual environment:
source ~/jdma_venv/bin/activate - Install the jdma client into the virtualenv:
pip install git+https://github.com/cedadev/jdma_client
- Follow instructions in the Setting up the user, user settings and user info section of the JDMA Tutorial.
UM Rose suite changes
Rose Edit
- In panel suite conf -> JASMIN Elastic Tape:
- Set Migrate data to JASMIN Elastic Tape to True
- In panel postproc -> Post Processing - common settings -> ARCHER2-JASMIN Archiving -> Elastic Tape:
- Set default_workspace to False
- Enter the JASMIN GWS under which you wish to migrate the data to ET (e.g. ncas_climate).
Setup connection to JASMIN sci nodes
- Add the following to your
~/.ssh/configfile on PUMA2:
# JASMIN
Host login-0?
User <jasmin-username>
IdentityFile ~/.ssh/<jasmin-ssh-key>
ForwardAgent yes
Host cylc? login-0? sci-vm-0?
Hostname %h.jasmin.ac.uk
Host sci* cylc*
User <jasmin-username>
IdentityFile ~/.ssh/<jasmin-ssh-key>
ForwardAgent yes
ProxyJump login-02
Add your JASMIN ssh-key to your ssh-agent:
ssh-add ~/.ssh/<jasmin-ssh-key>
Test connection to JASMIN:
ssh sci-vm-03- You should be logged into the JASMIN sci node without prompt for your JASMIN passphrase.
Add path to Rose/Cylc to your
~/.bash_profileon 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
Configure PPTransfer
If you haven’t already done so follow the instructions for configuring PPTransfer and setting up Globus: Configuring PPTransfer
You may wish to consider using the JASMIN transfer cache disk as the JASMIN transfer destination. This is a large temporary storage area separate to the Group Workspaces. See JASMIN Transfer Cache for more information.