[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Permission Denied when get info about jobs via SOAP API



condor_q -global gets a list of Schedds from the Collector and contacts each in turn asking for the contents of their queue. You'll have to do the same thing.

Best,


matt

Nguyen Chi Hiep wrote:
Dear Matthew
Thank for your help.
I want to get all of jobs in the pool (like condor_q -global -run) via SOAP
(I also use gSOAP). But I can not input parameter -global or -run in the
soap call function getJobAds. Can you help me?
Thanks
On Mon, May 12, 2008 at 8:52 PM, Matthew Farrellee <mfarrellee@xxxxxxxxxx>
wrote:

You can look at the RemoteHost attribute on the job. To get the IP, you
may have to cross reference with the machine ad in the Collector.

e.g.: via the CLI, condor_q == getJobAds on Schedd and condor_status ==
queryStartdAds on Collector

 $ condor_q -l 1 | grep RemoteHost
 slot16@xxxxxxxxxxxxxxxxxxxxxxxxx
 $ condor_status -const 'Name=?="slot16@xxxxxxxxxxxxxxxxxxxxxxxxx"' -l
| grep PublicNetworkIpAddr
 123.234.213.777



Best,


matt

Nguyen Chi Hiep wrote:
Dear
I have used SOAP API to get the information about the jobs in the pool.
Now
I want to get the IP of machine running this job.
Please give me some suggestions?
Thanks in advance.



------------------------------------------------------------------------

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/





------------------------------------------------------------------------

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/