From: Bernd S. <b.s...@fz...> - 2007-10-26 07:21:33
|
Dear all, here's yet another proposal for extending UNICORE 6. As you may know, the VIOLA and now the PHOSPHORUS projects are heavily using advance reservation functionality. With UNICORE 5 this worked quite well, and now the question is how to move to UNICORE 6. This makes it necessary to extend U6 to support advance reservation, similar to what was there in U5, and of course if possible more than that. So, modelling things along the lines of UNICORE 5, here is an outline of how reservation support could work in U6. I commited some first code as well, references to the code/XML schemas are given below. *** XNJS / Batch system level On the XNJS level, we have a reservation interface IReservation [1], which offers two functions to make and cancel a reservation: 1) String makeReservation(XmlObject resources, Calendar startTime, Client client) 2) cancelReservation(String reservationID, Client client) Implementations of this interface can be configured into the XNJS, one possible implementation could use the TSI to execute scheduler commands on the target system. Claiming the reservation works by adding the reservation reference in the JSDL resource description when submitting the job. *** Web services level An web service interface ResourceReservation allows to make a reservation using again JSDL resources and starting time [2,3]. The TargetSystem service implementation is extended [4] to additionally implement the ResourceReservation interface. The TSS (and TSF) gets a new resource property indicating whether reservation is supported. Reservations are WS-Resources [5], and can be cancelled using a simple WSRF destroy() call. What do you think? Are there any functions available with advanced batch systems that we need to support? For example, Maui seems to support modifying an existing reservation. Also I remember some LSF related emails mentioning reservation functionality. Any comments welcome! Best regards, Bernd. References [1] XNJS IReservation <http://unicore.svn.sourceforge.net/svnroot/unicore/xnjs/trunk/xnjs-module-core/src/main/java/de/fzj/unicore/xnjs/tsi/IReservation.java> [2] ResourceReservation web service <http://unicore.svn.sourceforge.net/svnroot/unicore/unicorex/uas-core/trunk/src/main/java/de/fzj/unicore/uas/ResourceReservation.java> [3] ResourceReservation schema <http://unicore.svn.sourceforge.net/svnroot/unicore/unicorex/uas-types/trunk/src/main/schema/ResourceReservation.xsd> [4] TSS implementation <http://unicore.svn.sourceforge.net/svnroot/unicore/unicorex/uas-core/trunk/src/main/java/de/fzj/unicore/uas/impl/tss/TargetSystemImpl.java> [5] Reservation WS-Resource implementation <http://unicore.svn.sourceforge.net/svnroot/unicore/unicorex/uas-core/trunk/src/main/java/de/fzj/unicore/uas/impl/reservation/ReservationManagementImpl.java> -- Dr. Bernd Schuller | mail: b.s...@fz... | 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: MinDirig'in Bärbel Brumme-Bothe Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender) ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- |