Completed
ARC PROJECT MANAGEMENT
PRE - PSU Remote Executioner
last updated on Wed, 12/31/1969 - 16:00
General Information
Description
PRE is a web interface designed to allow users to submit jobs to various programs (tested so far only with R) located on remote compute servers and to retrieve the data in the form of HTML pages once done.Purpose and goal of the project
Client contact
Personnel
Martin Lukac (programming)
lukacm@pdx.edu
Scope and Scale
Customer
Users/ audience
Scope
Partners
Architecture/Design
Project Specification
Requirements
- Web server running a version of apache with php and ssh2 libraries installed
- Compute machines with installed perl (with a single dedicated user having ssh access) and of course the desired software application(s)
- Mysql server (with a dedicated user for access)
Installation
- Unpack the package in some location - On the Web server create a dedicated directory for the script to be run and installed and copy into it the index.php, ssh2.server.php, ssh2server.inc.php and ssh2.show.php
- On the compute machines (as many as you need), in the root of the user directory install (copy) the ssh2.compute.pl and ssh2compute.inc.pl. Edit the ssh2compute.inc.pl and change the top three lines.
- Edit the ssh2server.inc.php, and edit the file as needed. Change the credentials for your DB and ssh2 user and so on. All that has to be changed is marked. Edit ssh2server.inc.php and change or comment the dl(..) instruction, according to wethear or not you have ssh2 libs installed system wide or locally.
- Once this done open the web browser and access the installed front end. This (if everything is correctly set up) will create all datastructures on the mysql server.
- Once this is done (so far - web interface on its way) you have to manually input the dedicated compute nodes into the remote_machines table. The fields that MUST be altered are the machinename, iplocation and availsoft. In the field availsoft, input the name of the software you want to be able to run separated by coma.
Usage
- R - it is required that for the correct output of data, the HTML command is used within the R command file and the output shall be redirected to results.html.
- for other software - the support is comming
- It is possible to either submit only a command file and/or both command file and a data file. When using a data file, remember to reference it in the comand file as if it was in the current directory, - using only './' as path prefix.
Project home and resource storage
Related Projects
Project status
Timeline
