Development of Unicore Web Services

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all!


I need to create a custom Unicore Web Service to integrate my application
into Unicore middleware. But it turned out that it's rather a hard
task to develop Unicore Web Services, mostly because of the lack
of documentation :-(

Can anybody please give me some links on manuals covering how to
build, deploy and use custom Unicore Web Services?

Thank you.


--
Best regards,
Pervin Artem
software engineer developer
mailto:ArtemPervin@...


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

agreed, documentation is a bit sparse. Luckily, developing web
services for UNICORE is rather easy :-)

As you may know, UNICORE 6 uses a WSRF/Web services toolkit called
WSRFlite, which uses annotations to define web services, and does
not require WSDL and WSDL-to-Java tools.
So the first step would be to get familiar with writing web services
in WSRFlite.

The basic programming procedure is outlined here:
<http://www.unicore.eu/documentation/manuals/unicore6/wsrflite/tutorial.html>

The standalone WSRFlite distribution available from
<http://sourceforge.net/project/showfiles.php?group_id=102081&package_id=202881>
includes example web and WSRF services (in the doc/example folder
after unpacking).

Recently, people from HLRS Stuttgart also wrote a little "getting started" guide:
<http://www.hlrs.de/people/kuebert/unicore/my-first-wsrflite-service.html>


Once you want to integrate your services into a UNICORE environment including
security, or access to UNICORE features, you should have a close look at the
UNICORE sourcecode, especially the UNICORE/X "uas-core" component, which
contains the WS(RF)services. Check this document for info on UNICORE components and
the location of source code:
<http://www.unicore.eu/documentation/manuals/unicore6/unicorex/programmer/getstarted.html>



Best regards,
Bernd.




Artem Y. Pervin wrote:
>
> I need to create a custom Unicore Web Service to integrate my application
> into Unicore middleware. But it turned out that it's rather a hard
> task to develop Unicore Web Services, mostly because of the lack
> of documentation :-(
>
> Can anybody please give me some links on manuals covering how to
> build, deploy and use custom Unicore Web Services?
>

--
Dr. Bernd Schuller                     |  mail:  b.schuller@...
                                        |  phone: +49 2461 61-8736 (fax: -6656)
Distributed Systems and Grid Computing |  personal blog:
Juelich Supercomputing Centre          |  http://www.jroller.com/page/gridhaus
http://www.fz-juelich.de/jsc           |


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Bernd.

--
Best regards,
Artem Pervin


> Hi,

> agreed, documentation is a bit sparse. Luckily, developing web
> services for UNICORE is rather easy :-)

> As you may know, UNICORE 6 uses a WSRF/Web services toolkit called
> WSRFlite, which uses annotations to define web services, and does
> not require WSDL and WSDL-to-Java tools.
> So the first step would be to get familiar with writing web services
> in WSRFlite.

> The basic programming procedure is outlined here:
> <http://www.unicore.eu/documentation/manuals/unicore6/wsrflite/tutorial.html>

> The standalone WSRFlite distribution available from
> <http://sourceforge.net/project/showfiles.php?group_id=102081&package_id=202881>
> includes example web and WSRF services (in the doc/example folder
> after unpacking).

> Recently, people from HLRS Stuttgart also wrote a little "getting started" guide:
> <http://www.hlrs.de/people/kuebert/unicore/my-first-wsrflite-service.html>


> Once you want to integrate your services into a UNICORE environment including
> security, or access to UNICORE features, you should have a close look at the
> UNICORE sourcecode, especially the UNICORE/X "uas-core" component, which
> contains the WS(RF)services. Check this document for info on UNICORE components and
> the location of source code:
> <http://www.unicore.eu/documentation/manuals/unicore6/unicorex/programmer/getstarted.html>



> Best regards,
> Bernd.





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all!


I have successfully compiled and started a custom web-service using
the "getting started" guide that Bernd mentioned. How can I put this
service into the Unicore and access it using standard Unicore clients?
Is there a corresponding step-by-step tutorial somewhere?




--
Best regards,
Artem Pervin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

the first part is easy.
1) Place the jar files that make up your service in the unicorex/lib folder.
2) Add the service configuration into unicorex/conf/wsrflite.xml

