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

[Condor-users] Querying Condor_Collector through webservice.. to get Schedd and Negotiator IPs



Hi

  I need to Know how many Schedd and Submitter are in the pool and I
required their corresponding IPs and Ports.
  while Querying Condor_Collector through web service For the Particular
constraint is not giving any Output.In Collector Log It is saying 0
response to the Query. 

CondorCollectorPortType port;

port.queryAnyAds("MyType == \"Submitter\"")
port.queryAnyAds("MyType == \"Negotiator\"")
port.queryAnyAds("TargetType == \"Job\"");
port.queryScheddAds("MyType == \"Scheduler\"")

but the following query code is Working fine it is correctly fetching
data from Collector (boolean related values working fine with collector)

port.queryScheddAds("HasSOAPInterface == TRUE")
port.queryAnyAds("Start == TRUE");

I have verified with command line.

CondorScheddPortType schedd;

schedd.getJobAds(null,"MyType == \"Job\"")

this query code is working fine and I am able to get all the outputs

Why the collector is not giving any data for that constraints.Please
help me out in this

thanks by
Johnson




Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com