NewsFeed

From Ogce

Feed Information

This page displays the OGCE news feed, http://collab-ogce.blogspot.com/feeds/posts/default. For a full list of all news items, see http://collab-ogce.blogspot.com. You can subscribe to either Atom or RSS feeds at this link.

Recent Posts

Open Grid Computing Environments

  1. Analytics Reports for OGCE Web Site 31Wed, 10 Mar 2010 10:46:00 -0500ue
    Images below are from our Google Analytics traffic tracking from March 1, 2009-March 1, 2010. The first shows overall site traffic. The second shows global traffic sources. Click the image to see a larger version.


  2. Download Java Server Faces Components for Amazon Cloud Services 31Wed, 10 Mar 2010 10:28:00 -0500ue
    We have Amazon EC2 user interface components built with Java Server Faces available for download or SVN checkout.  


    To check the code out from SVN, use the command

    svn checkout  https://ogce.svn.sourceforge.net/svnroot/ogce/ogce-amazon-gadgets/awsGadget

    This will create a directory $HOME/awsGadget.  To build the gadgets, use the command 

    mvn clean install -Dcatalina.home=/path/to/your/tomcat

    For example, if you download (separately) Apache Tomcat 6.0.18 and put it in your awsGadget directory, you would run the command

    mvn clean install -Dcatalina.home=./apache-tomcat-6.0.18/  

    Start your tomcat server and point your browser to http://localhost:8080/AWSGadget/index.jsp.

    Note the login page requires your Amazon secret key, so you will need to run this over HTTPS.  This code is provided as is under our usual SourceForge license.  
  3. OGCE Jira URL 31Mon, 01 Mar 2010 13:44:00 -0500ue
    We are opening up our Jira project and bug tracking system for anonymous viewing.  The URL is http://grids.ucs.indiana.edu:8080/jira.
  4. Using GFac to wrap an application as a service 31Mon, 01 Mar 2010 10:03:00 -0500ue
    Launching applications on Super Computers and managing the application during its lifetime and its output after it ends are challenging tasks. GFac aims at being able to provide simple GUI tools that can help launch and manage the application on remote supercomputers.

    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
    <HostDescription xmlns="http://www.extreme.indiana.edu/namespaces/2004/01/gFac" xmlns:lead="http://www.extreme.indiana.edu/lead">
    <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 GFac service property file: helloworld.properties
    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.

  5. Web Server DNS Updates Complete 31Thu, 17 Dec 2009 11:26:00 -0500ue
    The DNS entry for the host server of the OGCE and GCE Workshop websites has been updated.  The usual URLs (http://www.collab-ogce.org, etc) should work correctly.
  6. OGCE Web Site Problems 31Wed, 16 Dec 2009 17:40:00 -0500ue
    We are changing the IP address of the Web server that virtually hosts the www.collab-ogce.org web site.  You can access the OGCE site with this URL:  

    http://gf18.ucs.indiana.edu/ogce/index.php/Main_Page

    The GCE08 and 09 workshops can be reached at

    http://gf18.ucs.indiana.edu/gce08/index.php/Main_Page

    and

    http://gf18.ucs.indiana.edu/gce09/index.php/Main_Page
  7. OGCE Cyberaide JavaScript Release 31Wed, 16 Dec 2009 10:17:00 -0500ue
    The SC09 stable release of Cyberaide JavaScript is available from http://www.collab-ogce.org/ogce/index.php/JavaScript_COG.  You can either check the code out from SVN or download the tar:

    SVN Checkout Command: svn checkout https://cyberaide.googlecode.com/svn/tags/cyberaide-javascript-SC09

    Tar download link: http://www.collab-ogce.org/ogce/downloads/cyberaide-javascript-SC09.tar.gz
  8. OGCE Gadget Container Added to Nightly Build and Test 31Tue, 08 Dec 2009 09:12:00 -0500ue
    The OGCE Gadget Container has been added to the NMI nightly build and test system.  To see a dashboard of all tests, go to http://nmi-s003.cs.wisc.edu/nmi/index.php?page=results%2Foverview&opt_project=OGCE.
  9. OGCE Gadget Container REST API 31Mon, 07 Dec 2009 14:23:00 -0500ue
    Notes by Gerald Guo, the developer of the gadget container. We are developing a REST API for the gadget container that allows you to work with it programmatically.  The following example shows how to add a gadget to a layout using curl.  If you prefer, a tool like the Firefox plugin Poster can be used.

    Curl example:
    1) Authentication
        curl -H Connection:keep-alive -d "screenname=testuser&password=testuser"
    -v -k -o output.txt -c cookies
    https://gf13.ucs.indiana.edu:7443/ishindig-webapp/signin

    2) Add a new gadget (Calender gadget)

    First, create a file named "gadget.json" with following content:
    { "gadgetname":"Embedded Calendar",
    "gadgetspecsrc":"https://gf13.ucs.indiana.edu:7443/gadgets-repo/EmbeddedCale
    ndar.xml"}

    Then execute this command:
    curl -d @gadget.json -H Content-Type:application/json -H
    Connection:keep-alive -v -k -c cookies -b cookies
    'https://gf13.ucs.indiana.edu:7443/ishindig-webapp/rest/users/@self/layouts/
    index/0/tabs/index/0/columns/index/2/gadgets/index/-1'

    In the long POST URL, position (consisting of tuple
    gadget index>) of the new gadget is specified.
        layouts/index/0  : this specifies the layout the gadget will be added to
        tabs/index/0     : this specifies the tab the gadget will be added to
        columns/index/2  : this specifies the column the gadget will be added to
        gadgets/index/-1 : this specifies position of the gadget within
    containing column. -1 means appending.

    Then you can log in OGCE gadget container via web interface
    (https://gf13.ucs.indiana.edu:7443/ishindig-webapp/www/sign.jsp) to check
    whether it has been added. 


    This feature is currently only available in the SVN trunk.  It is not part of the SC09 tagged release.
  10. XBaya Workflow Composer as Mashup Builder 31Mon, 07 Dec 2009 09:27:00 -0500ue
    WS02 is using and extending XBaya to work as a mashup composer: http://kkpradeeban.blogspot.com/2009/11/this-screen-cast-shows-development-of.htm.

     
Web site tools