Project

General

Profile

Actions

Support #1756

closed

Update documentation on $PROCESSING_HOSTS[] in config.php

Added by Neil Voss about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Amber Herold
Category:
Documentation
Target version:
Start date:
04/23/2012
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.2.0 (trunk)

Description

I am trying to figure out how set the additional login parameters, but need a little help.

http://emg.nysbc.org/projects/appion/wiki/Configure_web_server_to_submit_job_to_local_cluster

Now it looks like:

$PROCESSING_HOSTS[] = array(
   'host' => 'localhost',  'nproc' => 4,
   'nodesdef' => '2', 'nodesmax' => '2',
   'ppndef' => '2','ppnmax' => '4',
   'reconpn' => '2',
   'walltimedef' => '48','walltimemax' => '240',
   'cputimedef' => '1536','cputimemax' => '10000',
   'memorymax' => '',
   'appionbin' => 'bin/', 'appionlibdir' => 'appion/',
   'baseoutdir' => 'appion',
   'localhelperhost' => '',
   'dirsep' => '/','wrapperpath' => 'appion',
   'loginmethod' => 'SHAREDKEY','loginusername' => '',
   'passphrase' => '', 'publickey' => 'rsa.pub','privatekey' => 'rsa'   
);

Actions #1

Updated by Neil Voss about 12 years ago

This is the error I get:

ERROR: ERROR: Could not create run directory on localhost: Error executing over ssh on host: localhost sending command: mkdir -p /data01/appion/.../extract/tmplrun6; username: xxxxx Error Message: Can not login to localhost. Unknown login authentication method.

Actions #2

Updated by Amber Herold about 12 years ago

  • Status changed from New to Assigned

It looks like you have it set up correctly to me. Since we really only use "USERPASSWORD" at NRAMM, "SHAREDKEY" has not been tested since Christopher last used it for Trestles. I'll look into it more closely tomorrow.

Actions #3

Updated by Amber Herold about 12 years ago

Neil, I have not been able to reproduce this issue, even using an exact copy of your config.

What revision are you running?

Actions #4

Updated by Neil Voss about 12 years ago

Sorry for the delay, the messages for this bug were not relayed to my inbox.

I switched to USERPASSWORD, I was not sure what to put in the blank to get user/pass to work. Everything works fine now. Though I do not like having my password in the config.php file.

I did try the public key, with an actual public key, but since it is localhost seems excessive.

Actions #5

Updated by Amber Herold about 12 years ago

Neil, if the username and password fields are left blank, the username and password that are entered into Appion in the top right corner are used. There is an option in the config file for the user and pass in case everyone is logging into a machine under the same account.

Actions #6

Updated by Amber Herold almost 12 years ago

  • Status changed from Assigned to Closed

The documentation has been updated to reflect 2.2 changes. It could probably use a bit more detail, hopefully we can all pitch in as questions arise to fill out this page.

Actions

Also available in: Atom PDF