OGRSH
Summary
The Open Grid Shell (OGRSH) is a classic software shim that provides users and, more importantly, users' legacy applications with the illusion of a single, consistent local namespace (or file system). This virtual namespace provides legacy applications with seamless access to both local file systems and grid file systems.
Download
Status
Version 1.2.4 is available for download.
System requirements
OGRSH requires either a 32-bit or a 64-bit Linux machine with Genesis II installed. OGRSH has been tested on most recent Red Hat and Ubuntu distributions.
Further information
- Homepage
- Licence: Apache 2.0
- Support email
Developers
OGRSH is developed by Computer Science group
at the University of Virginia
.
What can it do?
OGRSH provides seamless integration of local and grid resources by providing a virtual namespace, or file system, for any legacy application. OGRSH works with legacy applications so users can run their favourite scripts, programs, and even interactive sessions, without modification. These applications see the virtual namespace provided by OGRSH and are unaware of the existence of the back-end grid, which may be supporting some of the virtual file system elements. Further, using certain OGF and OGSA standards, OGRSH can be used to manipulate higher-level grid functions, such as job submission and management, by simply copying or writing files in the appropriate places. When an application run with OGRSH finishes, OGRSH gracefully shuts down as well.
How does it work?
OGRSH works using a classic 'shimming' technique. Using shared library techniques built into the Linux operating system, OGRSH intercepts certain calls made from the application and into lower-level dependent libraries. By intercepting calls, such as opendir, readdir, closedir, open, read, write, close, etc., OGRSH is able to provide the application with the illusion of a file system namespace that only exists virtually in the OGRSH library. In reality, this namespace is made up of a number of arbitrary 'mount' points where a configuration file has indicated which local file system directory, or which grid file system directory, to mount and under what OGRSH name. This is done via a pluggable mechanism, whereby file system provider shared libraries handle paths that resolve under their given mount points and are allowed to respond to calls made to those paths.
Because OGRSH is intercepting the calls in a standard way, any binary application that uses those calls can work within an OGRSH shim. This includes very useful legacy programs, such as ls, cat, vi, and even bash. In fact, the most common way to start OGRSH is by launching an instance of the BASH shell with an OGRSH shim. This interactive shell is then connected to the grid via configured mount points, and users can navigate and manipulate the file system structure provided there.





© The University of Southampton on behalf of OMII-UK. All Rights Reserved. |