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

Re: [HTCondor-users] (no subject)



Hi,

I did not check this myself but it is on my todo list:

In HTCondor, a configuration prefix may indicate that a setting is specific to that daemon. By default, the Python bindingâs prefix is TOOL.

see:
https://htcondor-python.readthedocs.io/en/latest/interacting_with_daemons.html#configuration

So I guess

TOOL_CONDOR_HOSTetc.

should do the trick ?

Best
Christoph

--
Christoph Beyer
DESY Hamburg
IT-Department

Notkestr. 85
Building 02b, Room 009
22607 Hamburg

phone:+49-(0)40-8998-2317
mail: christoph.beyer@xxxxxxx


Von: "Htcondor user" <htcondor.user@xxxxxxxxx>
An: "htcondor-users" <htcondor-users@xxxxxxxxxxx>
Gesendet: Mittwoch, 4. Dezember 2019 06:31:20
Betreff: [HTCondor-users] (no subject)

Hi All,
Just a week back i started learning htcondor. My questions may be silly / very basic level sorry for that.

I installed a Htcondor on my windows machine, i want to make my windows machine as a "Central Manger"
 
From my linux VM, using python bindings i want to "submit"  jobs on my windows "central manger"

I have  2 problems:
1) I  wrote 
coll = htcondor.Collector("10.70.29.170")
schedd_ad = coll.locate(htcondor.DaemonTypes.Schedd)
schedd = htcondor.Schedd(schedd_ad)

while creating collector object i directly passed my windows ip address to access collector daemon, it worked.

I want Same functionality (access collector, schedd daemon in linux vm) through condor_config file: I tried to write condor_config file as below:
CONDOR_HOST = 
COLLECTOR_HOST= windows ip
DAEMON_LIST = MASTER, STARTD, SCHEDD
LOCAL_DIR = C:\condor  

but this did not work. can any one help me with condor_config file. what setup i am missing?

2) 
coll = htcondor.Collector("10.70.29.170")
schedd_ad = coll.locate(htcondor.DaemonTypes.Schedd)
schedd = htcondor.Schedd(schedd_ad)
print (schedd)

Output<htcondor.htcondor.Schedd object at 0x7f52781c5e68>
 
now collector, schedd daemon's are running in my linux vm. but, when i do:

sub = htcondor.Submit({"executable": "/bin/sleep", "arguments": "5m"})
with schedd.transaction() as txn:
   print(sub.queue(txn)) 

I can see a error:  RuntimeError: Failed to connect to schedd.         

Do i need to make any other configuration to connect to schedd? 


Thanks in advance.

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

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