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

Re: [HTCondor-users] Arguments to condor_submit



Each daemon (collector, negotiator, schedd, startd, etc.) is described with a ClassAd, which has ClassAd attributes (Name, Machine, MyType, etc.), and which is stored by the collector. So for the schedd name, you want to provide the value of the Name attribute in the Schedd ClassAd for the schedd you want to submit to. PerÂhttp://research.cs.wisc.edu/htcondor/manual/current/12_Appendix_A.html the Name is usually the machine name (which is usually the hostname) but if you want to be sure, you can use the condor_status tool or the python bindings:

# query all schedd classads in the collector for the Name attribute
[jpatton@condor-el7 ~]$ condor_status -schedd -af Name
condor-el7.test

>>> coll = htcondor.Collector()
>>> coll.query(htcondor.AdTypes.Schedd, projection=['Name'])
[[ Name = "condor-el7.test" ]]


pool name is better described in the condor_status man page (probably because it's more commonly used with condor_status):
   Â-pool centralmanagerhostname[:portnumber]

     (Query option) Query the specified central manager using an optional port
     number. Âcondor_status queries the machine specified by the configuration
     variable COLLECTOR_HOST by default.

The hostname or ip where your collector lives, with the port if it's not using the default. For example, if you needed to query a remote collector for schedds:
[jpatton@condor-el7 ~]$ condor_status -pool 192.168.100.103 -schedd -af NameÂ
condor-el7.test


Jason Patton

On Thu, Dec 21, 2017 at 4:58 AM, Larry Martell <larry.martell@xxxxxxxxx> wrote:

The docs forÂcondor_submitÂgive this syntax:

condor_submit -remote <schedd name> -pool <collector name> submit_file

-remote schedd_name
Submit to the specified condor_schedd, spooling all required input files over the network connection. schedd_name is the value of the Name ClassAd attribute on the machine where the condor_schedd daemon runs. This option is equivalent to using both -name and -spool. 
-pool pool_name
Look in the specified pool for the condor_schedd to submit to. This option is used with -name or -remote. 

What specifically do I pass in forÂ<schedd name>ÂandÂ<collector name>?

Sorry if this is a very basic question, but I am new to condor and I have googled and googled and have not found the answer to this.


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@cs.wisc.edu 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/