The client part is a bit more tricky. Of course, you'll have to extend
the UNICORE clients to have them provide access to your custom service.
The simplest standard client is the commandline client UCC, which is very
easy to extend with custom commands. The graphical clients are more complex,
but can of course be extended as well.

Unfortunately there is no detailed tutorial for this yet, but for all
the possible cases there are examples available. Maybe you can narrow
down the choice, so it is simpler to give advice.

Regards,
Bernd.

Artem Y. Pervin wrote:

> Dear all!
>
>
> I have successfully compiled and started a custom web-service using
> the "getting started" guide that Bernd mentioned. How can I put this
> service into the Unicore and access it using standard Unicore clients?
> Is there a corresponding step-by-step tutorial somewhere?
>
>
>
>
> --
> Best regards,
> Artem Pervin
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Unicore-support mailing list
> Unicore-support@...
> https://lists.sourceforge.net/lists/listinfo/unicore-support
>

--
Dr. Bernd Schuller                     |  mail:  b.schuller@...
                                        |  phone: +49 2461 61-8736 (fax: -6656)
Distributed Systems and Grid Computing |  personal blog:
Juelich Supercomputing Centre          |  http://www.jroller.com/page/gridhaus
http://www.fz-juelich.de/jsc           |


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Parent Message unknown Re: Development of Unicore Web Services

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

----- Original Message -----
From: "Artem Y. Pervin" <artempervin@...>
Date: Wednesday, May 21, 2008 3:49 pm
Subject: Re: [Unicore-support] Development of Unicore Web Services

> I have successfully compiled and started a custom web-service using
> the "getting started" guide that Bernd mentioned. How can I put this
> service into the Unicore and access it using standard Unicore clients?
> Is there a corresponding step-by-step tutorial somewhere?

To deploy your custom services into a UNICORE server, you need to put your jar files into the uncorex/lib folder, and add service declarations into unicorex/conf/wsrflite.xml
After restart of UNICORE/X your service will be up.

To access it from standard UNICORE clients, you need to extend the clients, of course. This can be simple (in the case of the commandine client) or harder, in case of the GUI clients.

For all these cases there are examples freely available, but no detailed tutorial.
Maybe you can limit the client choice? This would make it easier to give advice or point you to example code.

Regards,
Bernd.







-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi, Bernd!

Thank you for your help!
I will be completely happy with UCC client.
In fact I'll be satisfied with the most simpliest implementation of a client, as long as it compatible with Unicore (including authentication issues and other basic services).

Best regards,
Artem

2008/5/21, Bernd Schuller <b.schuller@...>:
Hi,

the first part is easy.
1) Place the jar files that make up your service in the unicorex/lib folder.
2) Add the service configuration into unicorex/conf/wsrflite.xml

The client part is a bit more tricky. Of course, you'll have to extend
the UNICORE clients to have them provide access to your custom service.
The simplest standard client is the commandline client UCC, which is very
easy to extend with custom commands. The graphical clients are more complex,
but can of course be extended as well.

Unfortunately there is no detailed tutorial for this yet, but for all
the possible cases there are examples available. Maybe you can narrow
down the choice, so it is simpler to give advice.

Regards,
Bernd.

Artem Y. Pervin wrote:
Dear all!


I have successfully compiled and started a custom web-service using
the "getting started" guide that Bernd mentioned. How can I put this
service into the Unicore and access it using standard Unicore clients?
Is there a corresponding step-by-step tutorial somewhere?




--
Best regards,
Artem Pervin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support


--
Dr. Bernd Schuller                     |  mail:  b.schuller@...
                                      |  phone: +49 2461 61-8736 (fax: -6656)
Distributed Systems and Grid Computing |  personal blog:
Juelich Supercomputing Centre          |  http://www.jroller.com/page/gridhaus
http://www.fz-juelich.de/jsc           |


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------



--
С уважением,
Первин Артем
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Re[2]: [Unicore-support] Development of Unicore Web Services

Dear Bearn!



I've studied the docs on UCC and created a simple job. It uses only basic syntax of "Executable" and "Arguments" to launch a perl script (which surely can be an entry point for my application).

