Opened 5 years ago

Closed 5 years ago

#1551 closed help (fixed)

Automating the processes of scp'ing ARCHER UM output to JASMIN

Reported by: shosking Owned by: um_support
Component: ARCHER Keywords:
Cc: michmcr@… Platform: ARCHER
UM Version: 8.4

Description

Is there an automated way in which UM output can be archived/copied (e.g., over scp) to JASMIN (ceda.ac.uk) ?

I guess one option would be to setup a cron job on ARCHER and scp PP files over a password-less connection to JASMIN. However, users do not have the required unix privileges for this.

Thanks,
Scott

Change History (2)

comment:1 Changed 5 years ago by willie

Hi Scott,

I have a cron job on my local computer - the one I use to access JASMIN:

# This is the SSH environment of the web server that launched the cron
# job
SSH_ENV=$HOME/.ssh/environment.$(hostname)
. $SSH_ENV
/usr/bin/ssh -AX wmcginty@jasmin-login1.ceda.ac.uk "/usr/bin/ssh -AX wmcginty@jasmin-xfer2.ceda.ac.uk '. ~/.bash_profile;./xfer_update_xlhua'"

You need to have an SSH agent running on the local machine. The script xfer_update_xlhau is on JASMIN and does rsync:

rsync -avCP  <files on ARCHER> .

Regards

Willie

comment:2 Changed 5 years ago by willie

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.