Single machine (B) running the OMII container with the GridSAM Web Service deployed. Jobs are launched onto Grid Engine managed resources through the DRMAA-Java binding. The OMII container (B) is available to the Internet. User holding a certificate trusted by the OMII container (B) can submit jobs over the internet to the GridSAM instance running on the OMII container (B). All jobs are submitted under the user account used to run the OMII container.
You must have Grid Engine 6 v6(u4+), which supports the DRMAA-Java binding. The user running the OMII container must be able to launch jobs using qsub.
<?xml version="1.0" encoding="UTF-8"?> <module id="jobmanager.drmaa" version="1.0.0"> <!-- dependent modules --> <sub-module descriptor="org/icenigrid/gridsam/resource/config/common.xml"/> <sub-module descriptor="org/icenigrid/gridsam/resource/config/shell.xml"/> <sub-module descriptor="org/icenigrid/gridsam/resource/config/drmaa.xml"/> <sub-module descriptor="org/icenigrid/gridsam/resource/config/embedded.xml"/> <sub-module descriptor="database.xml"/> <sub-module descriptor="authorisation.xml"/> </module>
The configuration requires no additional symbols or contributions. A sample can be found in $OMII_HOME/webapps/gridsam/WEB-INF/classes/jobmanager-drmaa.xml
In order for the DRMAA-Java binding to use the Java Native Interface to communicate with the Grid Engine installation. You must start the container by specifying the path of the native library (i.e. the directory containing the libdramaa.[so|dylib])
$> cd ${OMII_HOME}/apache-tomcat-5.5.23/bin $> setenv CATALINA_OPTS "-Djava.library.path=${SGE_ROOT}/lib/<YOUR ARCHITECTURE>" $> ./start_base.sh