Support #1756
closedUpdate documentation on $PROCESSING_HOSTS[] in config.php
0%
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' );
Updated by Neil Voss over 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.
Updated by Amber Herold over 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.
Updated by Amber Herold over 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?
Updated by Neil Voss over 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.
Updated by Amber Herold over 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.
Updated by Amber Herold over 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.