Hello Praveenesh
As suggested earlier, you can query the Grid using MDS. It would be a
very nice idea to read about all the executables in the bin directory of
your Globus installation, there are many useful tools that you will need
at times.
For automatic querying of the gird, Look at my GridInvestigator Code,
You just have to replace the hostname and port for you MDS server.
This you have to find out your self.
kind regards.
Malik
praveenesh kumar wrote:
Hello everyone,
I have set up grid between 3 systems,
My systems are named as gridsys1.xyz.com <http://gridsys1.xyz.com/>,
gridsys2.xyz.com <http://gridsys2.xyz.com/>, gridsys3.xyz.com
<http://gridsys3.xyz.com/>
My CA is gridsy1.xyz.com <http://gridsy1.xyz.com/>
My other 2 systems are configured well properly. I can run gridftp and
globusrun-ws commands well.
File staging is also done correctly.
I want to make a program to get the available number of resources and
their system information.
It will tell me what are the available nodes in the grid and whether
they are up or down... so that the user can choose the appropriate
node to submit jobs.
Can you suggest me some idea on how to do that.
I have made the program to submit jobs on grid nodes. but now I want
to get the information about the available number of grid nodes.
Can you give me some codes.. or some samples.or any suggestions..
Thank you,
Praveenesh