Changes between Version 9 and Version 10 of Docs/Mobilis


Ignore:
Timestamp:
08/02/16 16:35:05 (4 years ago)
Author:
ros
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Mobilis

    v9 v10  
     1{{{#!comment 
    12{{{#!box 
    23This page is under construction and details presented here are likely to change 
     4}}} 
    35}}} 
    46 
     
    79= Setting up GC2 N96-ORCA1 job to run on Mobilis = 
    810It is assumed that the job will be submitted from UMUI on PUMA. The user should have access to PUMA and the UM, NEMO and CICE repositories. 
     11 
    912==  Setup ssh-agent on PUMA  == 
    1013 
     
    2326 `[TYPE-YOUR-PASSPHRASE]` is a fairly complicated and unguessable passphrase. You can use spaces in the pass phrase if it helps you to remember it more readily. It is recommended that you don't use your password just in case this is hacked.  Note: Please '''DO NOT''' use an empty passphrase as this presents a security issue. 
    2427 
    25  2. Add the public key to the ~/.ssh/authorized_keys file on NOC and MOBILIS. 
     28 2. Add the public key to the `~/.ssh/authorized_keys` file on NOC and MOBILIS. 
    2629 
    2730 To achieve this in a secure manner, do the following: 
     
    3437}}} 
    3538 
    36  (NB: Sometimes, even though the file is copied across successfully, the above command will hang. In which case, do a Cntl-C to exit, and login to the remote platform and verify the file .ssh.authorized_keys has arrived safely) 
     39 (NB: Sometimes, even though the file is copied across successfully, the above command will hang. In which case, do a `Cntl-C` to exit, and login to the remote platform and verify the file `.ssh/authorized_keys` has arrived safely) 
    3740 
    3841 3. Verify the authentication works: 
     
    5154}}} 
    5255 
    53  5. Make the ssh-agent automatically start-up when your session runs. 
     56 5. Make the `ssh-agent` automatically start-up when your session runs. 
    5457 
    5558   5.1 Copy [http://ncas-climate.nerc.ac.uk/ssh/ssh-setup my setup script] to $HOME/.ssh/setup, and ensure it has execute permission: 
    5659      `puma$ chmod u+x $HOME/.ssh/setup` 
    57    5.2 Call this script from your .kshrc or .bashrc (ksh or bash shell respectively) file by adding the following line. If you don't have a .kshrc/.bashrc file at it to your .profile. 
     60   5.2 Call this script from your `.kshrc` or `.bashrc` (ksh or bash shell respectively) file by adding the following line. If you don't have a `.kshrc/.bashrc` file at it to your .profile. 
    5861      `. $HOME/.ssh/setup` [[br]] 
    5962  
     
    6467Enter passphrase for ~/.ssh/id_dsa (<username>@puma.nerc.ac.uk): [Type Passphrase] 
    6568}}} 
    66  7. PUMA: Edit $HOME/.ssh/config to add the following lines 
     69 7. PUMA: Edit `$HOME/.ssh/config` to add the following lines 
    6770{{{ 
    6871Host ssh.noc.soton.ac.uk 
     
    7174ForwardX11Trusted yes 
    7275}}} 
    73  8. NOC: create, or append to, the file $HOME/.ssh/config 
     76 8. NOC: create, or append to, the file `$HOME/.ssh/config` 
    7477{{{ 
    7578Host * 
     
    107110 
    108111==  Setup ssh tunnel in PUMA  == 
    109 1) ssh -L21452:mobilis1:22 <username>@ssh.noc.soton.ac.uk 
     1121) `ssh -L21452:mobilis1:22 <username>@ssh.noc.soton.ac.uk` 
    110113This should take you directly onto the NOC Machine with no prompt for password/passphrase 
    111114This window needs to remain open for the job to submit successfully. 
    112115 
    1131162) Test this out by running on PUMA 
     117{{{ 
    114118ssh -p21452 <username>@localhost 
     119}}} 
    115120If all is well you should get logged into mobilis.  
    116121 
    117 3) In your .profile on PUMA add the line 
     1223) In your `.profile` on PUMA add the line 
     123{{{ 
    118124export MOBILIS_PORT=21452 
     125}}} 
    119126 
    120127Important : the port number should be unique for each user and user should select a random port number (from 21000 to 99999) to avoid using the same port number. 
     
    122129==  Setup new job in UMUI  == 
    1231301. Copy the job xkjai to a new experiment.  
    124 2. Navigate to -> Model Selection -> User Information and Submit Method -> General details Set User-id to be your NOC id. 
    125 3. Navigate to -> Model Selection -> FCM Configuration -> FCM Extract directories and Output levels Set Target machine root extract directory (UM_ROUTDIR) to /hpcdata/working/<username>/um 
     1312. Navigate to ''Model Selection -> User Information and Submit Method -> General details'' Set ''User-id'' to be your NOC id. 
     1323. Navigate to ''Model Selection -> FCM Configuration -> FCM Extract directories and Output levels'' Set ''Target machine root extract directory (UM_ROUTDIR)'' to `/hpcdata/working/<username>/um`