The Major Components of the GRAM Architecture Master Host Environment and User Host Environment This concept enables the separation of functionalities and provides an improved abstraction on the functions supported by each environment. The master host is responsible for providing information on aggregated resource state/status, and to manage its user hosts start and launch services. This is the direct point of contact for the client. The user host environment (UHE) provides specific abstraction capabilities and securities to execute a job. All the jobs are executed in the UHE. Master Managed Job Factory Service This factory is always available and responsible for receiving the client request on aggregated resource queries and subscriptions. This factory manages the aggregated service data through aggregation providers for resource status, and notifications from resources. Virtual Host Redirect Handler This is the core component responsible for redirecting all of the calls to the UHE. These calls include creation of the job and invoking job operations on the created job service. Starter UHE /Launch UHE On a client request to execute a job, the virtual hosting engine directs the calls to the starter. This Java class is responsible for security mapping, user validation, and for ensuring that the job is executing so that the virtual host can redirect the calls to the executing job service. If the user host is not up and running, then it uses the help of the Launch UHE Java class to start that host under the user's credentials. Managed Job Factory Service/Managed Job Service The MJF service exposes a CreateService method, which accepts an RSL-specified job. The MJF then creates a managed job instance for the user. It acts as a local scheduler, monitoring its status and sending notifications. In addition to this, the MJS will start two file streaming factory services; one for the job's stdout , and the other for the job's stderr. File Stream Factory Service/File Stream Service These are helpful services to manage the data needed for the job execution. The factory service creates two file stream services: stdout and stderr. Each of these services has two service data results: the URL for the stream destination, and a flag to indicate the activity. Grid Resource Identity Mapper ( GRIM ) The GRIM service is executing in the UHE to create a user host certificate. The user host certificate is utilized for mutual authentication between the MJS service and the client. Resource Information Provider Service ( RIPS ) A specialized notification service providing data about a scheduling system, file system, host, etc. |