130 likes | 145 Views
Java Cogkit Hans-Martin Adorf (MPA) Alexander Beck-Ratzka (AEI) Astrogrid WS Heidelberg, 24.07.06. The Java CoG Kit. Enables Globus client operations without having to install Globus Accesses Globus over Globus Java-API Consists of JAR files
E N D
Java CogkitHans-Martin Adorf (MPA)Alexander Beck-Ratzka (AEI)Astrogrid WS Heidelberg, 24.07.06
The Java CoG Kit • Enables Globus client operations without having to install Globus • Accesses Globus over Globus Java-API • Consists of JAR files • Provides some scripts as CLI for Globus client operations (not all). • Also part of Java-GAT
JCoG: where to get • Download via www.cogkit.org • Binary download • Libraries for GTK 4 and GTK 3.2 • Scripts for emulation of Globus CLI in bin sub-directory and for setup
JCoG: configuration (1) • Installation – nothing to do • Configuration with script cog-setup • Java (GUI) application; finally creates $HOME/.globus/cog.properties
JCoG: cog.properties #Java CoG Kit Configuration File #Tue Jul 04 07:05:01 EDT 2006 usercert=/home/ali/.globus/usercert.pem userkey=/home/ali/.globus/userkey.pem proxy=/tmp/x509up_u500 cacert=/home/ali/.globus/cog-certificates/ ip=dhcp-199.aei.mpg.de tcp.port.range=20000,20100
JCoG: bin CLI scripts grid-proxy-initgrid-proxy-info grid-proxy-destroy grid-cert-info grid-info-search globusrun globus-url-copy globus-gass-server globus-gass-server-shutdown cog-myproxy globus-personal-gatekeeper grid-change-pass-phrase globus2jks cog-proxy-init cog-register cog-graph-editor cogruncog-job-submit cog-ws-invoke cog-file-operation cog-file-transfer cog-task2xml cog-checkpoint-submit cog-checkpoint-status cog-info cog-workflow-gui cog-workflow cog-workflow-service cog-setup grid-cert-request cog-gridshell cog-directory-browser cog-shell cog-desktop cog-gridftp
JCoG: desktop • GUI, suitable for • Job definition • Execution host definition • Job submission via drag ‘n drop • Primitive executable staging • Job monitoring • Inspection of results (stdout, stderr) • File transfer (via GridFTP) • Management of remote directory (via GridFTP)
JCoG: desktop (ctd.) • Highlights two general Globus problems • Firewall configuration with multiple users on individual job submission hosts • Staging of executables
Globus firewall problem • Assume there are M Globus servers • outside your firewall • Assume there are N Globus users (submit hosts) • inside your firewall • You have to pierce M x N holes into your firewall. • Each hole consists of • several individual ports and • a port range open to TCP communication • Not acceptable to firewall administrators
Globus firewall problem: gateway • Potential solution: gateway bundling outgoing traffic (i.e. job submits) • Nothing seems to be known about how to set up such gateway • Question posted to Globus mailing list
JCoG: staging of executables • Single executables (scripts, binary) • What if … • there are multiple executables or libraries to be staged? • we want to execute our jobs on any of several remote Globus servers? • there is a group of collaborators who wants to share a “software installation” on a remote Globus server?
JCoG: summary • Very useful for client-side Globus usage!!! • CoG is easy to install and to configure • CoG comes with GUI • GUI: no direct viewing of remote files (yet) • CoG comes with CLI • Some syntax differences between equivalent Globus and CoG commands • Still incomplete: no gsissh • Highlights Globus problems