Tuesday, December 07, 2010
OGCE SciDAC2010 Tutorial
OGCE TeraGrid 2010 ASTA Support
OGCE TeraGrid 2010 Science Gateway Tutorial Intro
Monday, December 06, 2010
Twitter, SlideShare
Wednesday, November 17, 2010
OGCE's XBaya Running a GridChem Workflow
Wednesday, November 10, 2010
OGCE Demos and Presentations at SC10 in New Orleans
- We have a mini-workshop Tuesday from 10:00 am - 12:00 noon at the IU booth.
- Monday-Thursday at the IU Booth, we have walk-up demos on demand at the interactive touch screen kiosk.
- Monday-Thursday at the Purdue Booth, we also have on demand demos.
- Wednesday from 1:00-2:00 pm, we have on demand presentations and demos at the NCSA booth.
Tuesday, November 09, 2010
GCE10 Program Now Available
Monday, August 30, 2010
GCE10 Deadline Extension
Sunday, August 01, 2010
TG10 Tutorial Agenda
1:00-2:15
- Introduction
- computational chemistry workflow demo
- build demo
2:30-5:00
- Hands on demo of OREChem workflow (using XBaya composer)
- Hands data mining tutorial (using XRegistry and Experiment Builder gadgets)
- Gadget container overview
Thursday, July 15, 2010
Sample Build Instructions Movie for OGCE Portal and Services
Wednesday, June 30, 2010
GCE10 Workshop Accepted for Supercomputing 2010
Thursday, June 03, 2010
Condor jDRMAA Example
package org.ogce.jobsub.api;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import org.ggf.drmaa.*;
import net.sf.igs.*;
public class DRMAAJobSubmission {
public static void main(String[] args) {
Session session = null;
String jobPath = "/bin/echo";
session = SessionFactory.getFactory().getSession();
String jobId = null;
JobTemplate jt = null;
JobInfo status = null;
ArrayList
argslist.add("Hello");
try {
System.out.println(session.getDrmSystem());
System.out.println(session.getContact());
System.out.println(session.getDrmaaImplementation());
session.init("localhost");
jt = session.createJobTemplate();
jt.setRemoteCommand(jobPath);
jt.setWorkingDirectory("/tmp");
jt.setJoinFiles(true);
jt.setOutputPath("/tmp/hello.out" );
jt.setArgs(argslist);
jt.setTransferFiles(new FileTransferMode(false, false, false));
} catch (DrmaaException e) {
e.printStackTrace();
}
try {
jobId = session.runJob(jt);
status = session.wait(jobId, Session.DONE);
if (status.wasAborted()) {
System.out.println("job " + jobId + " never ran");
} else if (status.hasExited ())
{
System.out.println("job " + jobId +
"finished successfully with Exit Status "
+ status.getExitStatus());
} else if (status.hasSignaled ())
{
System.out.println("job " + jobId + " finished due to signal" +
status.getTerminatingSignal ());
} else
{
System.out.println("job " + jobId +
" finished with unclear conditions");
}
} catch (DrmaaException e) {
System.out.println("Internal Exception: " + e.getMessage());
e.printStackTrace();
}
catch (org.ggf.drmaa.InternalException ie)
{
System.out.println("Internal Exception: " + ie.getMessage());
ie.printStackTrace();
}
}
}
Condor
Condor
job 25.0 finished successfully with Exit Status 0
Tuesday, May 18, 2010
Gadget Container, Registry, and Experiment Builder Movie Links
- OGCE Gadget Container: portal software for running secure Open Social gadgets: http://ogceportal.iu.teragrid.org/tutorials/Gadget_Container.htm
- XRegistry Gadget: a gadget for registering host computers and scientific application services into the OGCE XRegistry service: http://ogceportal.iu.teragrid.org/tutorials/XregistryInterface.htm
- Experiment Builder Gadget and XBaya Workflow Composer: the experiment builder gadget allows you to build, execute, and monitor experiments from services and workflow stored in XRegistry: http://ogceportal.iu.teragrid.org/tutorials/ExperimentBuilder.htm
Wednesday, May 12, 2010
OGCE "All" Release Candidate
svn co https://ogce.svn.sourceforge.net/svnroot/ogce/ogce-all-rc1
This is a preview release that will need to undergo additional acceptance testing, but it is stable for early users. Future updates can be obtained using the usual "svn update" command, and the release can be modularly rebuilt.
This download integrates several software components:
- The OGCE Gadget Container: an iGoogle-style portal container for science gateways.
- Experiment Builder and XRegistry gadgets for interfacing with the OGCE GFAC and XRegistry services and the XBaya workflow composer
- XRegistery and GFAC services for registering, launching, monitoring, and sharing application services and workflows.
- A collection of third party gadgets.
- mvn clean install -Dservices-only builds only GFAC and XBaya. These services can run on separate servers from the gadget container, and you can run more than one instance of these services.
- mvn clean install -Dgadget-container builds just the gadget container.
- mvn clean install -Dgadgets-and-clients builds the gadget container, registry gadget, and experiment builder gadget.
Wednesday, April 28, 2010
Updated TeraGrid CA Files
Changes have been made to the list of Teragrid recognized Certificate Authorities.
The new CA tarball, v1.10, can be found on repo. This tarball adds the new PSC MyProxy CA, with hash value 4b2783ac. You can obtain a copy of the tarball and signatures file from the software WG site at:
http://software.teragrid.org/security/teragrid-certs.tar.gz
http://software.teragrid.org/security/teragrid-certs.tar.gz.asc
Please incorporate the new list as specified (RPs, Science Gateways and users within 24 hours)
Monday, April 26, 2010
New OGCE Discussion List, Google Group
You are welcome to join, and we also allow anonymous viewing and moderated posts by group non-members. Only project managers can see the member list.
The project RSS feed is http://groups.google.com/group/ogce-discuss/feed/rss_v2_0_msgs.xml.
Saturday, March 27, 2010
Build and Deploy to Maven2 Repo
<distributionmanagement>
<repository>
<uniqueversion>false</uniqueversion>
<id>xRepo</id>
<name>Extreme Lab Repository</name>
<url>scp://mneme.extreme.indiana.edu/l/extreme/java/repository</url>
<layout>default</layout>
</repository>
</distributionmanagement>
mvn deploy will deploy the generated jar files to the repository but will prompt to enter the password and will also assume local account name. To avoid password prompt and to specify a different user name the following settings.xml can be placed in the $HOME/.m2 directory. For security reasons, never include the settings.xml in any of the packages, this file should be protected by file system security and is strongly advised to set the file permissions to 600.
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xsi="http://www.w3.org/2001/XMLSchema-instance" schemalocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>xRepo</id>
<username>smarru</username>
<privatekey>${user.home}/.ssh/id_dsa</privatekey> <!-- if ssh keys are not available the password can be set as <password>my_password</password> -->
<passphrase>some_passphrase</passphrase>
<filepermissions>664</filepermissions>
<directorypermissions>775</directorypermissions>
<configuration></configuration>
</server>
</servers>
</settings>
Friday, March 26, 2010
Gadget Container Theme Customization
Wednesday, March 17, 2010
OGCE Messaging Service Released
For more information and download instructions, see http://www.collab-ogce.org/ogce/index.php/Messaging.
Thursday, March 11, 2010
OGCE Simple Monitoring Script
The perl script periodically pings the registered services and if a service is done, sends an emails to the registered contacts. The scripts also writes our a html page with the following color convention:
- Green - Service is up
- Red - Service is down
- Yellow - Request timed out (i.e., took longer than the default 20 seconds)
Gateways can checkout the script and deploy and maintain on their own servers. To add a service to the script, use the following template:
push (@services, {
$NAME => "OGCE Gateway Portal",
$ID => "OGCEPortal",
$URL => "https://ogceportal.iu.teragrid.org:8443/gridsphere/gridsphere",
$CONTACTS => [admin@gateway.org],
$GATEWAYS_R_US => $OGCE
});
The GATEWAYS_R_US is a variable to categorize the services. For instance, to generate a separate listing of OGCE Hosted Services and a list of Gateway Services. The perl script is commented to explain these terminologies. The documentation is very naive but will be enhanced more.
Questions or comments, email smarru at cs.indiana.edu
Overview of OGCE Science Gateway Support
OGCE's Advanced Science Gateway Support
Wednesday, March 10, 2010
Analytics Reports for OGCE Web Site
Download Java Server Faces Components for Amazon Cloud Services
Monday, March 01, 2010
OGCE Jira URL
Using GFac to wrap an application as a service
This post aims at serving as a quickstart to configuring a XSul based GFac persistent service.
The first step is to install GFac and XRegistry components. Good documentation to do this can be found on the OGCE web pages.
After the installation is complete set the GFAC_HOME environment variable to point to the GFac's target/dist-bin folder:
export GFAC_HOME=/Users/archit/ogce/ogce-xsul-services-1.0-RC1/sgfac/target/dist-bin
Now create a folder to house the configuration files that will be used by our service.
cd ogce-xsul-services-1.0-RC1/sgfac
mkdir helloworld
cd helloworld
Now use your favorite editor to create the three XML configuration files needed by GFac to start the persistent service namely the App description document, the host description document and service description document.
Application Description File helloworldapp.xml:
<ApplicationDescription xmlns="http://www.extreme.indiana.edu/namespaces/2004/01/gFac" xmlns:lead="http://www.extreme.indiana.edu/lead">
<applicationName
targetNamespace="http://www.extreme.indiana.edu/lead">HelloWorldApp</applicationName>
<jobType>single</jobType>
<project> <projectName>TG-XXXXXXXXXX</projectName>
<projectDescription>
TG staff
</projectDescription>
</project>
<queue>
<queueName>SERIAL</queueName>
<queueDescription>
BigRed queue
</queueDescription>
</queue>
<maxWallTime>30</maxWallTime>
<count>1</count>
<rslparm name="project">TG-XXXXXXXXXX</rslparm>
<rslparm name="queue">SERIAL</rslparm>
<deploymentDescription>
<hostName>
bigred.iu.teragrid.org
</hostName>
<executable>/N/u/tg-archi/BigRed/helloworld</executable>
<workdir>
/N/u/tg-archi/BigRed/gfactmp
</workdir>
<!-- Tmp directory for this application.
if not specified, the tmp directory of the host will be used-->
<tmpDir>
/N/u/tg-archi/BigRed/gfactmp
</tmpDir>
<applicationEnv>
<name>FIRST_NAME</name>
<value>Archit
</value>
</applicationEnv>
</deploymentDescription>
</ApplicationDescription>
ServiceDescription file: helloworldsvc.xml
<ServiceMap xmlns="http://www.extreme.indiana.edu/namespaces/2004/01/gFac"
xmlns:lead="http://www.extreme.indiana.edu/lead">
<service>
<serviceName targetNamespace="http://www.extreme.indiana.edu/lead">HelloWorldService</serviceName>
</service>
<lifeTime>
<notAfterInactiveMinutes>-1</notAfterInactiveMinutes>
</lifeTime>
<portType>
<method stageOutputDataFiles="true" forceFileStagingToWorkDir="true">
<methodName>Run</methodName>
<application paramValuesOnly="true" useLEADNameListFile="true">
<applicationName targetNamespace="http://www.extreme.indiana.edu/lead">HelloWorldApp</applicationName>
</application>
<inputParameter>
<parameterName>lastname</parameterName>
<parameterType>String</parameterType>
</inputParameter>
<inputParameter>
<parameterName>inputfile</parameterName>
<parameterType>URI</parameterType>
</inputParameter>
<outputParameter>
<parameterName>friendCount</parameterName>
<parameterType>String</parameterType>
</outputParameter>
<outputParameter>
<parameterName>friendListFile</parameterName>
<parameterType>URI</parameterType>
</outputParameter>
</method>
</portType>
</ServiceMap>
Host Description File: bigred.xml
<documentInfo>
<documentName targetNamespace="http://www.extreme.indiana.edu/lead">BigRed</documentName>
</documentInfo>
<hostName>bigred.iu.teragrid.org</hostName>
<hostConfiguration>
<tmpDir>/N/u/tg-archi/BigRed/gfactmp</tmpDir>
<globusGatekeeper wsGram="true">
<endPointReference>
https://gatekeeper.bigred.iu.teragrid.org:8443/wsrf/services/ManagedJobFactoryService
</endPointReference>
<jobmanagertype>Loadleveler</jobmanagertype>
</globusGatekeeper>
<gridFTP>
<endPointReference>gridftp.bigred.iu.teragrid.org:2811</endPointReference>
</gridFTP>
</hostConfiguration>
</HostDescription>
Create the service properties file:
Finally, create the GFac service property file: helloworld.properties. This will tell GFac where to get the service, application, and host description files you just made.
serviceMapFile = helloworld/helloworldsvc.xml
appDescFile = helloworld/helloworldapp.xml
hostDescFile = helloworld/bigred.xml
port = 12346
#Comment this to make Factory and Services starts up without https
#transportSecurity=true
#private key used by the GFac to connect to other services, and start https socket, if it is enabled
ssl.hostcertsKeyFile=/home/ogce/ogce-xsul-services-1.0-RC1/sgfac/target/dist-bin/conf/ogce_services_key.pem
ssl.trustedCertsFile=/home/ogce/ogce-xsul-services-1.0-RC1/sgfac/target/dist-bin/conf/trusted_cas.pem
registryURL=https://<yourip>:6666/xregistry?wsdl
#Ask Gfac to go to local mode, so it can work without credentails. Comment if you need a remote installation
installation=local
myproxyServer=myproxy.teragrid.org
myproxyUserName=XXXXX
myproxyLifetime=86400
myproxyPasswd=XXXXXX
#gfac.prefferedProvider=Local|Gram|WSGram|SSH|ResourceBroker
wsgramPrefered=true
Now with your JAVA_HOME and GFAC_HOME set start the persisitent HelloWorldService using the run.sh provided with GFac as foolows:
./run.sh helloworld/helloworld.properties
This will start the service on port 12345 and you are ready to submit HelloWorld jobs.