It works exactly as one could expect, but the simplicity of this solution makes me thing that I'm doing something wrong. 

If the execution of custom applications is so easy, then why one should bother with WSRF at all? Why he should implement services and define it's configuration if he can simply invoke the executable using UCC?


Best regards,

Artem.



>

Hi, Bernd!


Thank you for your help!

I will be completely happy with UCC client. 

In fact I'll be satisfied with the most simpliest implementation of a client, as long as it compatible with Unicore (including authentication issues and other basic services). 


Best regards,

Artem








-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Artem,

Artem Y. Pervin wrote:
>
> I've studied the docs on UCC and created a simple job. It uses only
> basic syntax of "Executable" and "Arguments" to launch a perl script
> (which surely can be an entry point for my application).
>
> It works exactly as one could expect, but the simplicity of this
> solution makes me thing that I'm doing something wrong.

:-)

> If the execution of custom applications is so easy, then why one should
> bother with WSRF at all? Why he should implement services and define
> it's configuration if he can simply invoke the executable using UCC?

Exactly. If you just want to execute an application, there is no need
at all to write your own web services. UNICORE already provides execution,
file transfer, and other basic services.

You only need to write your own web services if the basic functionality is
not enough.

Best regards,
Bernd.

--
Dr. Bernd Schuller                     |  mail:  b.schuller@...
                                        |  phone: +49 2461 61-8736 (fax: -6656)
Distributed Systems and Grid Computing |  personal blog:
Juelich Supercomputing Centre          |  http://www.jroller.com/page/gridhaus
http://www.fz-juelich.de/jsc           |


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> If the execution of custom applications is so easy, then why one should
>> bother with WSRF at all? Why he should implement services and define
>> it's configuration if he can simply invoke the executable using UCC?

> Exactly. If you just want to execute an application, there is no need
> at all to write your own web services. UNICORE already provides execution,
> file transfer, and other basic services.

> You only need to write your own web services if the basic functionality is
> not enough.

Hm... Interesting. Then could you please specify a sample scenario when the basic
functionality won't be enough? Just to make this thing crystal clear.

Artem.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Artem Y. Pervin wrote:

>>> If the execution of custom applications is so easy, then why one should
>>> bother with WSRF at all? Why he should implement services and define
>>> it's configuration if he can simply invoke the executable using UCC?
>
>> Exactly. If you just want to execute an application, there is no need
>> at all to write your own web services. UNICORE already provides execution,
>> file transfer, and other basic services.
>
>> You only need to write your own web services if the basic functionality is
>> not enough.
>
> Hm... Interesting. Then could you please specify a sample scenario when the basic
> functionality won't be enough?

For example, UNICORE has no built-in support for GridFTP. So if for some
reason you need GridFTP support, you'll need to write some extension code.

Maybe we try it differently: is there something specific you need or want
to do with UNICORE?


Regards,
Bernd.

--
Dr. Bernd Schuller                     |  mail:  b.schuller@...
                                        |  phone: +49 2461 61-8736 (fax: -6656)
Distributed Systems and Grid Computing |  personal blog:
Juelich Supercomputing Centre          |  http://www.jroller.com/page/gridhaus
http://www.fz-juelich.de/jsc           |


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear Bernd!


How is it going? I hope everything's well.
I'm sorry I didn't respond on your question. I think I don't have any
specific requirements for that use case. I would like to ask another question if you don't mind.

Is it possible to query the Unicore on the forecasted time the
queued job will be started? Consider the following use case. Suppose I
have some server (a web-server for instance) and I want my users to be
able to start it from the Unicore. Users submit a job with the help of
a gridbean for instance, and then, when it gets to the TSI the job
becomes "QUEUED". Let's suppose that resource management
system have an API to get the estimated time of the job' start.
How could I expose this value to my users? I think I could alter something
in the TSI in order to show this estimation time in the properties of QUEUED
job. What do you think about it? Is it possible? Maybe there are some alternatives to do
this?

I'm sorry if I'm expressing myself vaguely. I'm trying my best.


2008/5/23, Bernd Schuller <b.schuller@...>:
Hi,


