Last modified: Tue Feb 5 17:31:14 GMT 2008
Nick West
Return to home page
When the RB allocates a job to a CE, it sends along with it a
BrokerInfo file that contains information about the job, for example
the name of the CE, the files specified in the InputData attribute,
the SEs where they can be found, etc. This information can be
accessed by the user job using the glite-brokerinfo command.
The BrokerInfo file is created in the job working directory (that is,
the current directory on the WN for the executable) and is named
.BrokerInfo.
NOTE: There will be no BrokerInfo file if the job is submitted with
Job Submission (glite-wms-job-submit)
and the -r option specified.
The glite-brokerinfo command has the following syntax:
glite-brokerinfo [-v] [-f ] function [parameter] [parameter]
where function is one of the following:
- getCE: returns the name of the CE where the job is running
- getDataAccessProtocol: returns the protocol list specified in the DataAccessProtocol JDL attribute
- getInputData: returns the file list specified in the InputData JDL attribute
- getSEs: returns the list of the SEs with contain a copy of at least one file among those specified in InputData
- getCloseSEs: returns a list of the SEs close to the CE where the job is running
- getSEMountPoint <SE>: returns the access point for the specified close SE
- getSEFreeSpace <SE>: returns the free space on the SE
- getLFN2SFN <LFN>: returns the SURL of the specified LFN, listed in the InputData attribute
- getSEProtocols <SE>: returns the list of the protocols available to transfer data in the specified SE
- getSEPort <SE> <Protocol>: returns the port number used by the SE for the specified data transfer protocol
- getVirtualOrganisation: returns the name of the VO specified in the JDL
For more information, type
glite-brokerinfo --help
The equivalent function for the EDG middleware is edg-brokerinfo
This section has been plundered from
@
gLite 3 User Guide / 6.3.5 The BrokerInfo
Return to home page