GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



next up previous contents
Next: Reserve a Resource Using Up: Resource Management Previous: Find Resources   Contents

Reserve a Resource Using a ResourceDescription

In addition to simply finding resources one can also reserve resources. This process is similar to the process of finding a resource. One first creates a ResourceBroker then one creates a ResourceDescription describing the resources one wishes to reserve. Next one must specify the time period one wishes to reserve the resource. This is accomplished by creating a Time instance, which indicates when the reservation is to start, and a TimePeriod instance, which indicates how long the reservation is to last. Finally, one passes the ResourceDescription, Time, and TimePeriod to the ResourceBroker. Upon obtaining all of this information the ResourceBroker marshals all of its minions to scour the ``Grid'' for a resource which fits the bill. The user is completely unaware of the machinations which are going on behind the curtain, as it should be. They just get the results, a reservation, and go on their happy way.


next up previous contents
Next: Reserve a Resource Using Up: Resource Management Previous: Find Resources   Contents
Andre Merzky 2004-05-13