Changes between Version 5 and Version 6 of Docs/PostProcessingAppArcherSetup


Ignore:
Timestamp:
18/09/17 15:30:38 (2 years ago)
Author:
ros
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Docs/PostProcessingAppArcherSetup

    v5 v6  
    2222=== `suite.rc` === 
    2323 
    24 '''Note:''' Depending on the suite setup you may find the appropriate sections to modify in the `site/archer.rc` file rather than the `suite.rc`. 
     24 '''Note:''' Depending on the suite setup you may find the appropriate sections to modify in the `site/archer.rc` file rather than the `suite.rc`. 
    2525 
    2626 1. Add the build & run of ''pptransfer'' task into the cylc graph initial cycle.  Add the line:  
     
    102102            PLATFORM = linux 
    103103}}} 
     104 
     105== Set up ssh-key to connect from PUMA to Data Transfer Node == 
     106 
     107These instructions assume you already have an ssh-agent running on PUMA which you would already have needed in order to run a UM suite on ARCHER.  If this is not the case then please [http://cms.ncas.ac.uk/documents/training/November2016/UM_practicals/getting-setup.html#set-up-an-ssh-connection-from-puma-to-archer setup ssh-agent from PUMA to ARCHER] before continuing. 
     108 
     1091. Login to dtn02.rdf.ac.uk.  Assuming you have not already setup ssh-agent to access the Data Transfer Nodes you will be prompted for your ARCHER password.  If you are logged on with no password/passphrase prompt then you are already setup and can move onto the next section below. 
     110 
     1112. Create `.ssh` directory: 
     112{{{ 
     113$ mkdir ~/.ssh 
     114}}} 
     115 
     1163. Copy your `authorized_keys` file from ARCHER home disk: 
     117{{{ 
     118$ cat ~/.ssh/authorized_keys >> /nerc/n02/n02/<username>/.ssh/authorized_keys 
     119}}} 
     120 
     1214. Logout and back into dtn02.rdf.ac.uk.  You should now be logged straight in without prompt for password/passphrase. 
     122 
     123== Set up ssh-key to connect from Data Transfer Node to JASMIN == 
     124 
     1251. Login to dtn02.rdf.ac.uk. 
     126 
     1272. Add the following lines to your `~/.profile` (Create one if it doesn't already exist): 
     128{{{ 
     129export PATH=/nerc/n02/n02/ros/software/bin:$PATH 
     130 
     131# ssh-agent setup 
     132. ~/.ssh/ssh-setup 
     133}}} 
     134 
     1353. Copy `~/.ssh/ssh-setup` script. 
     136 
     137{{{ 
     138$ cp /nerc/n02/n02/ros/software/bin/ssh-setup ~/.ssh 
     139}}} 
     140 
     1414. Copy the ssh-key you use to access JASMIN to `~/.ssh` directory. 
     142 
     1435. Logout of dtn02 and then log back in again to start up your ssh-agent. 
     144 
     1456. Run `ssh-add ~/.ssh/<jasmin_key>` where <jasmin_key> is the name of your JASMIN ssh-key E.g. id_rsa_jasmin. (This is the key you generated when you applied for access to JASMIN). Type in your passphrase when prompted to do so. 
     146 
     1477. You should now be able to login to JASMIN without being prompted for passphrase/password. 
     148