Artem Y. Pervin wrote:
If the execution of custom applications is so easy, then why one should
bother with WSRF at all? Why he should implement services and define it's configuration if he can simply invoke the executable using UCC?

Exactly. If you just want to execute an application, there is no need
at all to write your own web services. UNICORE already provides execution,
file transfer, and other basic services.

You only need to write your own web services if the basic functionality is
not enough.

Hm... Interesting. Then could you please specify a sample scenario when the basic
functionality won't be enough?

For example, UNICORE has no built-in support for GridFTP. So if for some
reason you need GridFTP support, you'll need to write some extension code.

Maybe we try it differently: is there something specific you need or want
to do with UNICORE?



Regards,
Bernd.

--
Dr. Bernd Schuller                     |  mail:  b.schuller@...
                                      |  phone: +49 2461 61-8736 (fax: -6656)
Distributed Systems and Grid Computing |  personal blog:
Juelich Supercomputing Centre          |  http://www.jroller.com/page/gridhaus
http://www.fz-juelich.de/jsc           |


-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich

Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------



--
Best regards.
Artem Pervin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Parent Message unknown Re: Development of Unicore Web Services

by Bernd Schuller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

right now there is no built-in possibility to query the
start time of queued jobs -- not many batch support this,
actually I know only one: OpenCCS from Paderborn
https://www.openccs.eu

It might be a good feature to add to UNICORE.

As workaround, you could use a special application to query the estimated start time. The people from Paderborn have done this
for their Gaussian GridBean,
http://sourceforge.net/project/showfiles.php?group_id=102081&package_id=276123

Best regards,
Bernd.

----- Original Message -----
From: "Artem Y. Pervin" <artempervin@...>
Date: Friday, May 30, 2008 11:34 pm
Subject: Re: [Unicore-support] Development of Unicore Web Services

>
> Is it possible to query the Unicore on the forecasted time the
> queued job will be started? Consider the following use case.
> Suppose I
> have some server (a web-server for instance) and I want my users to be
> able to start it from the Unicore. Users submit a job with the help of
> a gridbean for instance, and then, when it gets to the TSI the job
> becomes "QUEUED". Let's suppose that resource management
> system have an API to get the estimated time of the job' start.
> How could I expose this value to my users? I think I could alter
> somethingin the TSI in order to show this estimation time in the
> properties of QUEUED
> job. What do you think about it? Is it possible? Maybe there are some
> alternatives to do
> this?
>



-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks!
This is exactly what I was looking for.

Artem.

> Hi,

> right now there is no built-in possibility to query the
> start time of queued jobs -- not many batch support this,
> actually I know only one: OpenCCS from Paderborn
> https://www.openccs.eu

> It might be a good feature to add to UNICORE.

> As workaround, you could use a special application to query the
> estimated start time. The people from Paderborn have done this
> for their Gaussian GridBean,
> http://sourceforge.net/project/showfiles.php?group_id=102081&package_id=276123

> Best regards,
> Bernd.

> ----- Original Message -----
> From: "Artem Y. Pervin" <artempervin@...>
> Date: Friday, May 30, 2008 11:34 pm
> Subject: Re: [Unicore-support] Development of Unicore Web Services

>>
>> Is it possible to query the Unicore on the forecasted time the
>> queued job will be started? Consider the following use case.
>> Suppose I
>> have some server (a web-server for instance) and I want my users to be
>> able to start it from the Unicore. Users submit a job with the help of
>> a gridbean for instance, and then, when it gets to the TSI the job
>> becomes "QUEUED". Let's suppose that resource management
>> system have an API to get the estimated time of the job' start.
>> How could I expose this value to my users? I think I could alter
>> somethingin the TSI in order to show this estimation time in the
>> properties of QUEUED
>> job. What do you think about it? Is it possible? Maybe there are some
>> alternatives to do
>> this?
>>



> -------------------------------------------------------------------
> -------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich

> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
> Dr. Sebastian M. Schmidt
> -------------------------------------------------------------------
> -------------------------------------------------------------------




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Unicore-support mailing list
Unicore-support@...
https://lists.sourceforge.net/lists/listinfo/unicore-support

Re: Development of Unicore Web Services

by Artem Y. Pervin-2 :: Rate this Message: