View on GitHub

Force

A web interface for Torque Resource Manager

Download this project as a .zip file Download this project as a tar.gz file

Force

Force is a web interface for Torque/Maui clusters, based upon php_ssh2 libraries. It uses as backend Torque binaries to get info upon jobs' status, deletion and submission. Security is granted through ssh and https sessions.

Actually, the interface is under development, so many features are implemented but disabled through <$debug> variable.

We have used:

Sreenshot

Example of login, with selection of masternode

Example of login, with selection of masternode

Submission form and PBS script generation

Submission form and PBS script generation

Queue status list, with user deletion control

Queue status list, with user deletion control

Script submission and results explorer

Script submission and results explorer

Job details

Job details

Installation

libssh2 for php

It's simple to install this package if you use distribution's repository:

sudo apt-get install libssh2-php

Please make sure you have installed version 0.12 or greater.

OpenSSL support for Apache2

If you need a self-signed certificate, you can follow this easy guide: http://wiki.debian.org/Self-Signed_Certificate written by GeoffSimmons (thank you!)

tree

sudo apt-get install tree

FORCE Installation

Simply copy all package in your /var/www directory (or in directory in which you will serve this site): Download the package and unzip it:

wget https://github.com/MatteoRagni/Force/archive/master.zip
unzip master.zip
mv -Rf master/ /var/www

Configure Apache to serve certificate for https connection, and enable site.

Configuration

All configurations for FORCE are collected in the file globals.php and stored in associative array $world:

Warning! on torque server must be enabled the flag query_other_jobs to allow other user to see others jobs qmgr -c 'set server query_other_jobs = 1'

Thank YOU!

TODO roadmap:

[x] improve this readme :D

[ ] implement logging routines

[x] add multi master-node system in login form

[x] create user /tmp directory for upload/download

[ ] improve check routines on qsub form

[x] add DeleteJob routine

[ ] add ajaxterm support in SSH page

[ ] add pbsnodes status insterrogation page

Copyright (C) 2013 Matteo Ragni

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

for more info you can contact me: matteo.ragni.it 'at' gmail.com