Giter Site home page Giter Site logo

force's Introduction

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:

  • Debian based distribution of GNU/Linux
  • lib_php_ssh2-0.12
  • lib_openssl
  • php-5
  • html-5
  • bootstrap.css
  • jQuery-1.9
  • GC_Prettyprint
  • torque-2.5.12
  • tree (apt-get install tree)

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:

  • $world['ClusterName']: string with name for the cluster system;
  • $world['ClusterLogo']: string with relative path to cluster logo;
  • $world['UniLogo']: here you can insert relative path to a logo for your University/Corporation;
  • $world['GangliaURL']: URL to Ganglia Monitoring Webinterface;
  • $world['University']: Name of your University/Corporation;
  • $world['queue_list']: Here you can insert batch list that may be requested by your user (default for Torque is Batch);
  • $world['tmp']: tmp directory that can be used by Force to save temporary files (like uploading/downloading). Make sure this directory is 0664;
  • $world['server_list'][$i]: list of master-node, specified as hostname:port;
  • $debug: PLEASE, SET THIS VARIABLE TO FALSE TO ENABLE TORQUE ROUTINES;

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: [email protected]

force's People

Contributors

matteoragni avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.