[gram-user] Submiting a basic java job in 2 nodes. with gt4.2.1 using GRAM4

Martin Feller feller at mcs.anl.gov
Wed Mar 24 11:10:20 CDT 2010


Hi,

Please reply to the list, and not to me in person.

You'll have to deploy your service on all machines where you want to
use it. Say you have 3 machines and want to use your service on all
these three machines: You'll have to deploy your service on all these
3 machines.
Your service or your client must then be smart enough to distribute
the work across these 3 machines.

There is no grid-magic that frees you from that task.

Martin


jahn carlo arellano wrote:
> Hi! thanks again.
> 
> your're closer.
> 
> re:
> 1)  globus-job-run-ws, i don't know how does work.
> 
> 2) Why don't you just use your client to call your service?
> 
> i use my client to call the web service, exactly. but my web service
> just is deploy only in one machine. so my question is: what need to do,
> for distribute the work of the web service in more machines?
> 
> 
> 2010/3/25 Martin Feller <feller at mcs.anl.gov <mailto:feller at mcs.anl.gov>>
> 
>     Hi,
> 
>     I think I still don't fully understand the problem, so I might
>     shoot into the dark. But maybe that'll get us closer.
>     Let's see:
> 
>     1. globus-job-run-ws: I think I don't know that executable.
>       Where do you get that from in GT 4.2.1?
>     2. Gram4 does not provide generic clients to invoke arbitrary
>       services, it just provides a client to invoke the Gram4 services,
>       which let you submit and manage jobs to a local resource manager
>       like PBS, Condor, etc.
>       Why don't you just use your client to call your service?
>       And if your service is deployed on different machines: You can
>       use your client then to call your service on all machines where
>       it's deployed on.
> 
>     Martin
> 
>     P.S. Please always reply to the e-mail list.
> 
>     jahn carlo arellano wrote:
>     > Hi, thanks Martin for answer,
>     >
>     > I don't want to use globus-job-run-ws to deploy a web service in
>     > different containers.
>     >
>     > I explain:
>     >
>     > 1) i build a web service, using gsbt, this web service run
>     Mathematical
>     > routines.
>     > 2) i implement the web services and client, run fine. the client
>     receive
>     > the results, this web service run using one node with gt4.2.1
>     > 3) it is posible execute the web services over 2 or + nodes using
>     > gt4.2.1 with globus-job-run-ws command? if i want
>     > to distribute the process over 2 o 3 nodes, i don't need implement
>     a web
>     > services to do that? just a simple java program, (.class) and send
>     this
>     > to execute using  globus-job-run? meybe i need write a .rsl file (to
>     > define the job) ?
>     >
>     > thaks a lot.
>     >
>     > //
>     > 2010/3/25 Martin Feller <feller at mcs.anl.gov
>     <mailto:feller at mcs.anl.gov> <mailto:feller at mcs.anl.gov
>     <mailto:feller at mcs.anl.gov>>>
>     >
>     >     Hi,
>     >
>     >     I don't understand why you want to use globusrun-ws, or in general
>     >     gram4,
>     >     to deploy your service in different containers.
>     >     Can you explain that a bit further?
>     >
>     >     Martin
>     >
>     >
>     >     jahn carlo arellano wrote:
>     >     > Regards, i am starter with submiting jobs in GRAM4.
>     >     >
>     >     > i program a java web services and the client, but just run
>     in one (1)
>     >     > node , i have to machines to make tests.  what i need to
>     start read or
>     >     > implement or test if i want to execute te web service in
>     both nodes.
>     >     >
>     >     > is posible make that a grid archive (.gar file with my web
>     >     service) can
>     >     > be  run in various nodes ( 2+ nodes) using the globus-run-ws
>     command?
>     >     >
>     >     > or with globus-run-ws i just need to use the .class files of the
>     >     my web
>     >     > services?  my intention is distribute the computational load
>     into the
>     >     > both nodes.
>     >     >
>     >     >   excuse me everybody if i asking crazy things in this
>     mailing list ..
>     >     > thanks a lot.
>     >     >
>     >     > --
>     >     > Jahn C. Arellano
>     >     > Linux registered user  #447684 http://counter.li.org/
>     >
>     >
>     >
>     >
>     > --
>     > Jahn C. Arellano
>     > Linux registered user  #447684 http://counter.li.org/
> 
> 
> 
> 
> -- 
> Jahn C. Arellano
> Linux registered user  #447684 http://counter.li.org/



More information about the gram-user mailing list